1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-19 15:45:58 +02:00
Commit Graph

156386 Commits

Author SHA1 Message Date
Sharlatan Hellseher 22aadcc1fe gnu: python-idna: Update to 3.10.
* gnu/packages/python-xyz.scm (python-idna): Update to 3.10.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-flit-core.

Change-Id: I4adcbc15f1c6279c3db8ad8557920074fc1e9d64
2025-09-25 09:35:42 +01:00
Sharlatan Hellseher 49584bb33b gnu: python-setuptools-rust: Update to 1.11.1.
* gnu/packages/python-xyz.scm (python-setuptools-rust): Update to 1.11.1.
  [source] <uri>: Fix PyPI archive name.
  [propagated-inputs]: Remove python-typing-extensions; add python-setuptools.
  [native-inputs]: Remove python-setuptools and python-wheel.

Change-Id: I14fea55b5b33d02b00ba72c310f6e32131926549
2025-09-25 09:35:42 +01:00
Sharlatan Hellseher dd5c5bf2de gnu: python-semantic-version: Update to 2.10.0.
* gnu/packages/python-xyz.scm (python-semantic-version): Update to 2.10.0.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom.
  <test-flags>: Use nose2.
  [native-inputs]: Add python-nose2 and python-setuptools.
  [description]: Adjust fill column.

