summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.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-xyz.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-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 27010f69c33..6fdcbd4c7a0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -318,7 +318,6 @@
318 #:use-module (guix build-system gnu) 318 #:use-module (guix build-system gnu)
319 #:use-module (guix build-system meson) 319 #:use-module (guix build-system meson)
320 #:use-module (guix build-system pyproject) 320 #:use-module (guix build-system pyproject)
321 #:use-module (guix build-system python)
322 #:use-module (guix deprecation) 321 #:use-module (guix deprecation)
323 #:use-module (guix download) 322 #:use-module (guix download)
324 #:use-module (guix gexp) 323 #:use-module (guix gexp)