Commit graph

86 commits

Author SHA1 Message Date
Ricardo Wurmus
1538164f25
gnu: python-pdm-backend: Update to 2.4.3.
* gnu/packages/python-build.scm (python-pdm-backend): Update to 2.4.3.

Change-Id: If022f4e85ce7434167cd2eec485ba56e882e4543
2025-01-20 21:37:34 +01:00
Ricardo Wurmus
6076135cba
gnu: python-typing-extensions: Update to 4.12.2.
* gnu/packages/python-build.scm (python-typing-extensions): Update to 4.12.2.

Change-Id: I410ec4c8ed29624638476964c9f7a28f894e9fc8
2025-01-20 21:37:23 +01:00
Efraim Flashner
00b86f5817
gnu: python-setuptools-scm-next: Fix build.
* gnu/packages/python-build.scm (python-setuptools-scm-next)
[native-inputs]: Add python-wheel.

Change-Id: Ib5ba510b67f652119f20b0e5a601cc7082716427
2024-12-14 21:32:56 +02:00
Antero Mejr
3a0acc79cf
gnu: python-poetry-core: Update to 1.9.1.
* gnu/packages/python-build.scm (python-poetry-core): Update to 1.9.1.

Change-Id: Ic65feaa1efbd10368a715fbea1a974355d6fc96f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:37 +00:00
Antero Mejr
ec9381fbe7
gnu: Add python-installer.
* gnu/packages/python-xyz.scm (python-installer): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
d69afe6702
gnu: python-hatchling: Update to 1.26.1.
* gnu/packages/python-build.scm (python-hatchling): Update to 1.26.1.

Change-Id: I6fccff39fdb10f209017e8d9709b8c39baefb914
2024-12-13 20:23:22 +00:00
Sharlatan Hellseher
e3b89041bf
gnu: python-editables: Update to 0.5.
* gnu/packages/python-build.scm (python-editables): Update to 0.5.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Disable to avoid any cycles with python-pytest.
[native-inputs]: Add python-flit-core.

Change-Id: I2f7d6d70541f372753dc168e74e2c8e8787c946e
2024-12-13 20:23:22 +00:00
Sharlatan Hellseher
925ae7d5c7
gnu: python-packaging-bootstrap: Update to 24.2.
* gnu/packages/python-build.scm (python-packaging-bootstrap): Update to 24.2.

Change-Id: I70741fd0fd7d61afbe3a10ebc1e59ffa0643383e
2024-12-13 20:23:22 +00:00
Sharlatan Hellseher
252d609c1d
gnu: python-trove-classifiers: Update to 2024.10.21.16.
* gnu/packages/python-build.scm (python-trove-classifiers): Update to 2024.10.21.16.

Change-Id: If6ec7ef0d02d516a9ba2b16f4afe879ae2b924d5
2024-12-13 20:23:22 +00:00
Sharlatan Hellseher
351c7a7bb7
gnu: python-tomli: Update to 2.1.0.
* gnu/packages/python-build.scm (python-tomli): Update to 2.1.0.

Change-Id: I88b93611aa41e8daab2155af99b35e910e967de9
2024-12-13 20:23:22 +00:00
Sharlatan Hellseher
8d5c2f02a2
gnu: Remove python-pluggy-next.
* gnu/packages/python-build.scm (python-pluggy-next): Delete variable.

Change-Id: I330400172055bcee35161fcc6a151f6ecada3d8e
2024-12-13 20:19:09 +00:00
Sharlatan Hellseher
c36cc98365
gnu: python-exceptiongroup: Move to python-build.
* gnu/packages/python-xyz.scm (python-exceptiongroup): Move from here ...
* gnu/packages/python-build.scm: ... to here.

Change-Id: Id034df5a988c5f6a4448879ba44ee1315888f63b
2024-12-13 20:19:09 +00:00
Sharlatan Hellseher
1b577b8734
gnu: python-pluggy: Update to 1.5.0.
* gnu/packages/python-build.scm (python-pluggy): Update to 1.5.0. Fix
indentation.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
[home-page]: Place above synopsis.

Change-Id: I960e37277b16f4f36f121097cd4b64765b49064f
2024-12-13 20:19:09 +00:00
Sharlatan Hellseher
52b8a60b38
gnu: Remove python-poetry-core-1.0.
* gnu/packages/python-build.scm (python-poetry-core-1.0): Delete variable.

Change-Id: I02e57215a54ec6d080bb3a844b7bc519ffa09af8
2024-12-13 20:19:08 +00:00
Sharlatan Hellseher
c6d8655799
gnu: Add python-pypa-installer.
* gnu/packages/python-build.scm (python-pypa-installer): New variable.

Change-Id: Ida794a6dd9a4da62c842703139a95983580bd935
2024-12-13 20:19:07 +00:00
Ricardo Wurmus
33210bced4
gnu: python-packaging-bootstrap: Update to 23.2.
* gnu/packages/python-build.scm (python-packaging-bootstrap): Update to 23.2.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-flit-core.
* gnu/packages/python-xyz.scm (python-packaging)
[native-inputs]: Add python-flit-core.

