Commit graph

4300 commits

Author SHA1 Message Date
Ricardo Wurmus
bd86c2c28e
gnu: python-dnspython: Disable ECDSA tests.
* gnu/packages/python-xyz.scm (python-dnspython)[arguments]: Disable four
tests.

Change-Id: Ia8dad056dca0842cd709180c0819d595b171b18b
2025-01-20 21:37:28 +01:00
Ricardo Wurmus
4c0dbecfcf
gnu: python-trio-typing: Update to 0.10.0.
* gnu/packages/python-xyz.scm (python-trio-typing): Update to 0.10.0.
[native-inputs]: Remove python-attrs.
[propagated-inputs]: Remove python-mypy; add python-async-generator,
python-importlib-metadata, and python-packaging.

Change-Id: Ie8171ed0bdacb15f083c1c430162a8b4f28965f9
2025-01-20 21:37:28 +01:00
Ricardo Wurmus
d918e0e609
gnu: python-trio: Update to 0.28.0.
* gnu/packages/python-xyz.scm (python-trio): Update to 0.28.0.
[arguments]: Add phase 'ignore-deprecations.
[native-inputs]: Remove python-astor, python-jedi, python-isort, and
python-pytest-asyncio.
[propagated-inputs]: Remove python-async-generator.

Change-Id: I435fe322324bc5e58130d072db7f032c3a67c67e
2025-01-20 21:37:28 +01:00
Ricardo Wurmus
d0b948ac2f
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-20 21:37:27 +01:00
Sergey Trofimov
848d9f3d07
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-20 21:37:26 +01:00
Sergey Trofimov
ece7f83d4e
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-20 21:37:26 +01:00
Sergey Trofimov
7f6b6775ca
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-20 21:37:26 +01:00
Sergey Trofimov
6f66ff8adb
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-20 21:37:26 +01:00
Ricardo Wurmus
43b061aaf6
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-20 21:37:26 +01:00
Ricardo Wurmus
fd954108f2
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-20 21:37:25 +01:00
Ricardo Wurmus
072e5d404e
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-20 21:37:25 +01:00
Ricardo Wurmus
aa704e51ab
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-20 21:37:25 +01:00
Ricardo Wurmus
ddfa62f104
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-20 21:37:25 +01:00
Ricardo Wurmus
6cb2030688
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-20 21:37:25 +01:00
Ricardo Wurmus
e06450378c
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-20 21:37:25 +01:00
Ricardo Wurmus
f0739f3ae4
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-20 21:37:24 +01:00
Ricardo Wurmus
a6ab0705c4
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-20 21:37:24 +01:00
Sharlatan Hellseher
908b9b27e5
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-20 21:37:24 +01:00
Sharlatan Hellseher
1ebc72c323
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-20 21:37:24 +01:00
Ricardo Wurmus
7589dbc951
gnu: python-joblib: Disable one additional test.
* gnu/packages/python-xyz.scm (python-joblib)[arguments]: Disable one more
test.

Change-Id: Id0b99ba3abb37bf49d26434b6719a7f6f77ee00a
2025-01-20 21:37:24 +01:00
Sharlatan Hellseher
b565e45666
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-20 21:37:23 +01:00
Ricardo Wurmus
7548058ae4
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-20 21:37:23 +01:00
Ricardo Wurmus
64c7d93184
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-20 21:37:23 +01:00
Ricardo Wurmus
0813d9ad5c
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-20 21:37:23 +01:00
Ricardo Wurmus
d86e890ae6
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-20 21:37:22 +01:00
Ricardo Wurmus
465bc59251
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-20 21:37:22 +01:00
Ricardo Wurmus
1df38c9e7b
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-20 21:37:22 +01:00
Ricardo Wurmus
3121dd2245
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-20 21:37:22 +01:00
Ricardo Wurmus
5088b2f998
gnu: Add python-lazy.
* gnu/packages/python-xyz.scm (python-lazy): New variable.

Change-Id: I168f5adc0298a147bcfc55caac6aa68fbf3c7e3a
2025-01-20 21:37:21 +01:00
Ricardo Wurmus
4627e596ef
gnu: Add python-packaging-legacy.
* gnu/packages/python-xyz.scm (python-packaging-legacy): New variable.

Change-Id: Ibdb6505baf77e9e9ed93c8b21413f876ada05f5a
2025-01-20 21:37:21 +01:00
Ricardo Wurmus
55a5a6768e
gnu: Add python-repoze-lru.
* gnu/packages/python-xyz.scm (python-repoze-lru): New variable.

