Commit graph

152459 commits

Author SHA1 Message Date
Ricardo Wurmus
32c3eb8b5b
gnu: python-traittypes: Fix tests.
* gnu/packages/python-science.scm (python-traittypes)[arguments]: Add phase
'numpy-compatibility.

Change-Id: I41d55d65d0dafd44029de38b3044d9fad378db50
2025-01-16 10:17:17 +01:00
Ricardo Wurmus
74e9204087
gnu: cwltool: Patch tox.ini.
* gnu/packages/bioinformatics.scm (cwltool)[arguments]: Rename 'modify-tests
to 'patch-tests; add patch of tox.ini.

Change-Id: I2c90a8803e7eb1153cb4c7cc5b683875627c57f1
2025-01-16 10:17:17 +01:00
Ricardo Wurmus
ae0efdd3ec
gnu: cwltool: Use test-flags.
* gnu/packages/bioinformatics.scm (cwltool)[arguments]: Use #:test-flags
instead of deleting and patching tests in 'modify-tests phase.

Change-Id: I0e4f16d48fba23e4197b69bf1c3923828f178cd0
2025-01-16 10:17:17 +01:00
Ricardo Wurmus
3754a57e01
gnu: python-prov: Update to 2.0.1.
* gnu/packages/python-xyz.scm (python-prov): Update to 2.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove 'fix-rdflib-6-compatibility phase; add custom 'check
phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia5e0ed1ee6e9476f317b345234018f2391cc3e98
2025-01-16 10:17:16 +01:00
Ricardo Wurmus
e3a9919e4f
gnu: python-rdflib-6: Accept newer isodate.
* gnu/packages/rdf.scm (python-rdflib-6)[arguments]: Add phase 'compatibility.

Change-Id: I4b4c880b169c6606707c1e973af9488c07d18992
2025-01-16 10:17:16 +01:00
Ricardo Wurmus
c076d72fcf
gnu: python-rdflib-6: Disable one test.
* gnu/packages/rdf.scm (python-rdflib-6)[arguments]: Disable one additional
test.

Change-Id: Ifcfe1b11d09299e219499ea77f792ca41aa02d9c
2025-01-16 10:17:16 +01:00
Ricardo Wurmus
ff0b9ec427
gnu: python-cwl-utils: Add missing inputs.
* gnu/packages/bioinformatics.scm (python-cwl-utils)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I803a68c04923c96f793d508c23bb08069524bc63
2025-01-16 10:17:16 +01:00
Ricardo Wurmus
1a01ad95f3
gnu: python-cwl-upgrader: Add missing inputs.
* gnu/packages/bioinformatics.scm (python-cwl-upgrader)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I81531d588e6deb8a01c59f2a824b815e8f95e0f0
2025-01-16 10:17:16 +01:00
Ricardo Wurmus
b53830ad04
gnu: python-schema-salad: Update to 8.8.20241206093842.
* gnu/packages/bioinformatics.scm (python-schema-salad): Update to
8.8.20241206093842.
[arguments]: Patch tox.ini.
[propagated-inputs]: Remove python-importlib-resources, python-setuptools, and
python-typing-extensions.
[native-inputs]: Add python-cachecontrol, python-mypy, python-setuptools,
python-setuptools-scm, python-types-dataclasses, python-types-requests, and
python-types-setuptools.

Change-Id: I22ca7ad772078192117a1139adca410b53844008
2025-01-16 10:17:16 +01:00
Ricardo Wurmus
a3124804d6
gnu: python-isodate: Update to 0.7.2.
* gnu/packages/time.scm (python-isodate): Update to 0.7.2.
[build-system]: Use pyproject-build-system.
[native-inputs]: Remove python-six; add python-pytest, python-setuptools,
python-setuptools-scm, and python-wheel.

