Commit graph

5052 commits

Author SHA1 Message Date
Sharlatan Hellseher
ad50b8ed35
gnu: python-ukpostcodeparser: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-ukpostcodeparser): Update to 1.1.2.
  [build-system]: Use pyproject.
  [arguments] <test-flags>: Move custom check flags here.
  <phases>: Use default 'check.
  [native-inputs]: Add python-setuptools.

Change-Id: I7d5a6b84d105db716aef98ad4991afec7e41b1e1
2025-09-19 22:06:58 +01:00
Sharlatan Hellseher
52bcba40db
gnu: python-decorator: Update to 5.2.1.
* gnu/packages/python-xyz.scm (python-decorator): Update to 5.2.1.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom.
  [native-inputs]: Add python-setuptools.

Change-Id: I30df3ff3c4500b2456f8edfc473a2edb87542fb7
2025-09-19 22:06:58 +01:00
Sharlatan Hellseher
f953f9f77b
gnu: python-py-cpuinfo: Update to 9.0.0.
* gnu/packages/python-xyz.scm (python-py-cpuinfo): Update to 9.0.0.
  [source]: Use the latest version tag including RISC-V support.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom; <test-flags>: Provide
  "test_suite.py" script to run tests.
  [native-inputs]: Add python-setuptools.

