Commit graph

4528 commits

Author SHA1 Message Date
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
jgart
41dab04e17
gnu: Add python-pylsp-mypy.
* gnu/packages/python-xyz.scm (python-pylsp-mypy): New variable.

Change-Id: I4cf398df820fdcc91229bdafdc2d0cab6f5c01c1
2025-01-01 20:23:59 -06:00
Nicolas Graves
9beb275fe5
gnu: python-jsonschema: Update python-webcolors dependency.
* gnu/packages/python-xyz.scm (python-jsonschema): Update
python-webcolors dependency.

This fixes the build of python-nbclassic.

Signed-off-by: jgart <jgart@dismail.de>
2025-01-01 18:27:14 -06:00
Ricardo Wurmus
7eea9b7d55
gnu: Add python-anyio/without-dataclasses.
* gnu/packages/python-xyz.scm (python-anyio/without-dataclasses): New variable.

Change-Id: I40ae9aa7a85f0fe7642dc3b75f3ef9cde17f064f
2025-01-01 18:11:44 +01:00
Ricardo Wurmus
151865ada4
gnu: python-zarr: Disable one test.
* gnu/packages/python-xyz.scm (python-zarr)[arguments]: Disable one more test.

Change-Id: I3733078b878fa60c4e382dfca39fcef64cefa1ae
2025-01-01 17:26:36 +01:00
Ricardo Wurmus
4592ba3d6a
gnu: python-awkward-cpp: Relax dependency on python-scikit-build-core.
* gnu/packages/python-xyz.scm (python-awkward-cpp)[arguments]: Add phase
'relax-requirements.

Change-Id: I3d4f647f6e5eecd343de4219baf20c6e38a2a5a0
2025-01-01 17:24:54 +01:00
Ricardo Wurmus
4b38f39022
gnu: jupyter: Skip sanity check.
This is temporary and will be removed on the python-team branch.

* gnu/packages/python-xyz.scm (jupyter)[arguments]: Delete 'sanity-check
phase.

Change-Id: I715d9161d7f23c1f72125aea8b4c0e1bb5490b1e
2025-01-01 15:14:55 +01:00
Ricardo Wurmus
a39c4b7e38
gnu: python-notebook: Skip sanity check.
This is temporary and will be removed on the python-team branch.

* gnu/packages/python-xyz.scm (python-notebook)[arguments]: Delete
'sanity-check phase.

Change-Id: I23d69c852fd9de98c010cce82b09ac541c0e2121
2025-01-01 15:14:34 +01:00
Ricardo Wurmus
44e7540663
gnu: python-zarr: Update to 2.18.4.
* gnu/packages/python-xyz.scm (python-zarr): Update to 2.18.4.
[arguments]: Add phase 'set-version.
[propagated-inputs]: Add python-ipywidgets, python-notebook, python-numpydoc,
and python-pydata-sphinx-theme.
[native-inputs]: Remove python-fsspec, python-h5py, python-pytest-timeout, and
python-setuptools-scm; add python-sphinx, python-sphinx-copybutton,
python-sphinx-design, python-sphinx-issues, and python-setuptools.

Change-Id: I707da0087b8aa6cf57be4e5dd9019b24620f101f
2025-01-01 14:43:04 +01:00
Ricardo Wurmus
f492431b40
gnu: python-awkward: Update to 2.7.2.
* gnu/packages/python-xyz.scm (python-awkward): Update to 2.7.2.
[arguments]: Skip three broken tests.

Change-Id: Ifdfcda9c57b9b27e9c3b5e0b05c7896d552b30cd
2025-01-01 14:36:36 +01:00
Ricardo Wurmus
f2ef1fdcc1
gnu: python-awkward-cpp: Update to 43.
* gnu/packages/python-xyz.scm (python-awkward-cpp): Update to 43.
[propagated-inputs]: Remove python-importlib-resources.

Change-Id: I7201a31d49287f9a656f53fff953ebb593620712
2025-01-01 14:36:26 +01:00
Artyom V. Poptsov
48b4bfa7d1
gnu: python-ijson: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-ijson): Use pyproject-build-system.
[arguments]: Remove.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I29ab71f63b1088bd7e0cf6e10a72a73ac7dcbc86
2025-01-01 01:26:09 +03:00
Artyom V. Poptsov
1eefe51075
gnu: python-face: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-face): Use pyproject-build-system.
[arguments] <#:phases>: Simplify.