Change-Id: I5ba64eb433e39c0bbb0360273f822d95ea7c63d3
2025-01-16 10:17:16 +01:00
Ricardo Wurmus
f50085a0c7
gnu: python-cachecontrol: Update to 0.14.1.
* gnu/packages/python-web.scm (python-cachecontrol): Update to 0.14.1.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Add python-filelock.
[native-inputs]: Add python-flit-core.

Change-Id: I61bc38aafe04cf7f11394a654cf28181d39ce355
2025-01-16 10:17:16 +01:00
Ricardo Wurmus
5d84345697
gnu: python-rdflib-6: Update to 6.3.2.
* gnu/packages/rdf.scm (python-rdflib-6): Update to 6.3.2.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags instead of a custom build phase; update list of
disabled tests.
[native-inputs]: Add python-poetry-core and python-pytest-cov.

Change-Id: I0dd4ecebdf3ef04562c3a3efb37614bf5eec16f5
2025-01-16 10:17:16 +01:00
Sergey Trofimov
bd8f26c24a
gnu: fava: Update to 1.27.
* gnu/packages/finance.scm (fava): Update to 1.27.
[arguments] <phases>: Remove 'relax-requirements, and 'set-home.
[native-inputs]: Remove python-chardet, python-dateutil, and
python-setuptootls-scm. Add python-babel, python-mypy,
python-pytest-cov, python-setuptootls, python-twine,
python-types-setuptootls, python-types-simplejson, and python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Iee27197ece9685c500afe0dedb8ba33e02eb1ea1
2025-01-16 10:17:15 +01:00
Sergey Trofimov
9a6b6ab0a6
gnu: beancount: Fix build.
* gnu/packages/finance.scm (beancount)
[native-inputs]: Add python-wheel and python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-16 10:17:15 +01:00
Sergey Trofimov
b9e517a6cd
gnu: Add python-types-simplejson.
* gnu/packages/python-xyz.scm (python-types-simplejson): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-16 10:17:15 +01:00
Sergey Trofimov
b7f360074d
gnu: python-pdfminer-six: Update to 20240706.
* gnu/packages/python-xyz.scm (python-pdfminer-six): Update to 20240706.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-16 10:17:15 +01:00
Sergey Trofimov
1f42f0f45e
gnu: python-markdown2: Update to 2.5.2.
* gnu/packages/python-xyz.scm (python-markdown2)
[arguments] <phases>: Use default 'check.
[native-inputs]: Add python-pytest, python-setuptools and python-wheel.

Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ic3df25863bbb37ec6282ec5dcbf815461663f8cd
2025-01-16 10:17:15 +01:00
Sergey Trofimov
c9edda8f58
gnu: python-flask-babel: Update to 4.0.0.
* gnu/packages/python-web.scm (python-flask-babel): Update to 4.0.0.
[source]: Fetch from git as PyPI release doesn't include tests.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-poetry-core, python-pytest,
python-pytest-cov, and python-pytest-mock.
[propagated-inputs]: Sort.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I253b88eac7bec8152dc97634059c2402624cb961
2025-01-16 10:17:15 +01:00
Sergey Trofimov
1f6258f4d7
gnu: python-babel: Update to 2.16.0.
* gnu/packages/python-xyz.scm (python-babel): Update to 2.16.0.
[source]: Adjust uri as it's changed in PyPI archive.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Use default 'check.
[native-inputs]: Add python-setuptools and python-wheel.

Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I32b7c5613e7db2c676745d6621f04b52a1cdf0ba
2025-01-16 10:17:15 +01:00
Ricardo Wurmus
4d28655efe
gnu: pyscenic: Update to 0.12.1-1.eaf23eb.
* gnu/packages/bioinformatics.scm (pyscenic): Update to 0.12.1-1.eaf23eb.
[arguments]: Update phase 'do-not-reference-deleted-modules.
[propagated-inputs]: Add python-numexpr.
[native-inputs]: Add python-wheel.