Change-Id: I79b094dd7a32c70f0177f27d207b189ab2a856e5
2025-01-20 21:37:21 +01:00
Ricardo Wurmus
9b13e95135
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-20 21:37:21 +01:00
Ricardo Wurmus
e4c6491fd5
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-20 21:37:20 +01:00
Ricardo Wurmus
bc8aed3ab5
gnu: python-cachetools: Update to 5.5.0.
* gnu/packages/python-xyz.scm (python-cachetools): Update to 5.5.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ica8b4d3b807aaf88e8026e12e3c04d75a8dd77c6
2025-01-20 21:37:20 +01:00
Ricardo Wurmus
1d09655c75
gnu: python-bokeh: Fix build.
* gnu/packages/python-xyz.scm (python-bokeh)[build-system]: Use
pyproject-build-system.
[arguments]: Use #:test-flags instead of a custom 'check phase; disable one
more test.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I2aaa56ed578490de38685b10430535a819c2f5c5
2025-01-20 21:37:20 +01:00
Ricardo Wurmus
7318d27e74
gnu: python-cattrs: Update to 24.1.2.
* gnu/packages/python-xyz.scm (python-cattrs): Update to 24.1.2.
[arguments]: Disable failing tests; add 'compatibility phase.
[native-inputs]: Add python-msgspec and python-poetry-core.

Change-Id: If198b25a24799b22025c60082ae31fc4e8509a9b
2025-01-20 21:37:20 +01:00
Ricardo Wurmus
f0804b0c22
Revert "gnu: Add python-pathspec."
This reverts commit da69a9e151.

We already have python-pathspec in (gnu packages python-build).  Also, this
addition causes a massive number of rebuilds.
2025-01-17 10:15:05 +01:00
Ricardo Wurmus
0b06a5bc97
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 20:43:51 -05:00
Ricardo Wurmus
ad9a2f9643
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 20:43:44 -05:00
jgart
da69a9e151
gnu: Add python-pathspec.
* gnu/packages/python-xyz.scm (python-pathspec): New variable.

Change-Id: I8576103866117aa46ef3d5fc7274926b8a4878d9
2025-01-16 11:53:37 -06:00
Hilton Chain
bb160dc458
gnu: i3-autotiling: Update to 1.9.3.
* gnu/packages/python-xyz.scm (i3-autotiling): Update to 1.9.3.

Change-Id: I179155e9d7f981aab24d613f0adb772e6267880e
2025-01-11 16:11:27 +08:00
Hilton Chain
113b81befb
gnu: python-hy: Fix build.
* gnu/packages/python-xyz.scm (python-hy)[native-inputs]: Add
python-setuptools.

Change-Id: Ib6b6ad06ae285d1295767e4f9de097ddd326b360
2025-01-11 16:11:25 +08:00
Jordan Moore
d708746ca7
gnu: python-resolvelib: Update to 1.0.1.
* gnu/packages/python-xyz.scm (python-resolvelib): Update to 1.0.1.

Change-Id: Ief381089f384f18effb08feda1971e36df108aae
Signed-off-by: jgart <jgart@dismail.de>
2025-01-08 23:17:49 -06:00
Danny Milosavljevic
329daafcc3
gnu: python-pint: Fix build.
* gnu/packages/python-xyz.scm (python-pint)[arguments]<#:test-flags>: Modify.

Change-Id: I6f7fc7c21a40325fc7f3b6536ae58e418337d4de
2025-01-07 02:25:41 +01:00
Ricardo Wurmus
af07f6bfe9
gnu: python-trio-websocket: Update to 0.11.1.
* gnu/packages/python-xyz.scm (python-trio-websocket): Update to 0.11.1.
[arguments]: Disable some failing tests.

Change-Id: Ica358e0f8ffe9eddd8dda8d7c86b0f05550f947c
2025-01-06 09:51:59 +01:00
Ricardo Wurmus
2c9c2ab3bd
gnu: python-trio-websocket: Add missing inputs.
Fixes <https://issues.guix.gnu.org/75393>.

* gnu/packages/python-xyz.scm (python-trio-websocket)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I2a964a65add3b18bbe4d83a38be71a39ff657808
2025-01-06 09:51:59 +01:00
Gabriel Wicki
178d82d508
gnu: Fix whitespace issues in Python package descriptions.
This mainly addresses `double-space after sentence end period' and `trailing
white space' issues.

* gnu/packages/astronomy.scm (python-tweakwcs): Fix description.
* gnu/packages/check.scm (python-pytest-subtesthack): Fix description.
* gnu/packages/python-xyz.scm (python-qnorm, python-uncertainties,
python-sre-yield): Fix description.
* gnu/packages/qt.scm (python-pyqt6-sip): Fix description.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-01-05 15:38:44 -08:00
Janneke Nieuwenhuizen
86a49fc9a3
gnu: python-slicerator: Fix build.
* gnu/packages/python-xyz.scm (python-slicerator)[build-system]: Use
python-build-system.

Change-Id: Ic029d6df3f07e6f3e5f99cfa03fe1c39a914c796
2025-01-03 10:54:12 +01:00
jgart
20089e2449
gnu: Remove python-pyls-black.
* gnu/packages/python-xyz.scm (python-pyls-black): Delete variable and remove
associated patch.

Project is no longer maintained as of 4 years to this date and has been
succeeded and forked by python-lsp-black.

Change-Id: Ic209f23e6368744db74b93e2a9c01a9859b04f82
2025-01-02 10:20:43 -06:00
Nicolas Graves
183f330905
gnu: Add python-lsp-black.
* gnu/packages/python-xyz.scm (python-lsp-black): New variable.
Co-authored-by: jgart <jgart@dismail.de>

Change-Id: I9f5e1b8b77e530fed38e6621ac214605bc377724
2025-01-02 10:20:39 -06:00