Change-Id: I266bfa11a5655b586d567ac7b48adb71a5f113bd
2025-09-19 22:06:57 +01:00
Sharlatan Hellseher
37d6642612
gnu: python-click: Update to 8.1.8.
* gnu/packages/python-xyz.scm (python-click): Update to 8.1.8.
  [source]: Switch to git-fetch contacting tests.
  [build-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [native-inputs]: Add less and python-flit-core.

Change-Id: I84caacb3461d3cef221c019975130343a812fe2a
2025-09-19 22:06:57 +01:00
Sharlatan Hellseher
ecf7b3f65b
gnu: python-pycparser: Update to 2.22.
* gnu/packages/python-xyz.scm (python-pycparser): Update to 2.22.
[native-inputs]: Add python-setuptools.

Change-Id: Idaf7189ed1e6288205aa09510a7a5ff099d4234c
2025-09-19 22:06:57 +01:00
Sharlatan Hellseher
e5c22a9fba
gnu: python-pycparser: Improve style.
* gnu/packages/python-xyz.scm (python-pycparser): Use G-expressions, fix
indentation.

Change-Id: I006ae084642e0e15468a2717a59e64cfdf050108
2025-09-19 22:06:57 +01:00
Sharlatan Hellseher
38c3886e50
gnu: python-markdown: Update to 3.8.2.
* gnu/packages/python-xyz.scm (python-markdown): Update to 3.8.2.
  [build-system]: Use pyproject.
  [native-inputs]: Remove python-nose; add python-setuptools.

Change-Id: I40086d36114b667f637d0725d9a315870188fc0b
2025-09-19 22:06:57 +01:00
Sharlatan Hellseher
156cef9b78
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-19 22:06:56 +01:00
Sharlatan Hellseher
407f341968
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-19 22:06:56 +01:00
Sharlatan Hellseher
4069e9360e
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-19 22:06:56 +01:00
Sharlatan Hellseher
abf0ddf04f
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-19 22:06:56 +01:00
Sharlatan Hellseher
a8d4a656f6
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-19 22:06:55 +01:00
Sharlatan Hellseher
c93226ba77
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-19 22:06:55 +01:00
Sharlatan Hellseher
f3521cc878
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-19 22:06:55 +01:00
Sharlatan Hellseher
d4e11134ba
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-19 22:06:54 +01:00
Sharlatan Hellseher
d4a94e8c60
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-19 22:06:54 +01:00
Sharlatan Hellseher
6212b2fbb9
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-19 22:06:53 +01:00
Sharlatan Hellseher
2acaa0212e
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-19 22:06:53 +01:00
Sharlatan Hellseher
5fc0c38791
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-19 22:06:53 +01:00
wrobell
be676c39b6
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-19 22:06:53 +01:00
wrobell
3b7f6204f7
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-19 22:06:52 +01:00
Sharlatan Hellseher
7a739b32e2
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-19 22:06:52 +01:00
Sharlatan Hellseher
d078aa65d7
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-19 22:06:52 +01:00
Sharlatan Hellseher
8034a707fd
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-19 22:06:52 +01:00
Sharlatan Hellseher
63880960ea
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-19 22:06:52 +01:00
Sharlatan Hellseher
0d4d7583b4
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-19 22:06:51 +01:00
wrobell
bb62a46304
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-19 22:06:51 +01:00
Sharlatan Hellseher
c979909a3b
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-19 22:06:50 +01:00
Sharlatan Hellseher
4946e54326
gnu: python-iniconfig: Update to 2.1.0.
* gnu/packages/python-xyz.scm (python-iniconfig): Update to 2.1.0.
  [build-system]: Use pyproject.
  [arguments] <test?>: Visually disable them as PyPI does not provide
  tests and tests introduce cycle with Pytest.
  [native-inputs]: Add python-hatch-vcs, python-hatchling.

Change-Id: I20f3bc55fbd94aa2c79ce77e35f1a62aacd4af14
2025-09-19 22:06:50 +01:00
Sharlatan Hellseher
89be081239
gnu: Add python-pygments-bootstrap.
* gnu/packages/python-xyz.scm (python-pygments-bootstrap): New variable.

Change-Id: Icf982bbaa641b77afebafdd14a4c063012b2fdc0
2025-09-19 22:06:50 +01:00
Felix Gruber
279c628268
gnu: python-pygments: Update to 2.19.1.
* gnu/packages/python-xyz.scm (python-pygments): Update to 2.19.1.
  [source]: Fix PyPI package name; with capital P, the download doesn't
  work.
  [arguments] <test-flags>: Ignore just some problematic tests; drop
  "--ignore-glob" option.
  [native-inputs]: Add python-hatchling; replace python-pytest by
  python-pytest-bootstrap; remove python-setuptools and python-wheel.

Change-Id: I85bf3cb2a8c4a996586e820bd582dea777ef930d
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-19 22:06:49 +01:00
Sharlatan Hellseher
ccde48970a
gnu: mallard-ducktype: Switch to pyproject.
* gnu/packages/python-xyz.scm (mallard-ducktype)[build-system]: Switch
to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: I86592f5332819b160f0f804a3495ef1b0491ff78
2025-09-19 22:06:48 +01:00
Andreas Enge
713501d840
gnu: Remove python-pillow-2.9.
* gnu/packages/python-xyz.scm (python-pillow-2.9): Delete variable.

Fixes: guix/guix#2086
Change-Id: I4ef66bff3aeeab8027d00a6685eeb32ad314720b
2025-09-19 20:56:02 +02:00
Hennadii Stepanov
045588eba8
gnu: python-lief: Update to 0.17.0.
* gnu/packages/python-xyz.scm (python-lief): Update to 0.17.0.

Change-Id: I713a887e3444c5133431f61e029b898c04b9346d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-17 21:25:17 +01:00
Nicolas Graves
973dea10e2
gnu: python-canmatrix: Remove python-pathlib2 native-input.
* gnu/packages/python-xyz.scm (python-canmatrix)[native-inputs]:
Remove python-pathlib2.

Change-Id: Idad162c35dc6c36cf637f3991628c7caf57487d1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-17 21:03:13 +01:00
Andreas Enge
54a8f15b24
gnu: Remove python-setuptools-for-tensorflow.
* gnu/packages/python-xyz.scm (python-setuptools-for-tensorflow): Delete variable.

Change-Id: I681ce2d7797042bef830135789f4b466bd1fa14c
2025-09-15 12:08:33 +02:00
Sharlatan Hellseher
779d19766d
gnu: packages/python-xyz: Add copyright for Matthias Riße.
It's a follow for e7f43d3837.

* gnu/packages/python-xyz.scm: Add copyright entry for Matthias Riße.

Change-Id: Ie7e7602d3981fdbdcc2ca1afd1227dad23f33ce6
2025-09-14 23:11:19 +01:00
Matthias Riße
e7f43d3837
gnu: Add python-annexremote.
* gnu/packages/python-xyz.scm (python-annexremote): New variable.

Change-Id: If004031433cf63ff4c3eea3e32a7c403470e6bb0
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-14 23:06:29 +01:00
Sharlatan Hellseher
5e19b74b06
gnu: Remove python-textual-1.
* gnu/packages/python-xyz.scm (python-textual-1): Delete variable.

Change-Id: I7882072c8e4a8bc1715c5b51c7cfdd6705e2a565
2025-09-14 22:05:55 +01:00
Andreas Enge
70b380bdf4
gnu: Remove python-pylzma.
* gnu/packages/python-xyz.scm (python-pylzma): Delete variable.

Fixes: guix/guix#1919
Change-Id: Icad9f8b8dfc23406271c5e3cd342e5553dbde491
2025-09-14 19:09:53 +02:00
Andreas Enge
f36c79af65
gnu: Remove python-pyyaml-5.
* gnu/packages/python-xyz.scm (python-pyyaml-5): Delete variable.

Fixes: guix/guix#1390
Change-Id: I27d160667e9813b38c6a7ffbc03dd6df8c042c17
2025-09-14 18:22:09 +02:00
Janneke Nieuwenhuizen
76e58941b8
gnu: Add python-importlib-resources-6.4.0.
* gnu/packages/python-xyz.scm (python-importlib-resources-6): New variable.

Change-Id: Id8de5ece784bf01e43e0e74aa178a4962428220a
2025-08-27 19:15:02 +02:00
Janneke Nieuwenhuizen
b620ba612f
gnu: Add python-yamlordereddictloader.
* gnu/packages/python-xyz.scm (python-yamlordereddictloader): New
variable.

Change-Id: Ie250a044da02d2a2c8d2113d2331e37c6b3e46b0
2025-08-25 17:46:20 +02:00
Hugo Buddelmeijer
fd4402f09a
gnu: python-glob2: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-glob2)[build-system]: Switch to
pyproject-build-system.
[native-inputs]: Add python-pytest. and python-setuptools-next.
[arguments] <#:phases>: Add fixes for pytest 8.

