utils: Remove compatibility re-export of 'memoize'.

The 'memoize' binding was re-exported in 2016, commit
19e1d5f7f9, 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.
This commit is contained in:
Ludovic Courtès 2020-07-24 23:10:32 +02:00
parent a5e2fc7376
commit 6a79eed920
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 4 additions and 5 deletions

View file

@ -34,8 +34,10 @@ (define-module (guix import pypi)
#: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)

View file

@ -44,9 +44,7 @@ (define-module (guix utils)
#: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

View file

@ -23,7 +23,6 @@ (define-module (test-pypi)
#: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))