Commit graph

4135 commits

Author SHA1 Message Date
Ricardo Wurmus
4a3891e4a9
gnu: python-trio: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-trio)[build-system]: Use
pyproject-build-system.
[arguments]: Replace custom 'check phase with #:test-flags.

Change-Id: I246933a17c1d0a669ead0292145d9b986ffca185
2024-12-13 20:18:41 +00:00
Ricardo Wurmus
8928764688
gnu: python-nbconvert: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-nbconvert)[build-system]: Use
pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
[arguments]: Add phase 'ignore-deprecation-warnings; replace custom 'check
phase with use of #:test-flags and 'pre-check phase; disable one test and set
JUPYTER_PLATFORM_DIRS variable.

Change-Id: I02bebe1ecc524efb335249199971c37d2b2982a5
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
e2fa754750
gnu: python-nbformat: Update to 5.10.4.
* gnu/packages/python-xyz.scm (python-nbformat): Update to 5.10.4.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'patch-pyproject phase.
[native-inputs]: Add python-hatchling and python-pep440.

Change-Id: I259413d51ff7cbca3052f2657eb89f806b3ea559
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
1ced46f4f7
gnu: python-ipykernel: Set environment variable.
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]: Set
JUPYTER_PLATFORM_DIRS variable.

Change-Id: I99808fcb0e29600b8728d9fbb8ef0f7e0624f99c
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
b2355d26e2
gnu: python-jupyter-client: Set environment variable.
* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Set
JUPYTER_PLATFORM_DIRS variable.

Change-Id: I2516d6d27ce53f778ae265241e95501a0cc024e3
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
a318906821
gnu: python-jupyter-core: Update to 5.7.2.
* gnu/packages/python-xyz.scm (python-jupyter-core): Update to 5.7.2.
[native-inputs]: Add python-hatchling, python-pre-commit, python-pytest-cov,
and python-pytest-timeout.
[propagated-inputs]: Add python-platformdirs.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags instead of custom 'check phase; remove phase
'patch-testsuite; disable a few tests; add phase 'pre-check.

Change-Id: I5f415688d17de1c6b4581a0b339359f7efee68c5
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
69d1d74c9d
gnu: python-pyzmq: Use Tornado 6.
* gnu/packages/python-xyz.scm (python-pyzmq)[native-inputs]: Replace
python-tornado with python-tornado-6.

Change-Id: I63c8ce8b8265f199d619a94459b385a26f65c9a0
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
8348b7c8e9
gnu: python-jsonschema: Update to 4.22.0.
* gnu/packages/python-xyz.scm (python-jsonschema): Update to 4.22.0.
[arguments]: Remove custom 'check phase; remove 'pretend-version phase; add
'pre-check and 'patch-pyproject phases.
[native-inputs]: Add python-hatchling, python-hatch-fancy-pypi-readme,
python-hatch-vcs, and python-pytest; remove python-setuptools-scm,
python-twisted, python-setuptools, and python-wheel.
[propagated-inputs]: Remove python-importlib-metadata, python-pyrsistent, and
python-typing-extensions; add python-fqdn, python-idna,
python-importlib-resources, python-isoduration, python-jsonpointer,
python-jsonschema-specifications, python-rfc3339-validator,
python-rfc3986-validator, python-referencing-bootstrap,
python-rpds-py, python-uri-template, and python-webcolors.
(python-jsonschema-3)[propagated-inputs]: Override.
[native-inputs]: Override.

