Commit graph

152430 commits

Author SHA1 Message Date
Ricardo Wurmus
0c4b5df86f
gnu: python-geventhttpclient: Update to 2.3.3.
* gnu/packages/python-web.scm (python-geventhttpclient): Update to 2.3.3.
[source]: Fetch from git repository; remove snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags; remove all custom phases.
[native-inputs]: Add python-requests, python-setuptools, and python-wheel.
[propagated-inputs]: Remove python-six.

Change-Id: Ide97ffb7d656f58dd6693bd59ff82706bfea6caa
2025-01-16 10:17:13 +01:00
Ricardo Wurmus
9100a47d22
gnu: python-gevent: Propagate greenlet.
* gnu/packages/python-xyz.scm (python-gevent)[native-inputs]: Move
python-greenlet from here...
[propagated-inputs]: ...to here.
[arguments]: Adjust.

Change-Id: I5ebac1dd5e8c16b11e4855da78972c98f10cd285
2025-01-16 10:17:13 +01:00
Ricardo Wurmus
392176c18a
gnu: python-eventlet: Update to 0.38.2.
* gnu/packages/python-xyz.scm (python-eventlet): Update to 0.38.2.
[native-inputs]: Add python-pre-commit.
[arguments]: Disable one more test.

Change-Id: I73638abba7d5363538d7c65254e610e704fbe5d0
2025-01-16 10:17:13 +01:00
Ricardo Wurmus
02de03b324
gnu: python-gevent: Update to 24.11.1.
* gnu/packages/python-xyz.scm (python-gevent): Update to 24.11.1.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags; enable more tests; rename
'add-greenlet-on-C_INCLUDE_PATH to 'augment-C_INCLUDE_PATH.
[propagated-inputs]: Remove python-greenlet.
[native-inputs]: Add python-cffi, python-coverage, python-greenlet,
python-idna, python-requests, python-setuptools, and python-wheel.
[inputs]: Add libuv.

Change-Id: Idd09ca01caf2977783c5a05eac2817b5630df327
2025-01-16 10:17:13 +01:00
Ricardo Wurmus
2caa27a9bd
gnu: python-pandas-2: Restrict number of test processes.
* gnu/packages/python-science.scm (python-pandas-2)[arguments]: Restrict to at
most four processes.

Change-Id: I8ee4cb29ad922e9b853515b5f0e8f8aabca52c92
2025-01-16 10:17:13 +01:00
Ricardo Wurmus
8e95c12982
gnu: python-pandas-2: Remove X.
These tests are not run anyway, so there is no need to launch an X server.

* gnu/packages/python-science.scm (python-pandas-2)[arguments]: Rename
'prepare-x phase to 'pre-check.
[native-inputs]: Remove xorg-server-for-tests.

Change-Id: Ib85883360397d2715a1893b74435d96a1d119f9e
2025-01-16 10:17:13 +01:00
Ricardo Wurmus
424901855a
gnu: python-pythran: Update to 0.17.0.
* gnu/packages/python-science.scm (python-pythran): Update to 0.17.0.
[build-system]: Use pyproject-build-system.
[source]: Remove obsolete snippet.
[arguments]: Remove phase 'do-not-install-third-parties and custom 'check
phase; use #:test-flags and add 'pre-check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I49ebdd21cfb0668dd84f0d12c460a86ed694c7d6
2025-01-16 10:17:13 +01:00
Ricardo Wurmus
ac7d954fde
gnu: python-beniget: Update to 0.4.2.post1.
* gnu/packages/python-xyz.scm (python-beniget): Update to 0.4.2.post1.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I03c53e97f1bb4ae7c13a4af2c7e4434137f764d6
2025-01-16 10:17:13 +01:00
Ricardo Wurmus
dfdf022bf5
gnu: python-gast: Update to 0.6.0.
* gnu/packages/python-xyz.scm (python-gast): Update to 0.6.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.
[propagated-inputs]: Remove.

Change-Id: I3cc17b2c5434e637435f76482e0dcaf54c75c0dd
2025-01-16 10:17:13 +01:00
Sharlatan Hellseher
f2a5f0120a
gnu: linkchecker: Update to 10.5.0.
* gnu/packages/web.scm (linkchecker): Update to 10.5.0. Improve package
style. Fix bulid.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Skip 2 tests.
<phases>: Add 'set-version. Use default 'check.
[inputs]: Remove python-pyxdg.
[native-inputs]: Remove lables. Remove gettext-minimal, python-miniboa,
and python-parameterized; add python-hatch-vcs, python-hatchling, and
python-setuptools-scm.

