summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-03-24 13:13:39 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-24 10:14:45 +0100
commit803e96bf55b9539c9b805b6709cdbfb32b164c27 (patch)
tree60fe2f1dbe132e416eb7866384b77f6f0cd77900 /gnu/packages/python-crypto.scm
parent8b91d18c5a1d8da267fee04a3ee15863fa9874a9 (diff)
guix: build-system: Set pypi-uri in pyproject, drop python module.
After this commit, when both modules are imported: - if pyproject is imported before, the warning is 'pypi-uri' is deprecated, use '(@ (guix build-system pyproject) pypi-uri)' instead - if python is imported before, the warning is `pypi-uri' imported from both (guix build-system python) and (guix build-system pyproject) This seems convenient enough to warn for deprecation in the short term, while avoiding any breaking changes. * guix/build-system/pyproject.scm (pypi-uri): Move the procedure from (guix build-system python) here. * guix/build-system/python (pypi-uri): Drop definition, import it from (guix build-system pyproject) and deprecate it. * gnu/packages/openldap.scm: Reorder modules to get the right warning. * gnu/packages/pypy.scm: Likewise. * gnu/packages/*.scm : Drop module (guix build-system python). * tests/import/pypi.scm: Likewise. Merges: https://codeberg.org/guix/guix/pulls/7448 Change-Id: Ib42f53bc545052eb7918a25afe9db6d5fc2cb834 Reviewed-by: Nguyễn Gia Phong <cnx@loang.net> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 888c1aaf9ef..6fcbf6c0f13 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -58,7 +58,6 @@
58 #:use-module (guix git-download) 58 #:use-module (guix git-download)
59 #:use-module (guix build-system cargo) 59 #:use-module (guix build-system cargo)
60 #:use-module (guix build-system pyproject) 60 #:use-module (guix build-system pyproject)
61 #:use-module (guix build-system python)
62 #:use-module (guix utils) 61 #:use-module (guix utils)
63 #:use-module (gnu packages) 62 #:use-module (gnu packages)
64 #:use-module (gnu packages nss) 63 #:use-module (gnu packages nss)