summaryrefslogtreecommitdiff
path: root/gnu/packages/xml.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/xml.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/xml.scm')
-rw-r--r--gnu/packages/xml.scm1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index c0935f7cea6..e72e2245a22 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -89,7 +89,6 @@
89 #:use-module (guix build-system gnu) 89 #:use-module (guix build-system gnu)
90 #:use-module (guix build-system meson) 90 #:use-module (guix build-system meson)
91 #:use-module (guix build-system perl) 91 #:use-module (guix build-system perl)
92 #:use-module (guix build-system python)
93 #:use-module (guix build-system pyproject) 92 #:use-module (guix build-system pyproject)
94 #:use-module (guix deprecation) 93 #:use-module (guix deprecation)
95 #:use-module (guix utils) 94 #:use-module (guix utils)