Change-Id: I23774a4d99fe1c58234570aab8bc46fc51873c71
2025-09-25 09:35:42 +01:00
Sharlatan Hellseher 2458b08913 gnu: python-pytest-subtests: Update to 0.14.2.
* gnu/packages/python-check.scm (python-pytest-subtests): Update to 0.14.2.
  [build-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [propagated-inputs]: Add python-attrs.
  [native-inputs]: Remove python-pytest; add python-pytest-bootstrap,
  python-setuptools, and python-wheel.

Change-Id: I26b878f3a540428b55ab626e1baa55206a6556c8
2025-09-25 09:35:42 +01:00
Sharlatan Hellseher ab2370955f gnu: python-nose2: Update to 0.15.1.
* gnu/packages/check.scm (python-nose2): Update to 0.15.1.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: I08d192e169eb25a2f27c8049e93520527f9b6f9f
2025-09-25 09:35:41 +01:00
Sharlatan Hellseher c12463eed7 gnu: python-freezegun: Update to 1.5.3.
* gnu/packages/check.scm (python-freezegun): Update to 1.5.3.
  [source] <snippet>: Remove it as
  <https://github.com/spulec/freezegun/pull/397> was merged in 2021.
  [build-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia442db5e37060f972156f3af7ce748d3385cec8b
2025-09-25 09:35:41 +01:00
Sharlatan Hellseher 1ed8a3d446 gnu: python-attrs: Update to 25.3.0.
* gnu/packages/python-xyz.scm (python-attrs): Update to 25.3.0.
  [arguments] <phases>: Remove 'remove-test-hypothesis-deadlines.
  [native-inputs]: Remove python-pympler, python-pytest-xdist, and
  python-zope-interface; add python-hypothesis.

Change-Id: I182dac73577d0617c32111f00a0a3245db77de73
2025-09-25 09:35:41 +01:00
wrobell 78aac7cf1a gnu: python-dateutil: Update to version 2.9.0.
* gnu/packages/time.scm (python-dateutil)[source](patches): Remove
the dateutil patch.
* gnu/packages/patches/python-dateutil-pytest-compat.patch: Drop the
patch as seems not required with pytest 8 anymore.
* gnu/local.mk (dist_patch_DATA): Deregester patch.

Change-Id: I61ef23a2795f6cecc73bbd337759dd4e088d4807
2025-09-25 09:35:41 +01:00
Sharlatan Hellseher 6d464680ec gnu: python-numpy: Fix build.
* gnu/packages/python-xyz.scm (python-numpy):
  [native-inputs]: Replace python-setuptools and python-wheel with
  maximum supported versions python-setuptools-67 and python-wheel-0.40.

Change-Id: Idf04968a0426442f53751d85906dc319a6f25a11
2025-09-25 09:35:41 +01:00
Sharlatan Hellseher 79d32de996 gnu: Add python-setuptools-67.
* gnu/packages/python-build.scm (python-setuptools-67): New variable.

Change-Id: I3f317ab961f25d2b5760a376148f932caa4c722a
2025-09-25 09:35:41 +01:00
Sharlatan Hellseher 1a01bd67e4 gnu: Add python-wheel-0.40.
* gnu/packages/python-build.scm (python-wheel-0.40): New variable.

Change-Id: I67886ba3f30cac77dc92a6cef38cc7b1b971bb9b
2025-09-25 09:35:41 +01:00
Sharlatan Hellseher e8e51fdb27 gnu: python-gitpython: Update to 3.1.44.
* gnu/packages/version-control.scm (python-gitpython): Update to 3.1.44.
  [build-system]: Pyproject.
  [propagated-inputs]: Remove python-typing-extensions.
  [native-inputs]: Remove python-ddt and python-nose; add python-setuptools.

Change-Id: I540fb49f6f9df54712ba4b0c8ef94c7b471aa6a1
2025-09-25 09:35:41 +01:00
Sharlatan Hellseher 2c41b24d60 gnu: python-gitdb: Update to 4.0.12.
* gnu/packages/version-control.scm (python-gitdb): Update to 4.0.12.
  [build-system]: Use pyproject.
  [arguments] <test-flags>: Skip one test.
  <phases>: Use default 'check; add 'pre-check.
  [native-inputs]: Remove python-nose; add python-pytest,
  python-setuptools, and python-wheel.

Change-Id: I3ede39a717671ae24b05cac99515981fce478ec7
2025-09-25 09:35:41 +01:00
Sharlatan Hellseher 869c3b6dc4 gnu: python-smmap: Update to 5.0.2.
* gnu/packages/python-xyz.scm (python-smmap): Update to 5.0.2.
  [build-system]: Use pyproject.
  [native-inputs]: Remove python-nosexcover; add python-pytest,
  python-setuptools, and python-wheel.

Change-Id: Ia6031ed5774c3c3d8db5dd18cd158758236479d4
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher 7372201a62 gnu: python-docutils: Update to 0.21.2.
This change updates python-docutils to the latests version and pins some
older packages on 0.19 to resolve build documentation issue which uses
rst2man.

* gnu/packages/python-xyz.scm (python-docutils): Update to 0.21.2.
[build-system]: Use pyproject.
[arguments] <phases>: Do not overwrite 'check use {#:test-backend} and
{#:test-flags}.
[native-inputs]: Add python-flit-core.

(python-docutils-0.16)[native-inputs]: Add python-wheel.

(python-docutils-0.19): New variable.

* gnu/packages/diffoscope.scm (trydiffoscope) [native-inputs]: Remove
python-docutils; add python-docutils-0.19.
* gnu/packages/gtk.scm (gtk): Likewise.
* gnu/packages/linux.scm (rdma-core): Likewise.
* gnu/packages/power.scm (apcupsd): Likewise.
* gnu/packages/version-control.scm (cgit): Likewise.
* gnu/packages/virtualization.scm (ganeti)) Likewise.

Change-Id: If58b9b12732347245e66e3c2cb5e67b0a8450913
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher 579d43aafc gnu: python-mypy: Update to 1.16.1.
* gnu/packages/python-check.scm (python-mypy): Update to 1.16.1.
  [arguments] <test-flags>: Respect parallel option.
  [native-inputs]: Remove python-attrs, python-pytest-forked, and
  python-virtualenv; add  python-types-setuptools.
  [propagated-inputs]: Add python-pathspec.

Change-Id: Idaecb763785b541f2591cd4530cb71a91e973f44
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher dc4099de62 gnu: python-types-setuptools: Update to 80.9.0.20250529.
* gnu/packages/python-xyz.scm (python-types-setuptools): Update to 80.9.0.20250529.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: I02409d88db355068f57c11cf85a70cd5e23a8602
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher 12460b246d gnu: python-mypy-extensions: Update to 1.1.0.
* gnu/packages/python-check.scm (python-mypy-extensions): Update to 1.1.0.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'unittest.
  <test-flags>: Provide tests discover flag.
  [native-inputs]: Add python-flit-core.
  [description]: Apply fill-paragrap.

Change-Id: Ib79bd4c5c9eef80fbe8ee998f8fbceb728e6c1f3
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher db5beb4036 gnu: python-psutil: Update to 7.0.0.
* gnu/packages/python-xyz.scm (python-psutil): Update to 7.0.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: If14a03a99a4b219af6ecb7bbad176a6757cb81b4
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher 00dd33156c gnu: python-coverage: Update to 7.9.2.
* gnu/packages/check.scm (python-coverage): Update to 7.9.2.
  [arguments] <test-flags>: Skip 5 more tests.
  [propagated-inputs]: Remove python-tomli.
  [native-inputs]: Remove python-wheel.

Change-Id: I1863857acd6337d69ade92db045ea4319ede1ffd
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher f4278f3905 gnu: python-pytest-xdist: Update to 3.8.0.
* gnu/packages/check.scm (python-pytest-xdist): Update to 3.8.0.
[propagated-inputs]: Remove python-pytest-forked.

Change-Id: I257e9588360389eb6438b858ba9d41abb448b8d3
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher 252ee46742 gnu: Add python-pytest-asyncio-0.26.
* gnu/packages/check.scm (python-pytest-asyncio-0.26): New variable.

Change-Id: Ie72a17dd220f877e2f07ed3230a7a3dc5fa8f83f
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher 77be668d6b gnu: python-pytest-asyncio: Update to 1.0.0.
* gnu/packages/check.scm (python-pytest-asyncio): Update to 1.0.0.
  [arguments] <test-flags>: Skip 4 tests.
  [propagated-inputs]: Add python-typing-extensions.

Change-Id: Ie8be3423e62102943f8cc66114289a750ec63cb9
2025-09-25 09:35:39 +01:00
Sharlatan Hellseher 7aeab388fa gnu: python-mako: Update to 1.3.10.
* gnu/packages/python-xyz.scm (python-mako): Update to 1.3.10.
  [buid-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [native-inputs]: Remove python-mock; add python-setuptools and
  python-wheel.

Change-Id: I3bf921cd52ee4671ab34820fe1a35b34db226251
2025-09-25 09:35:39 +01:00
Sharlatan Hellseher 1f549f87b7 gnu: python-lit: Switch to pyproject-build-system.
* gnu/packages/check.scm (python-lit):
  [build-system]: Use pyproject.
  [arguments]: Utilize <test-backend> and <test-flags> instead of
  overwriting 'check phase.
  [native-inputs]: Add python-setuptools.

Change-Id: I606a34a54047d86b95af652aa87d408f127a1bb2
2025-09-25 09:35:39 +01:00
Sharlatan Hellseher 51d8cc8029 gnu: python-ply: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-ply):
  [build-system]: Use pyproject.
  [arguments] <tests?>: Visually disable them as PyPI archive provides
  no tests, where Git source contains.
  [native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I99b04238b4ec4421d6d7acae47edb915826d9c94
2025-09-25 09:35:39 +01:00
Sharlatan Hellseher 959d167484 gnu: python-pypa-build: Update to 0.9.0
* gnu/packages/python-build.scm (python-pypa-build): Update to 0.9.0.
  [build-system]: Use pyproject.
  [arguments] <phases>: Remove 'use-toml-instead-of-tomli.
  [native-inputs]: Add python-setuptools.

Change-Id: Id1f9fea2b4d933fdf5ade8d8d5888345a1ae7b40
2025-09-25 09:35:39 +01:00
Sharlatan Hellseher 6562b22172 gnu: python-pep517-bootstrap: Update to 0.13.1.
* gnu/packages/python-build.scm (python-pep517-bootstrap): Update to 0.13.1.
  [build-system]: Use pyproject.
  [propagated-inputs]: Remove python-toml and python-wheel.
  [native-inputs]: Add python-flit-core.

Change-Id: Ifc578d8925a20c6c6b3e5efdbb5ed67714f3f093
2025-09-25 09:35:39 +01:00
Sharlatan Hellseher 0383b3a315 gnu: python-pretend: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-pretend):
  [source]: Switch to git-fetch containing tests.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-pytest and python-setuptools.

Change-Id: I339b7c2463c41e5f1017c9d71857c593f6211d5b
2025-09-25 09:35:39 +01:00
Sharlatan Hellseher fc33f438a7 gnu: python-pyparsing: Update to 3.2.3.
* gnu/packages/python-build.scm (python-pyparsing): Update to 3.2.3.

Change-Id: I478c1ded15e0470658a98490a767a7de723b9a80
2025-09-25 09:35:39 +01:00
wrobell 62c4b82b7a gnu: python-markupsafe: Update to 3.0.2.
* gnu/packages/python-xyz.scm (python-markupsafe): Update to 3.0.2.
[source]: Update project name (it is lowercase now).
[build-system]: Use pyproject-build-system.
[arguments]: Run pytest with default verbosity provided by the build
system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I76b03fd0c28bbfdd2e5f2260fd34cba0f39d08d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:35:39 +01:00
wrobell c34f002892 gnu: python-pyyaml: Update to 6.0.2.
* gnu/packages/python-xyz.scm (python-pyyaml): Update to 6.0.2.
  [build-system]: Use  pyproject.
  [native-inputs]: Add python-cython3, python-seuptools, python-pytest,
  and python-wheel.

Change-Id: Ic3d5cdc75650644831ad7192bc17427f9881f2e4
2025-09-25 09:35:38 +01:00
Sharlatan Hellseher 941edd29f4 gnu: python-six: Do not inherit.
python-six-bootstrap is no longer required, this change removes it and
refactor python-six as a stand alone package.

* gnu/packages/python-build.scm (python-six-bootstrap): Remove variable.
* gnu/packages/python-xyz.scm (python-six): Do not inherit, re-use
package definition from python-six-bootstrap.
(python2-six) [native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: Ia4abf667e0a2df65c171b3c8f5808d8e6d597b17
2025-09-25 09:35:38 +01:00
Sharlatan Hellseher 8a71151402 gnu: python-six-bootstrap: Update to 1.17.0.
* gnu/packages/python-build.scm (python-six-bootstrap): Update to 1.17.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: I3d673d13efe60d90221061759e4ea90fd4164882
2025-09-25 09:35:38 +01:00
Sharlatan Hellseher aac71e0112 gnu: Pin some packages to python-cython-0.
* gnu/packages/audio.scm (python-pyliblo):
  [native-inputs]: Remove python-cython; add python-cython-0.
* gnu/packages/bioinformatics.scm (python-pysam): Likewise.
* gnu/packages/parallel.scm (openpmix): Likewise.
* gnu/packages/python-science.scm (python-scipy): Likewise.

Change-Id: I7a02d39b7d7cbb8a40ab4434bfe90d4e944433d3
2025-09-25 09:35:38 +01:00
Sharlatan Hellseher ee5eb416dd gnu: python-cython-0: Update to 0.29.37.
* gnu/packages/python-xyz.scm (python-cython-0): Update to 0.29.37.
  Use G-expressions.
  [build-system]: Inherit pyproject form python-cython.
  [arguments] <test-backend>: Use 'custom; <test-flags>: Utilize it
  instead of overwriting 'check phase.
  <phases>: Add 'pre-check; use default 'check.
  [inputs]: Inherit from python-cython.
  [native-inputs]: Likewise.
  [home-page]: Likewise.
  [synopsis]: Likewise.
  [description]: Likewise.

Change-Id: I97e8662f0a53aa9bc702b835a347900c7ebd5ea1
2025-09-25 09:35:38 +01:00
Sharlatan Hellseher 349cda4632 gnu: python-cython: Fix tests on i686-linux.
* gnu/packages/python-xyz.scm (python-cython):
  [arguments] <test-backend>: Use 'custom.
  <test-flags>: Skip one test on i686-linux.
  <phases>: Use default 'check; add 'pre-check.

Change-Id: Ia2aa75cf341f9db043c2c2bc99ed56ef6816ca21
2025-09-25 09:35:38 +01:00
Sharlatan Hellseher b50899769c gnu: python-cython: Build with gcc@14.
* gnu/packages/python-xyz.scm (python-cython):
  [native-inputs]: Remove (cond ((target-x86-32?) gcc-11) (else gcc-13)).

Change-Id: I04ff6694a147d73beda119231d5a79579cf01c82
2025-09-25 09:35:38 +01:00
Sharlatan Hellseher 941b6ff1c1 gnu: python-cython: Set default to v3.
* gnu/packages/python-xyz.scm (python-cython): Overwrite with
python-cython-3 and making it a default.
(python-cython-0): New variable, copy of python-cython@0.23.32.
(python-cython-3): Set to python-cython.

Change-Id: I6af9caeb77cd0be352b814baae7e37c2eafb00e7
2025-09-25 09:35:38 +01:00
wrobell a1c92ead6c gnu: python-cython-3: Update to 3.1.2.
* gnu/packages/python-xyz.scm (python-cython-3): Update to 3.1.2.

Change-Id: I0cfe7d6bfdc2df37fd9309ae39c09674f616dee2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:35:38 +01:00
Sharlatan Hellseher 7b5d938a75 gnu: python-pytest: Update to 8.4.1.
* gnu/packages/check.scm (python-pytest): Update to 8.4.1.
  [arguments] <test-flags>: Skip only 2 tests.
  [propagated-inputs]: Remove python-attrs-bootstrap,
  python-exceptiongroup, python-py, and python-tomli; add
  python-pygments-bootstrap.
  [native-inputs]: Remove python-nose and python-pytest-bootstrap; add
  python-attrs-bootstrap.

Change-Id: Ib13c2578cc5fdd8508a83ed97ea2471ab756f541
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher 523d68a25c gnu: python-elementpath: Enable tests.
* gnu/packages/xml.scm (python-elementpath): Enable tests.
[arguments] <test-backend>: Use 'unittest.
<phases>: Add 'set-locales.
[native-inputs]: Add glibc-locales, python-lxml, and
python-xmlschema-bootstrap.

Change-Id: I9a48dc1e508a6701472890a17a3ed0cf95d051a8
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher 8d02f097e6 gnu: Add python-xmlschema-bootstrap.
* gnu/packages/xml.scm (python-xmlschema-bootstrap): New variable.

Change-Id: I2b5ae32a3157c57a8e89a2d14b314404043a0a5c
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher a49c2fb668 gnu: python-xmlschema: Update to 4.1.0.
* gnu/packages/xml.scm (python-xmlschema): Update to 4.1.0.
[build-system]: Use pyproject.
[arguments] <test-backend>: Use 'unittest.
<phases>: Use default 'check.
[native-inputs]: Add python-setuptools.

Change-Id: Ia7fd7d8af9981e19566be05d85cf8288a772a7e9
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher 0d0211a113 gnu: python-elementpath: Update to 5.0.4.
* gnu/packages/xml.scm (python-elementpath): Update to 5.0.4.
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.

Change-Id: I03f0a0c46644946370694fceb3a68c3c03dccb59
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher d3e3103fc3 gnu: python-hypothesis: Update to 6.135.26.
* gnu/packages/check.scm (python-hypothesis): Update to 6.135.26.
  [build-system]: Use pyproject
  [arguments] <phases>: Keep 'sanity-check.
  [native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: I306fd548268da91b2e86d2ca214771126331e0d1
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher f135184613 gnu: python-exceptiongroup: Update to 1.3.0.
* gnu/packages/python-build.scm (python-exceptiongroup): Update to 1.3.0.
  [build-system]: Use pyproject.
  [arguments] <build-backend>: Use 'setuptools.bulid_meta' propagated by
  flit_scm.
  <phases>: Use default 'build, 'install and 'check; add 'set-version.
  [propagated-inputs]: Add python-typing-extensions.
  [native-inputs]: Remove python-pypa-build.

Change-Id: I400165688236086ad85d961698e14d8ed8dd486f
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher b66ea1e9ff gnu: python-sortedcontainers: Switch to pyproject, enable tests.
* gnu/packages/python-xyz.scm (python-sortedcontainers):
  [source]: Switch to git-fetch containing tests.
  [build-system]: Use pyproject.
  [arguments] <tests?>: Now enable them.
  [native-inputs]: Add python-pytest-bootstrap and python-setuptools.

Change-Id: Ibce0dd93d964853e734424e029f9197e67f1f828
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher e4c2f803fa gnu: python-flit-scm: Improve package.
Reduce closure size by removing redundant python-setuptools and
python-wheel as it was a workaround import issue which was resolved by
using flit_core.buildapi directly.

* gnu/packages/python-build.scm (python-flit-scm): Fix indentation.
  [arguments] <build-backend>: Let it auto detect.
  <phases>: Add 'fix-backend.
  [native-inputs]: Remove python-setuptools and python-wheel.

Change-Id: Ib3f591365411ba5f8b710a8256a324dfb7d5b565
2025-09-25 09:35:36 +01:00
Sharlatan Hellseher 92b76e8c12 gnu: python-hatch-fancy-pypi-readme: Update to 25.1.0.
* gnu/packages/python-build.scm (python-hatch-fancy-pypi-readme): Update to 25.1.0.
[propagated-inputs]: Remove python-typing-extensions.

Change-Id: Iaa5d2e74d2da831af31f7205b4cf98ad2b816e22
2025-09-25 09:35:36 +01:00