gnu: python-pycparser: Improve style.
* gnu/packages/python-xyz.scm (python-pycparser): Use G-expressions, fix
indentation.
Change-Id: I006ae084642e0e15468a2717a59e64cfdf050108
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
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
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
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
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
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
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
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
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
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
gnu: Add python-setuptools-67.
* gnu/packages/python-build.scm (python-setuptools-67): New variable.
Change-Id: I3f317ab961f25d2b5760a376148f932caa4c722a
gnu: Add python-wheel-0.40.
* gnu/packages/python-build.scm (python-wheel-0.40): New variable.
Change-Id: I67886ba3f30cac77dc92a6cef38cc7b1b971bb9b
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
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
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
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
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
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
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