Change-Id: Ib1b5a7d36a24b280160befe579057a241d69455d
2025-01-16 10:17:15 +01:00
Ricardo Wurmus
30da905347
gnu: python-pydantic-2: Update to 2.7.0.
* gnu/packages/python-xyz.scm (python-pydantic-2): Update to 2.7.0.
[arguments]: Update tests.
[native-inputs]: Add tzdata-for-tests and python-jsonschema; remove
python-faker.

Change-Id: I8c85598f7603c58108602c6d67aa27314dea285e
2025-01-16 10:17:14 +01:00
Ricardo Wurmus
383d3edb3e
gnu: python-pydantic-core: Update to 2.18.1.
* gnu/packages/python-xyz.scm (python-pydantic-core): Update to 2.18.1.
[arguments]: Replace rust-jiter-0.0.4 with rust-jiter-0.2, rust-strum-0.25
with rust-strum-0.26, rust-strum-macros-0.25 with rust-strum-macros-0.26, and
rust-speedate-0.13 with rust-speedate-0.14.
[native-inputs]: Add python-typing-extensions.

Change-Id: I8686509f43667484847a72972aa2dd88dbce9343
2025-01-16 10:17:14 +01:00
Ricardo Wurmus
b3a42630d9
gnu: Add rust-jiter-0.2.
* gnu/packages/crates-io.scm (rust-jiter-0.2): New variable.

Change-Id: I7488999f653e126e7179728d732fb0054f949bd9
2025-01-16 10:17:14 +01:00
Ricardo Wurmus
c3c3e65fe7
gnu: python-annotated-types: Update to 0.7.0.
* gnu/packages/python-xyz.scm (python-annotated-types): Update to 0.7.0.

Change-Id: I610b144339841768b4ce861d5457cf4184f756a2
2025-01-16 10:17:14 +01:00
Ricardo Wurmus
11d4a424fa
gnu: macs-3: Add missing input.
* gnu/packages/bioinformatics.scm (macs-3)[native-inputs]: Add python-wheel.

Change-Id: I22b8d8e144434ae537af7c113f4719392933e90c
2025-01-16 10:17:14 +01:00
Ricardo Wurmus
70dd31fa2f
gnu: python-pydevd: Avoid test failures due to greendns.
* gnu/packages/python-xyz.scm (python-pydevd)[arguments]: Disable one stubborn
test; set EVENTLET_NO_GREENDNS.

Change-Id: I3cf5af6c99dbb18095277f353f46c60f68a62188
2025-01-16 10:17:14 +01:00
Ricardo Wurmus
da7a17f97a
gnu: python-pydevd: Disable flaky tests.
Setting IS_PYPY doesn't do anything and I only set it before due to a
misunderstanding.  Instead we should disable flaky tests.

* gnu/packages/python-xyz.scm (python-pydevd)[arguments]: Ignore tests marked
as "flaky"; do not set IS_PYPY variable in 'pre-check phase.

Change-Id: If28f3dfd533df9048aeee5ecd42984b40ea0a22a
2025-01-16 10:17:14 +01:00
Ricardo Wurmus
848ede5ef7
gnu: python-httpretty: Enable tests.
* gnu/packages/web.scm (python-httpretty)[arguments]: Enable most tests.
[native-inputs]: Add nss-certs-for-test, python-freezegun, python-httplib2,
and python-pyparsing.

Change-Id: I08d2c14a2e81559d41dc38f0eeb34c2d6c59125a
2025-01-16 10:17:14 +01:00
Ricardo Wurmus
f4be4ca989
gnu: python-dulwich: Update to 0.21.7.
* gnu/packages/python-xyz.scm (python-dulwich): Update to 0.21.7.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags; fix tests after 'unpack phase, split off
'pre-check phase.
[native-inputs]: Replace git with git-minimal/pinned; add python-mypy,
python-paramiko, python-pytest, python-requests, python-setuptools, and
python-wheel; remove python-mock and python-gpg.

Change-Id: I642de3e7707d545672066c6e59c9bcc2b5926097
2025-01-16 10:17:13 +01:00
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