Change-Id: I51d2224d025ea97eeef5a285c5ab2738dfbb87ee
2025-01-01 01:05:15 +03:00
Artyom V. Poptsov
60f89a2fe4
gnu: python-face: Fix build.
* gnu/packages/python-xyz.scm (python-face): Fix build.
[arguments] <#:phases>: Run the tests using the full path to the Python binary
from the inputs to fix a failing test.

Change-Id: Ie8951d622f91381207498e9adc398aa92b309cdf
2024-12-31 22:52:02 +03:00
Danny Milosavljevic
42e6cafdbe
gnu: python-cachy: Adapt tests to python-flexmock 0.12.2.
* gnu/packages/python-xyz.scm (python-cachy)[arguments]<#:phases>[check]:
Adapt tests to python-flexmock 0.12.2.

Change-Id: I5e462df305a16c6ea4c6e5b92cd35ebfc72270dd
2024-12-31 08:50:19 +01:00
Nicolas Goaziou
98733e6d47
gnu: pyzo: Update to 4.18.0.
* gnu/packages/python-xyz.scm (pyzo): Update to 4.18.0.

Change-Id: I858e10e1fa747d3df0d98eb4ba415e8a44b2593a
2024-12-26 16:21:08 +01:00
Liliana Marie Prikler
64774d7686
gnu: python-emoji: Propagate python-typing-extensions.
The core module imports typing_extensions, so these are likely meant to be propagated.

* gnu/packages/python-xyz.scm (python-emoji)[native-inputs]: Move
python-typing-extensions from here…
[propagated-inputs]: … to here.

Signed-off-by: jgart <jgart@dismail.de>
2024-12-23 11:11:35 -06:00
jgart
ded0009758
gnu: python-pypandoc: Use gexp style.
* gnu/packages/python-xyz.scm (python-pypandoc): Use gexp style.

Signed-off-by: jgart <jgart@dismail.de>
Change-Id: Id1197e0683b43481ebb39bc8dd1aa55acf3ec03b
2024-12-23 10:57:30 -06:00
Aaron Covrig
5f97c07540
gnu: python-pypandoc: Fix build.
* gnu/packages/python-xyz.scm (python-pypandoc): Fix build.
[native-inputs]: Add python-setuptools.
[home-page]: Follow redirect.

Signed-off-by: jgart <jgart@dismail.de>
Change-Id: Id1197e0683b43481ebb39bc8dd1aa55acf3ec03b
2024-12-23 10:57:30 -06:00
Christopher Baines
988ceea743
gnu: python-pbr: Use git-minimal/pinned.
This helps reduce the dependencies on git, as I think it's find to build with
a slightly older git, at least during periods when git-minimal/pinned needs
updating.

* gnu/packages/version-control.scm (python-pbr)[propagated-inputs]: Use
git-minimal/pinned.

Change-Id: Ib90056a1a603e06a99b5c601f9fcba7375dc24ac
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-22 22:56:01 +01:00
Vinicius Monego
b06b413929
gnu: python-async-lru: Fix build.
* gnu/packages/python-xyz.scm (python-async-lru)[native-inputs]: Add
python-pytest-cov, python-wheel.

Change-Id: I117bd223f9ff1e75a5bd7309c5a3c3578fa68a1e
2024-12-21 14:52:59 -03:00
Vinicius Monego
f73ae4629f
gnu: python-symengine: Update to 0.13.0.
* gnu/packages/python-xyz.scm (python-symengine): Update to 0.13.0.

Change-Id: I36e949030a831550d36ef037f93ebde53537fbc6
2024-12-21 14:52:59 -03:00
Vinicius Monego
dbfe4d2efe
gnu: python-hy: Update to 1.0.0.
* gnu/packages/python-xyz.scm (python-hy): Update to 1.0.0.

Change-Id: Id9e65e8042f1f8e0a7b854b3abd34faebcc9eb3b
2024-12-21 14:52:58 -03:00