Change-Id: I4eccd4b92bcf84458616a64864981befa3541146
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
699bc5db6b
gnu: python-send2trash: Update to 1.8.2.
* gnu/packages/python-xyz.scm (python-send2trash): Update to 1.8.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I62f85bb58ee4efb2accb26086273a7cd2486654e
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
8ac97dcea2
gnu: python-jedi: Update to 0.19.1.
* gnu/packages/python-xyz.scm (python-jedi): Update to 0.19.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'set-HOME phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Iee74d0850e294cec2e139039d1f93b429e76c29d
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
2d4cc4251e
gnu: python-attrs: Update to 23.2.0.
* gnu/packages/python-xyz.scm (python-attrs): Update to 23.2.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Remove python-coverage, python-hypothesis, and python-six;
add python-hatchling, python-hatch-fancy-pypi-readme, python-hatch-vcs,
python-pytest-xdist, and python-zope-interface.
(python-attrs-bootstrap)[native-inputs]: Add python-hatchling,
python-hatch-fancy-pypi-readme, python-hatch-vcs.

Change-Id: I19f99b38589db7de0f6a78d6e0f126118dbe2b1d
2024-12-13 20:18:38 +00:00
Ricardo Wurmus
a1504cde34
gnu: Add python-overrides.
* gnu/packages/python-xyz.scm (python-overrides): New variable.

Change-Id: I43f613195879ea6cdd5174daadb5e5c35569e534
2024-12-13 20:18:38 +00:00
Ricardo Wurmus
34cd6beab0
gnu: Add python-fqdn.
* gnu/packages/python-xyz.scm (python-fqdn): New variable.

Change-Id: If0355f15374ee7db23bfb54eb682575e59708d05
2024-12-13 20:18:38 +00:00
Ricardo Wurmus
d1df1a80f6
gnu: Add python-uri-template.
* gnu/packages/python-xyz.scm (python-uri-template): New variable.

Change-Id: I2ff3995bc5741da0147a335c5f14f169a8001153
2024-12-13 20:18:38 +00:00
Ricardo Wurmus
976f3adb72
gnu: Add python-isoduration.
* gnu/packages/python-xyz.scm (python-isoduration): New variable.

Change-Id: I3503ea0baf6a73a9b3c19ab616127ce5df1ed827
2024-12-13 20:18:37 +00:00
Ricardo Wurmus
3e33183021
gnu: Add python-rfc3986-validator.
* gnu/packages/python-xyz.scm (python-rfc3986-validator): New variable.

Change-Id: If63c2d8798bc8efd021e6ab008cd5017b3dc7fd1
2024-12-13 20:18:37 +00:00
Ricardo Wurmus
16ae869fef
gnu: Add python-jsonschema-specifications.
* gnu/packages/python-xyz.scm (python-jsonschema-specifications): New variable.

Change-Id: If1f7fa0d4e0bc505d9378ce892af298365754daf
2024-12-13 20:18:37 +00:00
Ricardo Wurmus
e3222a5302
gnu: Add python-referencing.
* gnu/packages/python-xyz.scm (python-referencing,
python-referencing-bootstrap): New variables.

Change-Id: I16b9d32644204a72c46a2d51ebf3771d90cd099a
2024-12-13 20:18:37 +00:00
Ricardo Wurmus
dfc6e1b0d0
gnu: Add python-pep440.
* gnu/packages/python-xyz.scm (python-pep440): New variable.

Change-Id: I307eb0d50e5e6378fb840b775964761833cb9488
2024-12-13 20:18:37 +00:00
Ricardo Wurmus
d3c25e263c
gnu: python-rich: Remove python-ipywidgets.
This is done to avoid unnecessary dependency cycles involving jupyter.

* gnu/packages/python-xyz.scm (python-rich)[arguments]: Disable some tests.
[propagated-inputs]: Remove python-ipywidgets.

Change-Id: I7a514ea7647086dc6f831c1167c28d145130cfa1
2024-12-13 20:18:37 +00:00
Ricardo Wurmus
0b8204ce80
gnu: python-nbconvert: Add missing texlive inputs.
* gnu/packages/python-xyz.scm (python-nbconvert)[propagated-inputs]: Add
texlive-amsmath, texlive-etoolbox, texlive-infwarerr, and texlive-kvoptions.