Change-Id: I2292be0305e8ad3991680ced6b154c48571e3efc
2025-01-16 10:17:12 +01:00
Sharlatan Hellseher
aa577dd114
gnu: python-email-validator: Update to 2.2.0.
* gnu/packages/python-xyz.scm (python-email-validator): Update to
2.2.0. Improve style.
[build-system]: Swap to pyrpoject-build-system.
[arguments]<test-flags>: Skip one test.
<phases>: Remove 'use-dnspython as removed in
<https://github.com/JoshData/python-email-validator/pull/13>.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Idc51ad58fe734071aa66f44bce0fb7cbf84831b6
2025-01-16 10:17:12 +01:00
Sharlatan Hellseher
4eaab20105
gnu: python-dnspython: Update to 2.7.0.
* gnu/packages/python-xyz.scm (python-dnspython): Update to
2.7.0. Improve style.
[source]: PyPI archive has been swapped from .zip to .tar.gz.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Skip 2 tests.
[propagated-inputs]: Add python-cryptography, python-aioquic, python-h2,
python-httpcore, python-httpx, python-idna, and python-trio.
[native-inputs]: Remove unzip; add python-hatchling and python-pytest.

Change-Id: I726a9d68c61435089c1e7a846e8aa7c8b41f8378
2025-01-16 10:17:12 +01:00
Ricardo Wurmus
d6f573fb95
gnu: python-pydevd: Disable CI tests.
* gnu/packages/python-xyz.scm (python-pydevd)[arguments]: Set variable IS_PYPI
to disable tests that should not be run on CI.

Change-Id: I42d94017d9a873e51bc59bf3ef465bd23aac79d5
2025-01-16 10:17:12 +01:00
Ricardo Wurmus
ef87ec5ae3
gnu: python-joblib: Disable one additional test.
* gnu/packages/python-xyz.scm (python-joblib)[arguments]: Disable one more
test.

Change-Id: Id0b99ba3abb37bf49d26434b6719a7f6f77ee00a
2025-01-16 10:17:12 +01:00
Ricardo Wurmus
5f11d1643f
gnu: python-starlette: Update to 0.42.0.
* gnu/packages/python-web.scm (python-starlette): Update to 0.42.0.

Change-Id: I2cdfadf4856e460f7b7cae9f8654a1806839b9ea
2025-01-16 10:17:12 +01:00
Sharlatan Hellseher
1865265768
gnu: python-pydantic: Fix build.
As pyproject-build system now reads pytest config from pyproject.toml or
pytest.ini files it starts highlighting enabled "fail on warnings" which
were ignored before, this change silent it again.

* gnu/packages/python-xyz.scm (python-pydantic) [arguments]<test-flags>:
Skip 5 tests.
[phases]{pre-check}: Ignore all pytest warnings set in pyproject.toml.

Change-Id: I8551ba672d095b56f90955e4203c8a2aac270a4b
2025-01-16 10:17:12 +01:00
Ricardo Wurmus
c9d7927dda
gnu: python-tox: Simplify.
* gnu/packages/python-check.scm (python-tox)[arguments]: Enable more tests;
remove phase 'virtualenv-compatibility.

Change-Id: I39a637cfc2385da74c11fc82ea811a26cf5f849a
2025-01-16 10:17:12 +01:00
Ricardo Wurmus
10beeea0aa
gnu: python-a2wsgi: Disable one test.
* gnu/packages/python-web.scm (python-a2wsgi)[arguments]: Disable one more
test.

Change-Id: I034da8787155eaa6fd49f92ed9a84887c8311cbe
2025-01-16 10:17:12 +01:00
Ricardo Wurmus
698374fef7
gnu: python-devpi-process: Add missing input.
* gnu/packages/python-web.scm (python-devpi-process)[native-inputs]: Add
nss-certs-for-test.

Change-Id: Ia3ee82b6ba7c7e1832e41a3520056f740a09d6e6
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
497c2d5a08
gnu: python-httpx: Update to 0.28.1.
* gnu/packages/python-web.scm (python-httpx): Update to 0.28.1.

Change-Id: Ia7f1659eeeee05de763b000cda4bc9a60c418c21
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
04b9d867e9
gnu: python-uvicorn: Update to 0.34.0.
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.34.0.
[native-inputs]: Add nss-certs-for-test.

Change-Id: I48825939c91464c132a9ee85a986a39173f6854e
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
78a94d18c9
gnu: python-waitress: Update to 3.0.2.
* gnu/packages/python-xyz.scm (python-waitress): Update to 3.0.2.
[native-inputs]: Add python-coverage.

