[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: utils: Remove compatibility re-export of 'memoize'.
From: |
guix-commits |
Subject: |
02/09: utils: Remove compatibility re-export of 'memoize'. |
Date: |
Sat, 25 Jul 2020 13:13:53 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 6a79eed920fd4914b162461553a8d7e8f5eee324
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jul 24 23:10:32 2020 +0200
utils: Remove compatibility re-export of 'memoize'.
The 'memoize' binding was re-exported in 2016, commit
19e1d5f7f90194f1ac7e783b28a688ce1441786d, as a backwards-compatibility
measure that makes little sense now.
* guix/utils.scm: Don't re-export 'memoize'.
* guix/import/pypi.scm: Adjust imports.
* tests/pypi.scm: Remove duplicate (guix memoization) import.
---
guix/import/pypi.scm | 4 +++-
guix/utils.scm | 4 +---
tests/pypi.scm | 1 -
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index a2b5d99..a4a2489 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -34,8 +34,10 @@
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-34)
#:use-module (srfi srfi-35)
- #:use-module (guix ui)
#:use-module (guix utils)
+ #:use-module (guix memoization)
+ #:use-module (guix diagnostics)
+ #:use-module (guix i18n)
#:use-module ((guix build utils)
#:select ((package-name->name+version
. hyphen-package-name->name+version)
diff --git a/guix/utils.scm b/guix/utils.scm
index 64894ec..8198204 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -44,9 +44,7 @@
#:use-module (ice-9 format)
#:use-module ((ice-9 iconv) #:prefix iconv:)
#:use-module (system foreign)
- #:re-export (memoize ;for backwards compatibility
-
- <location>
+ #:re-export (<location> ;for backwards compatibility
location
location?
location-file
diff --git a/tests/pypi.scm b/tests/pypi.scm
index 6788c8d..f421d6d 100644
--- a/tests/pypi.scm
+++ b/tests/pypi.scm
@@ -23,7 +23,6 @@
#:use-module (guix base32)
#:use-module (guix memoization)
#:use-module (gcrypt hash)
- #:use-module (guix memoization)
#:use-module (guix tests)
#:use-module (guix build-system python)
#:use-module ((guix build utils) #:select (delete-file-recursively which
mkdir-p))
- branch master updated (07dbdbd -> 9a63227), guix-commits, 2020/07/25
- 02/09: utils: Remove compatibility re-export of 'memoize'.,
guix-commits <=
- 03/09: utils: Move '&fix-hint' to (guix diagnostics)., guix-commits, 2020/07/25
- 01/09: utils: Move <location> and '&error-location' to (guix diagnostics)., guix-commits, 2020/07/25
- 05/09: ui: Factorize '&message' handling., guix-commits, 2020/07/25
- 06/09: diagnostics: Add a procedural variant of diagnostic procedures., guix-commits, 2020/07/25
- 04/09: file-systems: Convey hint via '&fix-hint'., guix-commits, 2020/07/25
- 07/09: diagnostics: Add '&formatted-message'., guix-commits, 2020/07/25
- 08/09: Use 'formatted-message' instead of '&message' where appropriate., guix-commits, 2020/07/25
- 09/09: guix system: Report file system errors using 'report-error'., guix-commits, 2020/07/25