Change-Id: I95459df0aedf4c5ba22d060aa1e2640875ecb240
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-11 18:53:12 +01:00
Nicolas Graves
8c7e3e027f
gnu: jube: Switch to pyproject.
* gnu/packages/python-xyz.scm (jube):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them explicitely.
[native-inputs]: Add python-setuptools-next. Remove python-pyyaml.
[propagated-inputs]: Add python-pyyaml, listed in the package as an
install requirements, and no tests were run in the first place.

Change-Id: I4b11597196a5d9e6a227d064cf6ab96276a57aff
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-06 22:08:09 +01:00
Nicolas Graves
40cd075186
gnu: wfetch: Switch to pyproject.
* gnu/packages/python-xyz.scm (wfetch):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Improve style.
<#:use-setuptools?>: Unset.
[native-inputs]: Add python-setuptools-next.

Change-Id: I9b8fa66a3ff0ef20adcda3541918ce0b85e8e4f6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-06 22:08:09 +01:00
Nicolas Graves
31ad41fa9a
gnu: s3cmd: Switch to pyproject.
* gnu/packages/python-xyz.scm (s3cmd):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
<#:phases>: Add 'check phase to clarify how tests are supposed to be
run.  Improve style.
[native-inputs]: Add python-setuptools-next.
[inputs]: Improve style.

Change-Id: Ife22d6596387c179b1c44f8f8ae8b54ddcca195b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-06 22:08:09 +01:00
Nicolas Graves
1fdf3c2f60
gnu: pyzo: Switch to pyproject.
* gnu/packages/python-xyz.scm (pyzo):
[build-system]: Switch to pyproject-build-system.
[arguments]: Enable <#:tests?>, replace <#:phases> with <#:test-flags>.
[native-inputs]: Add python-pytest and python-setuptools-next.

Change-Id: Ia163f37bb64282cc8f9e9f10600dd40125915aa0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-06 22:08:09 +01:00
Nicolas Graves
bcdf37a0a6
gnu: ptpython: Switch to pyproject.
* gnu/packages/python-xyz.scm (ptpython):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Improve comment.
[native-inputs]: Add python-setuptools-next.
[propagated-inputs]: Remove python-black.

Change-Id: Ibfc663d028160ca8cb16b8ffce838a5be951d715
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-06 22:08:09 +01:00
Nicolas Graves
ab6f15041d
gnu: online-judge-tools: Switch to pyproject.
* gnu/packages/python-xyz.scm (online-judge-tools):
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> with <#:test-flags>.
[native-inputs]: Add python-setuptools-next.

Change-Id: I4590ac8211c9d18b1c71be06fe2cf17cb285bbc4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-06 22:08:09 +01:00