Change-Id: Id3c93afc9c459e65e1a2e88cc91b4ceac07007ec
2024-12-13 20:18:36 +00:00
Ricardo Wurmus
c36c7373ac
gnu: python-openpyxl: Add Setuptools and Wheel.
* gnu/packages/python-xyz.scm (python-openpyxl)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I38368e62af3ab117141cd42bf8181fdb5b1f59fb
2024-12-13 20:18:36 +00:00
Ricardo Wurmus
a0f4fabd78
gnu: python-jinja2: Add setuptools and wheel.
* gnu/packages/python-xyz.scm (python-jinja2)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Iccf3ee9014f581792c9fdef9d6be7e8af3d9c9b4
2024-12-13 20:18:36 +00:00
Ricardo Wurmus
7f48addbaf
gnu: snakemake-6: Add Setuptools and Wheel.
* gnu/packages/python-xyz.scm (snakemake-6)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I129616694f09763561913cd8939dd2de46e6df51
2024-12-13 20:18:36 +00:00
Ricardo Wurmus
b59cdd59eb
gnu: python-pyls-black: Add missing inputs.
* gnu/packages/python-xyz.scm (python-pyls-black)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ia5f321544d3789ba53bb6e8dc6dbea2350099348
2024-12-13 20:18:36 +00:00
Ricardo Wurmus
8863c9064c
gnu: python-versioneer: Add missing input and use minimal git.
* gnu/packages/python-xyz.scm (python-versioneer)[native-inputs]: Add
python-pypa-build and replace git with git-minimal.

Change-Id: I7cca27d87f5c6f7da1318c87cac134176335b56a
2024-12-13 20:18:35 +00:00
Ricardo Wurmus
164ad8549e
gnu: python-dbus-python: Add missing input.
* gnu/packages/python-xyz.scm (python-dbus-python)[native-inputs]: Add
python-setuptools.

Change-Id: I3b813a5a3edcc878b552aa7885a47c1079d7acda
2024-12-13 20:18:35 +00:00
Ricardo Wurmus
e5d29467bb
gnu: python-pyproject-metadata: Disable two tests.
* gnu/packages/python-xyz.scm (python-pyproject-metadata)[arguments]:
Disable two tests.
(python-pyproject-metadata-0.7)[arguments]: Override.

Change-Id: I13bdf9d9e8705d84306f235b1abd58a147726426
2024-12-13 20:18:35 +00:00
Ricardo Wurmus
5c059522ed
gnu: python-partd: Add missing input.
* gnu/packages/python-xyz.scm (python-partd)[native-inputs]: Add
python-setuptools.

Change-Id: I95ae319cbdcdf118841300b2b89d2d34c08b28f8
2024-12-13 20:18:35 +00:00
Ricardo Wurmus
d067df81c9
gnu: python-billiard: Add missing inputs.
* gnu/packages/python-xyz.scm (python-billiard)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I1d9cd2adcd950cef622c9d81ed7cec5dea25f7e0
2024-12-13 20:18:35 +00:00
Ricardo Wurmus
52da3b7ca5
gnu: python-box: Add missing input.
* gnu/packages/python-xyz.scm (python-box)[native-inputs]: Add
python-setuptools.

Change-Id: I3889fd74bc18bef58293d5a3a1ab7e19fa810ef8
2024-12-13 20:18:34 +00:00
Ricardo Wurmus
92e97ec397
gnu: python-joblib: Add missing inputs.
* gnu/packages/python-xyz.scm (python-joblib)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I4e19c611eb9faf5921e406e77b6f1e88f98daf8b
2024-12-13 20:18:34 +00:00
Ricardo Wurmus
7eebe7bbfa
gnu: python-vine: Add missing inputs.
* gnu/packages/python-xyz.scm (python-vine)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Idf7fbcb9d44681b4394ce3e2d3e403371169ff7a
2024-12-13 20:18:34 +00:00
Ricardo Wurmus
0e19655dd6
gnu: python-itemloaders: Fix indentation.
* gnu/packages/python-xyz.scm (python-itemloaders)[source]: Fix indentation.