Change-Id: I5d3bdec62aabfe1b5e6de988d210862ad6da9002
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
6f76ab84ba
gnu: python-typing-extensions: Update to 4.10.0.
* gnu/packages/python-build.scm (python-typing-extensions): Update to 4.10.0.

Change-Id: I51c82f40f8093e17e8c6a8f20f1e3eae0917f8ee
2024-12-13 20:18:30 +00:00
Lars-Dominik Braun
efbce9a69a
build-system/pyproject: Use TOML parser.
More reliable than regular expressions.

* guix/build-system/pyproject.scm (%pyproject-build-system-modules): Add (guix build toml).
(pyproject-build): Add argument #:backend-path.
* guix/build/pyproject-build-system.scm (build): Add support for
auto-detected and override backend-path.
* gnu/packages/python-build.scm (python-tomli)[arguments]: Remove
'add-self-to-path, because it is not necessary any more.
(python-poetry-core): Same.
(python-hatchling): Same.
(python-pdm-backend): Same.
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
fdc0fefd46
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.

* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.

Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Zheng Junjie
6d6f16f4b2
gnu: Add python-setuptools-scm-next.
* gnu/packages/python-build.scm (python-setuptools-scm-next): New variable.

Change-Id: Ic6b95ed437f95c25c165de3d51732154e2bd954a
2024-11-21 22:52:52 +08:00
David Elsing
459062ba3c
gnu: Remove python-typing-extensions-4.10.
* gnu/packages/machine-learning.scm (python-typing-extensions-4.10): Delete
variable.
* gnu/packages/machine-learning.scm (python-pytorch)[native-inputs] Replace
python-typing-extensions-4.10 with python-typing-extensions.
2024-09-06 11:46:23 +02:00
Josselin Poiret
a0d74866ab
gnu: python-pip: Ungraft.
* gnu/packages/python-build.scm (python-pip): Ungraft and apply source snippet
directly.
(python-pip/fixed): Remove variable.

Change-Id: I4913e8f87f5934bffec9d58ad86b97f8ca16ba32
2024-08-31 10:45:03 +02:00
Sharlatan Hellseher
99b292a653
gnu: Add python-pluggy-next.
* gnu/packages/python-build.scm (python-pluggy-next): New variable.

Change-Id: If3ec3f930a799df9602db71112a6c6a5272b524c
2024-07-30 10:30:38 +01:00
David Elsing
b452dd635f
gnu: Add python-typing-extensions-4.10.
* gnu/packages/python-build.scm (python-typing-extensions-4.10): New variable.
2024-06-18 11:26:56 +02:00
Efraim Flashner
eae83f64ef
gnu: python-pip: Use system SSL certificates.
* gnu/packages/python-build.scm (python-pip)[replacement]: New
field.
(python-pip/fixed): Provide a python-pip with a patched python-certifi
which only offers to use the system's SSL certificates.

Change-Id: Icea0769b881dc8d760562f0405fa8ea8167a4bd4
2024-04-07 14:42:20 +03:00
Hartmut Goebel
7ff5992165
gnu: python-typing-extensions: Update to 4.9.0.
* gnu/packages/python-build.scm (python-typing-extensions): Update to 4.9.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-02-20 13:58:48 +02:00
Danny Milosavljevic
f4a5d4f0b0
gnu: poetry: Fix build.
Follow-up to 21d6985a8b.