Change-Id: I6d0b78afe6e3ab371473f26db144586c0d97abba
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
65d4b3f610
gnu: python-devtools: Simplify.
* gnu/packages/python-xyz.scm (python-devtools)[arguments]: Enable one
additional test; delete obsolete phase 'relax-requirements.

Change-Id: I5dcf88954cdf8d37e522c425bf7bef4c29913205
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
5d352f7393
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-16 10:17:11 +01:00
Ricardo Wurmus
a53d26d8b6
gnu: python-virtualenv: Update to 20.28.0.
* gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.28.0.
[build-system]: Use pyproject-build-system.
[arguments]: Disable a test.
[native-inputs]: Add python-covdefaults, python-coverage, python-flaky,
python-hatch-vcs, python-hatchling, python-packaging, python-pytest-env,
python-pytest-mock, python-pytest-timeout, python-setuptools, and
python-time-machine; remove python-mock and python-setuptools-scm.
[propagated-inputs]: Add python-importlib-metadata and python-platformdirs;
remove python-appdirs and python-six.

Change-Id: Id14e7608aabcba6e03ca081a508c3ac9aff1451c
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
b41eb1883c
gnu: python-platformdirs: Update to 4.3.6.
* gnu/packages/python-xyz.scm (python-platformdirs): Update to 4.3.6.

Change-Id: I467128079d97a1687103446ac7260cc8cf3ab221
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
562b8f5395
gnu: python-chardet: Update to 5.2.0.
* gnu/packages/python-xyz.scm (python-chardet): Update to 5.2.0.

Change-Id: Icc734f848c79eea2b775c7402793ede9a25ebc85
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
bd513cc81c
gnu: python-colorama: Update to 0.4.6.
* gnu/packages/python-xyz.scm (python-colorama): Update to 0.4.6.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-hatchling and python-pytest.

Change-Id: Ifdc20a9dc2a3f21ac59aaaa88fd90abe926595a0
2025-01-16 10:17:11 +01:00
Ricardo Wurmus
53d878f7ec
gnu: python-extension-helpers: Update to 1.2.0.
* gnu/packages/python-xyz.scm (python-extension-helpers): Update to 1.2.0.
[arguments]: Disable broken test.

Change-Id: I3a99240c52fc8114b6eb4d7c3e6642530cf7d756
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
aaa063a574
gnu: python-py2bit: Use pyproject-build-system.
* gnu/packages/bioinformatics.scm (python-py2bit)[build-system]: Use
pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I6f66e5f3c0f7612f460e2a6fa931b4c456db6a1b
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
67fc0330ab
gnu: python-biom-format: Use pyproject-build-system.
* gnu/packages/bioinformatics.scm (python-biom-format)[build-system]: Use
pyproject-build-system.
[arguments]: Replace phase 'disable-broken-tests with #:test-flags; enable one
test; add phase 'build-extensions.
[native-inputs]: Remove python-nose.

Change-Id: I8399d9b05bdb6da89d8056d536ab7e25dc22f9c2
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
a7b50ba96e
gnu: python-webcolors: Update to 24.11.1.
* gnu/packages/python-web.scm (python-webcolors): Update to 24.11.1.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'patch-pyproject; remove custom 'check phase.
[native-inputs]: Add python-pdm-backend.

Change-Id: Ifcc947d08a369dfafa6f0e0eed473bc6e372ccd6
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
c5d62b00bb
gnu: python-tox: Update to 4.23.2.
* gnu/packages/python-check.scm (python-tox): Update to 4.23.2.
[build-system]: Use pyproject-build-system.
[arguments]: Update list of disabled tests; remove custom 'check phase; add
phase 'virtualenv-compatibility.
[propagated-inputs]: Add python-typing-extensions; remove python-py and
python-six.
[native-inputs]: Add python-devpi-process, python-time-machine, and
python-wheel; remove python-distlib.

Change-Id: I7390ad0f31bf6536227081e55790b6592b3e7c81
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
0070dd96f4
gnu: Add python-devpi-process.
* gnu/packages/python-web.scm (python-devpi-process): New variable.

Change-Id: Ic1829dfbb108a45c44423f570eeb604ddfe73795
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
14a0a9768e
gnu: Add python-devpi-client.
* gnu/packages/python-web.scm (python-devpi-client): New variable.

Change-Id: I29e0e3b573111d39b93d595cb7a49c588f5ac99a
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
0b04cacd23
gnu: Add python-devpi-server.
* gnu/packages/python-web.scm (python-devpi-server): New variable.

Change-Id: I5ca0e39595f2081f4a71bc0bc71106cac1508ce4
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
5605e9f6ff
gnu: Add python-devpi-common.
* gnu/packages/python-web.scm (python-devpi-common): New variable.