Change-Id: I00f5f5157b1deb57974cb563c2760f346dad4bae
2024-12-13 20:18:34 +00:00
Ricardo Wurmus
ede39ff36c
gnu: python-argcomplete: Add missing input.
Without this input the reported version is "0.0.0".

This is a follow-up to commit 7c293e3f92b5617e57367d4c18677c79b396b806.

* gnu/packages/python-xyz.scm (python-argcomplete)[native-inputs]: Add
python-setuptools-scm.

Change-Id: I76b8997032947f90432103a5b64c2ad992915b9a
2024-12-13 20:18:33 +00:00
Ricardo Wurmus
5e27dfe014
gnu: python-eventlet: Update to 0.35.2.
* gnu/packages/python-xyz.scm (python-eventlet): Update to 0.35.2.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Remove python-six; add python-monotonic.
[native-inputs]: Remove python-nose; add python-black, python-hatchling,
python-hatch-vcs, python-pytest, python-isort, and python-twine.
[arguments]: Replace custom 'check phase with #:test-flags.

Change-Id: I1125f8e52768061f9b5a2626c010aaef9a444f1a
2024-12-13 20:18:33 +00:00
Ricardo Wurmus
2ee8d8a63d
gnu: python-readme-renderer: Adjust package style.
* gnu/packages/python-xyz.scm (python-readme-renderer): Fix indentation.
[native-inputs]: Add python-setuptools.

Change-Id: I47cef84089384d2cf760c166fed9147863d1a415
2024-12-13 20:18:33 +00:00
Ricardo Wurmus
33210bced4
gnu: python-packaging-bootstrap: Update to 23.2.
* gnu/packages/python-build.scm (python-packaging-bootstrap): Update to 23.2.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-flit-core.
* gnu/packages/python-xyz.scm (python-packaging)
[native-inputs]: Add python-flit-core.

Change-Id: I5d3bdec62aabfe1b5e6de988d210862ad6da9002
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
56cbfffc4e
gnu: python-cleo: Update to 2.1.0.
* gnu/packages/python-xyz.scm (python-cleo): Update to 2.1.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-poetry-core.
[propagated-inputs]: Remove python-backpack, python-clikit, python-pastel, and
python-pylev; add python-crashtest and python-rapidfuzz.

Change-Id: I3762a84a038d4cf571348986353e615ae6d944f7
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
7fe8e4cfc5
gnu: Add python-rapidfuzz.
* gnu/packages/python-xyz.scm (python-rapidfuzz): New variable.

Change-Id: I6ff451a1632f586db45fb7079c2dcef7854d5a5c
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
c7a0088d3f
gnu: python-ipython: Update to 8.22.1.
* gnu/packages/python-xyz.scm (python-ipython): Update to 8.22.1.
[source]: Use git-fetch.
[build-system]: Use pyproject-build-system.
[arguments]: Disable tests that need git; respect test flags in custom check
phase.
[propagated-inputs]: Remove python-backcall, python-jinja2, python-jsonschema,
python-matplotlib, python-mistune, python-nbformat, python-numpy,
python-numpydoc, python-pickleshare, python-pyzmq, python-simplegeneric, and
python-terminado; add python-colorama, python-exceptiongroup, and
python-typing-extensions.
[native-inputs]: Remove graphviz, pkg-config, and python-requests; add
python-curio, python-matplotlib, python-nbformat, python-numpy, python-pandas,
python-pickleshare, python-pytest-asyncio, python-setuptools, python-testpath,
python-wheel.

Change-Id: Iecdbb03b0f81ef0d4bf84187ef9fcd7ff744f3ab
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
446973b4a1
gnu: python-prompt-toolkit: Update to 3.0.43.
* gnu/packages/python-xyz.scm (python-prompt-toolkit): Update to 3.0.43.