* gnu/packages/python-build.scm (python-poetry-core-1.0): New variable.
* gnu/packages/python-xyz.scm (poetry)[propagated-inputs]: Replace
python-poetry-core by python-poetry-core-1.0.
2023-10-01 22:01:29 +02:00
Lars-Dominik Braun
d1e4803474
gnu: Add python-pdm-backend.
* gnu/packages/python-build.scm (python-pdm-backend): New variable.
2023-05-05 09:13:57 +02:00
Maxim Cournoyer
53416dbe59
gnu: Add python-hatch-fancy-pypi-readme.
* gnu/packages/python-build.scm (python-hatch-fancy-pypi-readme): New variable.
2023-04-19 20:12:18 -04:00
Maxim Cournoyer
96be62d2ed
gnu: python-typing-extensions: Update to 4.5.0.
* gnu/packages/python-build.scm (python-typing-extensions): Update to 4.5.0.
[home-page]: Update URL.
2023-04-19 20:12:16 -04:00
Maxim Cournoyer
2bf851e4b8
gnu: Add python-hatch-vcs.
* gnu/packages/python-build.scm (python-hatch-vcs): New variable.
2023-04-19 20:12:14 -04:00
Maxim Cournoyer
545b9548d5
gnu: python-hatchling: Update to 1.14.0.
* gnu/packages/python-build.scm (python-hatchling): Update to 1.14.0.
[arguments]: Replace do-not-depend-on-hatchling phase with add-src-to-path.
[description]: Expound.
2023-04-19 20:12:14 -04:00
Maxim Cournoyer
59deb3878a
gnu: python-hatchling: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-hatchling): Move to...
* gnu/packages/python-build.scm (python-hatchling): ... here.
2023-04-19 20:12:14 -04:00
Maxim Cournoyer
5106860692
gnu: python-flit-scm: Update to 1.7.0.
* gnu/packages/python-build.scm (python-flit-scm): Update to 1.7.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:phases.  Add #:build-backend.
[native-inputs]: Delete field.
2023-04-19 20:12:13 -04:00
Maxim Cournoyer
dc2f26edae
gnu: python-setuptools-scm: Update to 7.1.0.
* gnu/packages/python-build.scm (python-setuptools-scm): Update to 7.1.0.
[arguments]: Disable tests.
[propagated-inputs]: Add python-typing-extensions.  Remove input labels.
2023-04-19 20:12:13 -04:00
Maxim Cournoyer
9df900341f
gnu: python-typing-extensions: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-typing-extensions): Move to...
* gnu/packages/python-build.scm (python-typing-extensions): ... here.
2023-04-19 20:12:13 -04:00
Maxim Cournoyer
66ffbaa409
gnu: python-flit-core-bootstrap: Update to 3.8.0.
* gnu/packages/python-build.scm (python-flit-core-bootstrap): Update to 3.8.0.
[home-page]: Update URL.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer
21d6985a8b
gnu: python-poetry-core: Update to 1.5.2.
* gnu/packages/python-build.scm (python-poetry-core): Update to 1.5.2.
[source]: Adjust URL.
[build-system]: Use pyproject-build-system.
[arguments]: New field.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer
51b1a70b71
gnu: python-pep517-bootstrap: Add TODO comment.
* gnu/packages/python-build.scm (python-pep517-bootstrap): Add TODO comment.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer
8849d131a1
gnu: python-wheel: Update to 0.40.0.
* gnu/packages/python-build.scm (python-wheel): Update to 0.40.0.
[home-page]: Update URL.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer
35e026a68a
gnu: python-setuptools: Update to 67.6.1.
* gnu/packages/python-build.scm (python-setuptools): Update to 67.6.1.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer
43b0388ed0
gnu: python-pip: Update to 23.1.
* gnu/packages/python-build.scm (python-pip): Update to 23.1.
2023-04-19 20:12:11 -04:00
Maxim Cournoyer
a454ca06b8
gnu: python-tomli-w: Use pyproject-build-system.
* gnu/packages/python-build.scm (python-tomli-w) [build-system]: Use
pyproject-build-system.
[arguments]: Remove #:phases arguments.
2023-04-19 20:12:11 -04:00
Maxim Cournoyer
87d9374807
gnu: python-tomli: Update to 2.0.1.
* gnu/packages/python-build.scm (python-tomli): Update to 2.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove build and install phase overrides.  Add add-self-to-path.
[native-inputs]: Remove python-pypa-build and input labels.
2023-04-19 20:12:11 -04:00
Maxim Cournoyer
19c178e35f
gnu: python-pathspec: Update to 0.11.1.
* gnu/packages/python-build.scm (python-pathspec): Update to 0.11.1.
[home-page]: Update URL.
2023-04-19 20:12:11 -04:00
Maxim Cournoyer
1eeb4a246c
gnu: Add python-trove-classifiers.
* gnu/packages/python-build.scm (python-trove-classifiers): New variable.
2023-04-19 20:12:10 -04:00
Maxim Cournoyer
5c66f98c42
gnu: python-xyz: Move some packages to (gnu packages python-build).
This is to prepare for the new 'python-hatchling' build package, which has
these dependencies.

* gnu/packages/python-xyz.scm (python-pathspec, python-pluggy): Move to...
* gnu/packages/python-build.scm: ... here.  Re-organize definitions a bit,
with comments.
2023-04-19 20:12:10 -04:00
Marius Bakke
a47c475678
gnu: python-setuptools: Add 57.5.0.
* gnu/packages/python-build.scm (python-setuptools-57): New variable.
2023-01-07 21:04:26 +01:00
Marius Bakke
b4e2effb30
gnu: python-pip: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-pip): Move from here ...
* gnu/packages/python-build.scm (python-pip): ... to here.
2022-10-27 19:43:06 +02:00
Lars-Dominik Braun
c485a9d8af
gnu: python-setuptools: Move to python-build.
* gnu/packages/python-xyz.scm (python-setuptools): Move…
* gnu/packages/python-build.scm: …here.
* gnu/packages/chemistry.scm,
gnu/packages/messaging.scm,
gnu/packages/sequoia.scm,
tests/lint.scm: Adjust module imports accordingly.

Co-authored-by: Marius Bakke <marius@gnu.org>
2022-10-27 19:43:06 +02:00