Change-Id: I9deef7d64b0c6d2c212dddd3ca3113b3f3dd1082
2025-01-16 10:17:10 +01:00
Ricardo Wurmus
2a68830c48
gnu: Add python-pypitoken.
* gnu/packages/python-web.scm (python-pypitoken): New variable.

Change-Id: I0e18205ac87be8cc95af80b62c99c087083cef88
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
8e94036f62
gnu: Add python-lazy.
* gnu/packages/python-xyz.scm (python-lazy): New variable.

Change-Id: I168f5adc0298a147bcfc55caac6aa68fbf3c7e3a
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
976b750da5
gnu: Add python-packaging-legacy.
* gnu/packages/python-xyz.scm (python-packaging-legacy): New variable.

Change-Id: Ibdb6505baf77e9e9ed93c8b21413f876ada05f5a
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
5c7a162904
gnu: Add python-legacy-cgi.
* gnu/packages/python-web.scm (python-legacy-cgi): New variable.

Change-Id: I36253992291b2294896ae8c01a15f76b33615034
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
529a541a29
gnu: Add python-repoze-lru.
* gnu/packages/python-xyz.scm (python-repoze-lru): New variable.

Change-Id: I79b094dd7a32c70f0177f27d207b189ab2a856e5
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
2a929f3452
gnu: python-numcodecs: Update to 0.13.1.
* gnu/packages/python-xyz.scm (python-numcodecs): Update to 0.13.1.
[source]: Update snippet.
[arguments]: Update selected tests.
[propagated-inputs]: Add python-coverage, python-google-crc32c,
python-importlib-metadata, and python-numpydoc; remove python-entrypoints and
python-typing-extensions.
[native-inputs]: Add python-py-cpuinfo, python-pydata-sphinx-theme,
python-pytest-cov, python-sphinx, and python-sphinx-issues.

Change-Id: Ib2dfc457923c0a435a09ce6d7879090e641b095c
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
8311215af4
gnu: Add python-strictyaml.
* gnu/packages/serialization.scm (python-strictyaml): New variable.

Change-Id: I41beff94cca813469c6362285973455ed8e8bd67
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
c3f9f164da
gnu: python-scikit-build-core: Update to 0.10.7.
* gnu/packages/python-science.scm (python-scikit-build-core): Update to
0.10.7.
[native-inputs]: Add python-pytest-subprocess.

Change-Id: I3da5a9e5d59900335deee2d4a5a1c80d1dd7c5ab
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
8d27cca1c3
gnu: python-pytest-subprocess: Update to 1.5.2.
* gnu/packages/python-check.scm (python-pytest-subprocess): Update to 1.5.2.
[native-inputs]: Add python-wheel.

Change-Id: I3b5608e21f92306b53999b80dd81377e5cbfffb3
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
9705defc07
gnu: Add python-time-machine.
* gnu/packages/python-check.scm (python-time-machine): New variable.

Change-Id: I5fce1caf7e659ae349de765a31cc78195d16d703
2025-01-16 10:17:09 +01:00
Ricardo Wurmus
47473f19a8
gnu: python-nox: Update to 2024.10.09.
* gnu/packages/python-check.scm (python-nox): Update to 2024.10.09.
[native-inputs]: Add python-hatchling; remove python-setuptools and
python-wheel.
[arguments]: Remove custom build phases.

Change-Id: I3a446b7b1ef1d73356d5ba87b0c6812a08e4d3c3
2025-01-16 10:17:08 +01:00
Ricardo Wurmus
0185760a78
gnu: python-pytest-qt: Update to 4.4.0.
* gnu/packages/python-check.scm (python-pytest-qt): Update to 4.4.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:test-target; remove trailing #T from build phase.
[propagated-inputs]: Add python-pluggy and python-pytest.
[native-inputs]: Remove python-pytest and python-pytest-runner; add
python-pre-commit, python-setuptools, python-tox, and python-wheel.

Change-Id: Ibeca84e841264eb81cc7ba48b5e815d0b837cb4d
2025-01-16 10:17:08 +01:00
Ricardo Wurmus
56fa6d77c6
gnu: python-pyproject-api: Update to 1.8.0.
* gnu/packages/python-xyz.scm (python-pyproject-api): Update to 1.8.0.
[arguments]: Disable two tests; remove phase 'relax-packaging.
[native-inputs]: Add python-pytest-cov; python-setuptools, and python-wheel.

Change-Id: I3bdb56d7498ae8d1b59a52158405f0cf6ba25e61
2025-01-16 10:17:08 +01:00