Change-Id: I55d26227bd5c20f9da61932ac8f51ef6fe4122d9
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
b3949c72d9
gnu: python-traitlets: Update to 5.14.1.
* gnu/packages/python-xyz.scm (python-traitlets): Update to 5.14.1.
[arguments]: Disable two typing tests.
[native-inputs]: Add python-argcomplete, python-mypy, and
python-pytest-mypy-testing.

Change-Id: Ie77ca0837977147f657cd4daa2f8f90ed07ebdfd
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
ea1de82bce
gnu: python-argcomplete: Update to 3.2.2.
* gnu/packages/patches/python-argcomplete-1.11.1-fish31.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/python-xyz.scm (python-argcomplete): Update to 3.2.2.
[source]: Delete obsolete patch.
[build-system]: Use pyproject-build-system.
[arguments]: Override check phase.
[native-inputs]: Remove python-flake8; add python-mypy, python-setuptools, and
zsh.

Change-Id: Ia7e37db2b535177eb2caeeab9d7e075af3f273a3
2024-12-13 20:18:32 +00:00
Felix Gruber
7987f01baa
gnu: python-textual: Update to 0.50.1.
* gnu/packages/python-xyz.scm (python-textual): Update to 0.50.1.
[source]: Download from github as pypi package does not include tests.
[build-system]: Change to pyproject-build-system.
[arguments]: Remove custom 'check phase; add #:test-flags to disable
broken tests.
[propagated-inputs]: Add python-markdown-it-py, python-mdit-py-plugins
and python-tree-sitter.
[native-inputs]: Add python-poetry-core and python-pytest-asyncio.

Change-Id: Ib144dc87f73e91d4c9d2e8f91ce6ce7a86a481a9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:18:31 +00:00
Sharlatan Hellseher
aa2771faff
gnu: python-jupytext: Update to 1.15.0.
* gnu/packages/python-xyz.scm (python-jupytext): Update to 1.15.0.

Change-Id: I8cbd4e45eae838cb1733bf8feeb3bc2abe960513
2024-12-13 20:18:31 +00:00
Felix Gruber
98cab4b183
gnu: python-rich: Update to 13.7.0.
* gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0.
[source]: Use git-fetch since pypi package doesn't include tests.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-attrs, python-colorama,
python-commonmark and python-typingextensions; add
python-ipywidgets and python-markdown-it-py.
[native-inputs]: Add python-poetry-core; remove tests (which are now
included in new [source]).

Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:18:31 +00:00
Felix Gruber
8ba5d79d5a
gnu: python-mdit-py-plugins: Update to 0.4.0.
* gnu/packages/python-xyz.scm (python-mdit-py-plugins): Update to 0.4.0.

Change-Id: I18ca46abebe125d1a6729c10a3f4fa4a62a145ba
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:18:30 +00:00
Felix Gruber
ccb2541641
gnu: python-markdown-it-py: Update to 3.0.0.
* gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 3.0.0.
[propagated-inputs]: Remove python-typing-extensions; add python-commonmark,
python-linkify-it-py, python-markdown, python-mistletoe,
python-mistune, python-panflute, python-psutil, and python-pyyaml.
[native-inputs]: Remove python-flit; add python-flit-core.

Change-Id: I5dc06b163ddbec0a32a9d7c3da2c834b2e74cd74
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:18:30 +00:00
Ricardo Wurmus
332ae4deda
gnu: Add setuptools/wheel to more Python packages.
* gnu/packages/python-check.scm (python-beartype,
python-pytest-csv)[native-inputs]: Add python-setuptools and python-wheel.
* gnu/packages/python-xyz.scm (python-watchdog, python-xyzservices,
python-zeroconf)[native-inputs]: Same.

Change-Id: Ifac6402da7447a95f4f8fca8d475e87c001bd583
2024-12-13 20:18:30 +00:00