Commit graph

4266 commits

Author SHA1 Message Date
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
Sharlatan Hellseher
7d199bdc2b
gnu: python-parsley: Fix build.
* gnu/packages/python-xyz.scm (python-parsley):
[arguments] <test-flags>: Provide test directories, enable all tests.

Change-Id: I164e24ffb24114e4cc548b76df261e3e447ffa08
2024-12-21 08:28:14 +00:00
John Kehayias
cf3f3dc056
gnu: python-tldr: Fix build.
* gnu/packages/python-xyz.scm (python-tldr)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ie4891c4409e4b985ef5d7e57f38f308296abcdc0
2024-12-20 22:53:29 -05:00
Danny Milosavljevic
580e8acfa0
gnu: python-farama-notifications: Fix build.
* gnu/packages/python-xyz.scm (python-farama-notifications)[native-inputs]:
Add python-setuptools, python-wheel.

Change-Id: Ie608228e459156a370154c80d25e3ca820c8003c
2024-12-21 02:26:49 +01:00
Danny Milosavljevic
8e348245c8
gnu: python-property-cached: Fix build.
* gnu/packages/python-xyz.scm (python-property-cached)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I919314b2b990cccbd1f144a612a36db34d6e52c6
2024-12-21 02:26:49 +01:00
Danny Milosavljevic
913840a87a
gnu: python-geojson: Fix build.
* gnu/packages/python-xyz.scm (python-geojson)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I275dd67016c39ad0be8794852c7765679f63f45c
2024-12-21 02:26:48 +01:00
Danny Milosavljevic
8bc40e4b61
gnu: python-pyct: Fix build.
* gnu/packages/python-xyz.scm (python-pyct)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I286699bade6de727088b7d46e18abe547fb2a312
2024-12-21 02:26:48 +01:00
Danny Milosavljevic
a22c66c94c
gnu: python-amqp: Fix build.
* gnu/packages/python-xyz.scm (python-amqp)[arguments]<#:test-flags>: Fix
specification of ignore.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I7e8f0409317ce62e528a1bd224381a295bbf4821
2024-12-21 02:26:48 +01:00
Danny Milosavljevic
4f837f3045
gnu: python-colorcet: Fix build.
* gnu/packages/python-xyz.scm (python-colorcet)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I4a2c721bd5fffd3475bb97273a284eef1433aaa9
2024-12-21 02:26:46 +01:00
Guillaume Le Vaillant
07b4b1d055
gnu: python-gamera: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-gamera): Update to 4.0.1.
  [arguments]: Update 'check' phase.

Change-Id: Ie0817e0c22db8417f9bd3e28aed4d0711ce71ab0
2024-12-19 16:11:38 +01:00
Guillaume Le Vaillant
6fbd215c0e
gnu: python-construct: Update to 2.10.70-1.c1171b1.
* gnu/packages/python-xyz.scm (python-construct): Update to 2.10.70-1.c1171b1.
  [propagated-inputs]: Add python-cryptography.

Change-Id: Ie7d877827865224f90d8588f1706a354443de02c
2024-12-19 11:49:34 +01:00
Sharlatan Hellseher
dbc9d022ef
gnu: python-vine: Fix build.
* gnu/packages/python-xyz.scm (python-vine)
[arguments]<test-flags>: Skip 4 tests.
[native-inputs]: Remove python-case.

Change-Id: I4e8f359556bd97bf6d21a8ac7b7e4823e21043fb
2024-12-18 01:52:19 +00:00
Sharlatan Hellseher
97cb3321c7
gnu: python-textdistance: Update to 4.6.3.
* gnu/packages/python-xyz.scm (python-textdistance): Update to
4.6.3. Fix build.
[build-system]: Swap to pyproejct-build-system.
[arguments]<phases>: Remove 'delete-external-test.
[propagated-inputs]: Add python-jellyfish, python-distance,
python-levenshtein, python-pylev, python-pyxdameraulevenshtein, and
python-rapidfuzz.
[native-inputs]: Remove python-hypothesis, python-isort,
python-pytest-runner, and python-tabulate; add python-pytest-xdist,
python-setuptools, and python-wheel.

Change-Id: I4dae8d535897a1444123ea22603079184435bb5f
2024-12-18 01:45:41 +00:00