Commit graph

148524 commits

Author SHA1 Message Date
Lars-Dominik Braun
63cb43d56c
guix: toml: Fix parsing empty strings in arrays.
Change-Id: Id14d4008391a01820ade754fa9c2ca8e88b8c7f9
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
a2114bd514
gnu: python-mysqlclient: Add missing inputs.
* gnu/packages/databases.scm (python-mysqlclient)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Id0343382f1ef80b0299641e2b588e1687beeab30
2024-12-13 20:18:34 +00:00
Ricardo Wurmus
9280f9f9b5
gnu: python-mistletoe: Add missing inputs.
* gnu/packages/markup.scm (python-mistletoe)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I01d0045855f85c2300ad987caf6d0345cf25599a
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
840da194eb
gnu: python-pytest-arraydiff: Add missing inputs.
* gnu/packages/python-check.scm (python-pytest-arraydiff)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ie1bae483128353bcc006598962d0134dc12a219d
2024-12-13 20:18:34 +00:00
Ricardo Wurmus
63222dc684
gnu: python-pynacl: Add missing inputs.
* gnu/packages/python-crypto.scm (python-pynacl)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ia815f1d820ad2e78ff60d8772e189b5d4b4050a2
2024-12-13 20:18:33 +00:00
Ricardo Wurmus
5b5fb77ff9
gnu: python-pycurl: Add missing inputs.
* gnu/packages/python-web.scm (python-pycurl)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: If290b96a993efc1ec984ef3f967f122a8ae383d0
2024-12-13 20:18:33 +00:00
Ricardo Wurmus
f95b197838
gnu: java-testng: Disable one test.
* gnu/packages/java.scm (java-testng)[arguments]: Disable parallel
DataProviderTest; remove trailing #T; do not quote list.

Change-Id: I17847b48ddae10e8d75de4b16a5e03eb538eb418
2024-12-13 20:18:33 +00:00
Ricardo Wurmus
14f4af1805
gnu: java-testng: Drop input labels.
* gnu/packages/java.scm (java-testng)[propagated-inputs]: Drop labels.
[native-inputs]: Same.

Change-Id: Id44fb4b4d74f44774402ac66c1e26adce9f35fb6
2024-12-13 20:18:33 +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
Ricardo Wurmus
92581c8a2e
gnu: Add python-pytest-mypy-testing.
* gnu/packages/check.scm (python-pytest-mypy-testing): New variable.

Change-Id: Ic55e63745eae070e439155f1dc6792285eb87312
2024-12-13 20:18:31 +00:00
Sharlatan Hellseher
62e7a5220a
gnu: python-lightning-cloud: Disable tests.
* gnu/packages/machine-learning.scm (python-lightning-cloud) [arguments]
<#:tests?>: Set to #f as PyPI archive does not provide any.

Change-Id: I406b6515441d01dc1612caa3d3e7b70fa7b2c980
2024-12-13 20:18:31 +00:00
Sharlatan Hellseher
d1133823da
gnu: python-myst-parser: Relax some requirements.
* gnu/packages/sphinx.scm (python-myst-parser) [arguments]
<#:test-flags>: Disable one more failing test.
<#:phases>: Add 'relax-requirements phase.

Change-Id: I4f77ce81e9f69b81b18f3faa546c7d8cd77adf50
2024-12-13 20:18:31 +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
976cb712f5
gnu: meson-python: Do not delete LICENSES directory.
* gnu/packages/build-tools.scm (meson-python)[arguments]: Remove custom
phases.

Change-Id: I653d18200dbb718791b3e193105b7ce9b22aa6e2
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
Ricardo Wurmus
6f76ab84ba
gnu: python-typing-extensions: Update to 4.10.0.
* gnu/packages/python-build.scm (python-typing-extensions): Update to 4.10.0.

Change-Id: I51c82f40f8093e17e8c6a8f20f1e3eae0917f8ee
2024-12-13 20:18:30 +00:00
Ricardo Wurmus
52813c9e98
gnu: python-sphinx: Update to 6.2.1.
* gnu/packages/sphinx.scm (python-sphinx): Update to 6.2.1.
[arguments]: Only disable one test.
[propagated-inputs]: Add texlive-booktabs.
(python-sphinx-5): New variable, inherit from python-sphinx.

Change-Id: I95144924c4c0f293993bfbd7b644c378dd160077
2024-12-13 20:18:30 +00:00
Lars-Dominik Braun
3c43863419
gnu: Add missing import (again).
Change-Id: I8a7de728a0c6bb3a54ad7213cb6cdc39e1172c81
2024-12-13 20:18:30 +00:00
Lars-Dominik Braun
b9b2cf3ccb
gnu: Add missing import.
Change-Id: I096914ef3980a99e553f512d1e83a0a1e01b4f7e
2024-12-13 20:18:29 +00:00
Lars-Dominik Braun
6d97c15911
gnu: Add python-setuptools/python-wheel where necessary.
Changes to pyproject-build-system require explicit dependency on
setuptools/wheel.

Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
2024-12-13 20:18:25 +00:00
Lars-Dominik Braun
1ef178c644
doc: Document new options for pyproject-build-system.
* doc/guix.texi (Build Systems): Add documentation for
changed #:configure-flags and new #:backend-path.

Change-Id: Ic8be598ea52ae04230b1e61c329ee55ccbb5dd63
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
e6dd1f411d
guix: pyproject-build-system: Default configure-flags to empty dictionary.
PEP 517 specifies it should be a dictionary and thus meson-python cannot
handle an empty list.

Fixes: <https://issues.guix.gnu.org/62781>

* guix/build-system/pyproject.scm (lower): Change default of configure-flags.
* gnu/packages/build-tools.scm (meson-python)[arguments]: Remove #:build-backend,
which was a workaround for this bug.
[native-inputs]: Remove python-p~a-build and python-wheel, which are
not required when using the default build system.

Change-Id: I240ced5c88cf55cbee0d6005d7657bfb6b653b12
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
0ce36a9cf3
gnu: python-pytest-xdist: Disable failing test.
* gnu/packages/check.scm (python-pytest-xdist)[arguments]: Skip failing
test.
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
efbce9a69a
build-system/pyproject: Use TOML parser.
More reliable than regular expressions.

* guix/build-system/pyproject.scm (%pyproject-build-system-modules): Add (guix build toml).
(pyproject-build): Add argument #:backend-path.
* guix/build/pyproject-build-system.scm (build): Add support for
auto-detected and override backend-path.
* gnu/packages/python-build.scm (python-tomli)[arguments]: Remove
'add-self-to-path, because it is not necessary any more.
(python-poetry-core): Same.
(python-hatchling): Same.
(python-pdm-backend): Same.
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
a163b85444
guix: toml: Add TOML parser.
* guix/build/toml.scm: New file.
* tests/toml.scm: New file.
* Makefile.am: Register new files.
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
eabed5e53d
gnu: sssd: Import ensure-no-mtimes-pre-1980.
* gnu/packages/sssd.scm (sssd)[arguments]: Add
python-build-system to #:modules and #:imported modules instead of using
@@ reference.

Change-Id: Id5217e4872a62323691b8976030a1768a6885942
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
d4e7ce92e3
gnu: criu: Remove temporary workaround.
* gnu/packages/virtualization.scm (criu)[arguments]: Import
ensure-no-mtimes-pre-1980 from python-build-system and remove copied code.

Change-Id: I2ab9eb51dfa66fcf5b0144eab73d63055400e30c
2024-12-13 20:15:42 +00:00