Commit graph

148935 commits

Author SHA1 Message Date
Sharlatan Hellseher
a41604d754
gnu: python-curtsies: Update to 0.4.2.
* gnu/packages/terminals.scm (python-curtsies): Update to 0.4.2.
Improve style.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-nose; add python-pytest,
python-setuptools, and python-wheel.

Change-Id: Ic4ec85ddef8344c72a06e3680ae4a771a2d6dcce
2024-12-13 21:01:37 +00:00
Sharlatan Hellseher
3feeaf0760
gnu: python-pylama: Update to 8.4.1.
* gnu/packages/python-check.scm (python-pylama): Update to 8.4.1.
[source]: Swap to git checkout containing tests.
[build-system]: Swap to pyrpoect-build-system.
[arguments]<phases>: Remove 'disable-failing-tests.
<tests>: Switch them off as cycling with python-pylint.
[native-inputs]: Remove python-py, python-pytest; add python-setuptools
and python-wheel.
[propagated-inputs]: Remove labels.
[description]: Adjust fill column.

Change-Id: If06ada7a80f5b68792adc0587ed7207dec92523f
2024-12-13 21:01:36 +00:00
Sharlatan Hellseher
35a6ca0660
gnu: python-snowballstemmer: Update to 2.2.0.
* gnu/packages/python-xyz.scm (python-snowballstemmer): Update to 2.2.0.
Improve style.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Switch them off as not provided.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ifbef2578990eb4a3e3a498922de8852fadbdc5b7
2024-12-13 21:01:36 +00:00
Sharlatan Hellseher
a33c8eadd0
gnu: python-pydocstyle: Update to 6.3.0.
* gnu/packages/python-xyz.scm (python-pydocstyle): Update to 6.3.0.
[source]: Swap to git checkout containing tests.
<patches>: Add patch published upstream to fix compatibility with PEP701.
[build-system]: Swap to pyrpoject-build-system.
[arguments]<test-flags>: Disable tests requiring pip install.
<phases>: Add 'set-version.
[native-inputs]: Add poetry-core, python-pytest, and python-tomli.

* gnu/packages/patches/python-pydocstyle-add-support-for-pep701.patch:
Add file.
* gnu/local.mk: Register patch.

Change-Id: Ia43906383ac454c3918d0c9335cb8f744443ad29
2024-12-13 21:01:36 +00:00
Sharlatan Hellseher
372b1491a5
gnu: python-flake8: Update to 7.1.1.
* gnu/packages/python-xyz.scm (python-flake8): Update to 7.1.1.
Improve style.
[srouce]: Swap to git checkout containing tests.
[build-system]: Swap to pyrpoject-build-system.
[home-page]: Fix it as GitLab link is dead.
[propagated-inputs]: Remove python-entrypoints.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I6e0edd637469c516db90dd927b2d7eb6b96a5f5d
2024-12-13 21:01:36 +00:00
Sharlatan Hellseher
8da504bf23
gnu: python-mccabe: Update to 0.7.0.
* gnu/packages/python-xyz.scm (python-mccabe): Update to 0.7.0.
Improve style.
[build-system]: Swap to pyrpoject-build-system
[arguments]<tests>: Switch them off.
[native-inputs]: Remove python-pytest-bootstrap and
python-pytest-runner; add python-setuptools and python-wheel.

Change-Id: I4c4023be68b17863b5b30fa5ab60fe8cd75c68a5
2024-12-13 21:01:36 +00:00
Sharlatan Hellseher
50e9ce5f22
gnu: python-pycodestyle: Update to 2.12.1.
* gnu/packages/python-xyz.scm (python-pycodestyle): Update to 2.12.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Test options are ported from tox.ini.
[phases]{check}: Adjust tests invocation procedure.
[native-inputs]: Remove python-pytest; add python-setuptools and
python-wheel.

Change-Id: Ifb3f9065b928439cc2e3734c798d6b5d0858c7c3
2024-12-13 21:01:36 +00:00
Sharlatan Hellseher
943f217ecc
gnu: python-networkx: Update to 3.4.2.
* gnu/packages/python-xyz.scm (python-networkx): Update to 3.4.2.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Run test in parallel.
<phases>: Use default 'check phase..
[native-inputs]: Add python-pytest-xdist, python-setuptools, and
python-wheel.

Change-Id: I18a7b1cbeafa0804302d1b53a50e178ad10d7b4b
2024-12-13 21:01:36 +00:00
Nicolas Graves
6d3f2b8e08
gnu: python-pydevd: Improve package style.
* gnu/packages/python-xyz.scm (python-pydevd): Indent properly.

Change-Id: Ieb031894f4f3494bf3dacd2086adde44507a27e1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 21:01:33 +00:00
Nicolas Graves
efa604c171
gnu: python-pydevd: Use git tag.
* gnu/packages/python-xyz.scm (python-pydevd):
[source]: Compile tag from package version.
[arguments]<#:test-flags>: Adapt value.

Change-Id: I55cc8129fb78f0ee54519f45b31746a54881d84e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 21:00:09 +00:00
Nicolas Graves
2160edac93
gnu: python-pydevd: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-pydevd):
  [build-system]: Move to pyproject-build-system.
  [arguments]: Replace 'check phase by 'pre-check phase and
  <#:test-flags>.

Change-Id: I8227ac8b1b6031c30c6d09480cacaa3347df21a7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:59:41 +00:00
Nicolas Graves
23a0d03ed1
gnu: python-jupytext: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-jupytext):
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Add flags. Add a flag to ignore pre_commit
tests.
<#:phases>: Remove 'check phase replacement.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I465bf1e117fc9b4cb457c24c2ed2b41cdee30968
2024-12-13 20:28:43 +00:00
Sharlatan Hellseher
922137ed75
gnu: python-jupytext: Adjust inputs
* gnu/packages/python-xyz.scm (python-jupytext)
[native-inputs]: Remove pre-commit, python-autopep8, python-black,
python-flake8, python-isort.

Change-Id: I4aa622a58dfc3ab5ad9f1c88b78d6ac301f270d1
2024-12-13 20:28:43 +00:00
Vinicius Monego
e715096f0e
gnu: pre-commit: Update to 3.7.1.
* gnu/packages/version-control.scm (pre-commit): Update to 3.7.1.
[build-system]: Use pyproject-build-system.
[arguments]: Use G-Expressions. Do not override the check phase, skip the
tests in #:test-flags instead. Don't make source tree writable in the
prepare-check-env phase.
[native-inputs]: Use the new style.

Change-Id: I4a1c56ce0903d6aa185d65d39c03c9566a6cf0d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:43 +00:00
Vinicius Monego
cb6fec876a
gnu: python-nodeenv: Update to 1.8.0.
* gnu/packages/python-xyz.scm (python-nodeenv): Update to 1.8.0.
[build-system]: Use pyproject-build-system.
[arguments]: Do not override the check phase, skip tests in #:test-flags
instead.

Change-Id: I01ca1948c30327827d6f76697b471a4d90cd6530
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:43 +00:00
Vinicius Monego
c7505f4658
gnu: python-identify: Update to 2.5.36.
* gnu/packages/python-xyz.scm (python-identify): Update to 2.5.36.
[build-system]: Use pyproject-build-system.
[arguments]: Use G-Expressions. Do not override the check phase.
[native-inputs]: Add python-ukkonen.

Change-Id: I970507dc358029b4e2cc0a295d19db4b28202544
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:43 +00:00
Vinicius Monego
e07ea90b6d
gnu: Add python-ukkonen.
* gnu/packages/python-xyz.scm (python-ukkonen): New variable.

Change-Id: I826b003f1c22e5bf28829d9f2adc5f467d17ed45
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:43 +00:00
Vinicius Monego
3d4423c0ce
gnu: python-cfgv: Update to 3.4.0.
* gnu/packages/python-xyz.scm (python-cfgv): Update to 3.4.0.
[build-system]: Use pyproject-build-system.
[arguments]: Do not override the check phase.

Change-Id: Id666a57e4d619697ffa272893930f1c94d5c283e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:42 +00:00
Vinicius Monego
7059f2ec10
gnu: python-seaborn: Remove pre-commit from native-inputs.
* gnu/packages/python-xyz.scm (python-seaborn)[native-inputs]: Remove
python-pre-commit.

Change-Id: I8b7016f1d8103dd9297626b7ec74a120fa1c848b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:42 +00:00
Vinicius Monego
5f4dba0591
gnu: python-omnipath: Remove pre-commit from native-inputs.
* gnu/packages/python-xyz.scm (python-omnipath)[native-inputs]: Remove
python-pre-commit.

Change-Id: Idfdf978df55e2c3cb3c8447aa18456cc9de4c4c2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:42 +00:00
Vinicius Monego
856c9a3d24
gnu: python-rich-click: Remove pre-commit from native-inputs.
* gnu/packages/python-xyz.scm (python-rich-click)[native-inputs]: Remove
python-pre-commit.

Change-Id: I7a1de6166e4fe9f255cff8819b4779e76d7a4537
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:42 +00:00
Vinicius Monego
217b7119b3
gnu: python-traitlets: Remove pre-commit from native-inputs.
* gnu/packages/python-xyz.scm (python-traitlets)[native-inputs]: Remove
python-pre-commit.

Change-Id: I3d36f47e8955c648282bc707fafa57ba00cda933
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:42 +00:00
Vinicius Monego
5c7a77f70c
gnu: python-jsonargparse: Remove pre-commit from native-inputs.
* gnu/packages/python-xyz.scm (python-jsonargparse)[native-inputs]: Remove
python-pre-commit.

Change-Id: Iac844f4521f985cb07ef407b999dfc7f61605bca
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:42 +00:00
Nicolas Graves
f7fabe82cb
gnu: python-joblib: Update to 1.4.2.
* gnu/packages/python-xyz.scm (python-joblib): Update to 1.4.2.
[arguments]<#:test-flags>: Add --numprocesses flag.
[native-inputs]: Add python-pytest-xdist.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:42 +00:00
Nicolas Graves
7d46ec3e7a
gnu: python-httpx: Update to 0.27.2.
* gnu/packages/python-web.scm (python-httpx): Update to 0.27.2.
[native-inputs]: Add python-zstandard.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Nicolas Graves
a0e5d191c0
gnu: python-httpcore: Update to 1.0.7.
* gnu/packages/python-web.scm (python-httpcore): Update to 1.0.7.
[arguments]<#:test-flags>: Remove uneeded field.
[native-inputs]: Remove python-setuptools and python-wheel. Add
python-hatch-fancy-pypi-readme, and python-hatchling.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Nicolas Graves
a40c1772d4
gnu: python-coveralls: Update to 4.0.1.
* gnu/packages/python-check.scm (python-coveralls): Update to 4.0.1.
[source]<origin>: Remove uneeded modules and snippet fields.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Move functionality to...
<#:test-flags>: ...here. Add failing tests.
[native-inputs]: Add poetry.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Nicolas Graves
8b33448649
gnu: python-pytest-httpx: Update to 0.34.0.
* gnu/packages/python-check.scm (python-pytest-httpx): Update to 0.34.0.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Nicolas Graves
3f46d58f0e
gnu: python-websockets: Update to 13.1.
* gnu/packages/python-web.scm (python-websockets): Update to 13.1.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Nicolas Graves
b79f59f198
gnu: python-coverage: Update to 7.6.8.
* gnu/packages/check.scm (python-coverage): Update to 7.6.8.
[arguments]<#:test-flags>: Describe why tests fail.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Nicolas Graves
f98983ae76
gnu: python-fsspec: Update to 2024.10.0.
* gnu/packages/python-xyz.scm (python-fsspec): Update to 2024.10.0.
[arguments]<#:phases>: Rewrite phase 'fix-version. Add phase
'install-version.
<#:test-flags>: Ignore the sole failing test.
[native-inputs]: Add python-hatchling. Remove python-setuptools and
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Nicolas Graves
cb74eaab72
gnu: python-tqdm: Update to 4.67.1.
* gnu/packages/python-xyz.scm (python-tqdm): Update to 4.67.1.
[build-system]: Switch to pyproject-build-system.
[arguments]: Use <#:test-flags> instead of <#:phases> to set
tests. Ignore failing test_rlock_creation.
[native-inputs]: Add python-setuptools, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Nicolas Graves
eddd891733
gnu: python-ads: Add missing native-inputs.
* gnu/packages/astronomy.scm (python-ads)[native-inputs]: Add python-pytest.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:40 +00:00
Nicolas Graves
2da2a17af3
gnu: cpplint: Add missing native inputs.
* gnu/packages/cpp.scm (cpplint)[native-inputs]: Add python-setuptools
and python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:40 +00:00
Nicolas Graves
584b1e5004
gnu: giara: Update to 1.1.0.
* gnu/packages/syndication.scm (giara): Update to 1.1.0.
[arguments]<#:phases>: Add phase 'skip-validate-metainfo-file-test.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:40 +00:00
Nicolas Graves
bd04ae16b0
gnu: python-praw: Update to 7.8.1.
* gnu/packages/python-web.scm (python-praw): Update to 7.8.1.
[source]<origin>: Fetch from git to download tests.
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
[native-inputs]: Add python-flit-core.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:40 +00:00
Nicolas Graves
f62a9caa36
gnu: python-prawcore: Update to 2.4.0.
* gnu/packages/python-web.scm (python-prawcore): Update to 2.4.0.
[source]<origin>: Fetch from git to download tests.
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
[native-inputs]: Add python-flit-core.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:40 +00:00
Sharlatan Hellseher
e0759d8413
gnu: python-pyflakes: Move to pyproejct-build-system.
* gnu/packages/python-xyz.scm (python-pyflakes): Fix indentation.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Ie27427a1e15fe5ecf6b29f4e13e26836187c4480
2024-12-13 20:28:40 +00:00
Vincent Prat
1697c8e605
gnu: python-pyflakes: Update to 3.0.1.
* gnu/packages/python-xyz.scm (python-pyflakes): Update to 3.0.1

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:40 +00:00
Sharlatan Hellseher
e7c8ca0c59
gnu: python-mock: Enable tests.
* gnu/packages/check.scm (python-mock): Enable tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I51db06c53d1baa578da421a30049d440134127d7
2024-12-13 20:28:40 +00:00
Peter Polidoro
f579551b9b
gnu: python-mock: Update to 5.1.0
* gnu/packages/check.scm (python-mock): Update to 5.1.0.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ia76e0a7d1781cb52560748ef7eeb1a77feb1acb6
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
d3bad46f99
gnu: reprotest: Improve package style
* gnu/packages/diffoscope.scm (reprotest): Improve package style, adjust
fields order.
[build-system]: Swap to pyproject-build-system.
[inputs]: Remove python-debian, python-distro, python-libarchive-c, and
python-rstr.
[propagated-inputs]: Add python-debian, python-distro,
python-libarchive-c, and python-rstr.
[native-inputs]: Remove python-coverage and python-tox, add
python-setuptools and python-wheel.

Change-Id: Ia99f4a512c543bde2d9e4caba7dfecee2c05701e
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
ed9935ff87
gnu: python-pypdf: Update to 5.1.0.
* gnu/packages/pdf.scm (python-pypdf): Update to 5.1.0. Improve style.
[source]: Remove patch.
[argumetns]<test-flags>: Silent 2 failing tests.
[propagated-inputs]: Add python-pillow.
[native-inputs]: Add python-pytest-socket, python-pytest-timeout,
python-pyyaml, and python-pytest-xdist.

* gnu/packages/patches/python-pypdf-annotate-tests-appropriately.patch:
Delete file.
* gnu/local.mk: Deregister patch.

Change-Id: Iba7aea89431f386dff74cb426d8fcbbcbeaaf009
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
8d60e7088c
gnu: python-openapi-spec-validator: Delete sanity check.
* gnu/packages/python-web.scm (python-openapi-spec-validator): Delete
sanity check.

Change-Id: I80d575155cf7920f0d2f6e9460a7e40d496c080c
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
daf198444b
gnu: python-keystone-engine: Adjust inputs.
* gnu/packages/emulators.scm (python-keystone-engine) [native-inputs]:
Add python-setuptools and python-wheel.

Change-Id: I1c8eff0081abab0c4cfd2da11d88c0453d227a2f
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
4fc85e9a6b
gnu: python-green: Adjust inputs.
* gnu/packages/python-check.scm (python-green):
[arguments]<phases>: Add custom 'check.
[native-inputs]: Remove python-black and python-django; add
python-setuptools and python-wheel.

Change-Id: I3fd3aa1d3e73956d08b1691d6a1d43b6d8d2d019
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
8e7c4d8df9
gnu: python-jsonschema-specifications: Update to 2024.10.1.
* gnu/packages/python-xyz.scm (python-jsonschema-specifications):
Update to 2024.10.1.
[arguments]<phases>: Remove 'patch-pyproject as build system started
liking it.

Change-Id: Idf2ac2f92734682751ac78ccf7000820ad141263
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
d9bbc3cabc
gnu: python-protobuf-5: Update to 5.28.3.
* gnu/packages/protobuf.scm (python-protobuf-5): Update to 5.28.3.
[arguments]<phases>: Remove redundant custom 'check.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Icaa373287055ed4e170b5556f721018b910369c0
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
8808175fed
gnu: python-quart: Update to 0.19.9.
* gnu/packages/python-web.scm (python-quart): Update to 0.19.9.
[source]: Swap to git checkout containing tests.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'remove-coverage-pytest-options.
[propagated-inputs]: Add python-dotenv and python-flask.
[native-inputs]: Add python-poetry-core, python-pytest, and
python-pytest-asyncio.

Change-Id: I685eba2da7553529438fdb3c446b6c838dc64996
2024-12-13 20:28:38 +00:00
Sharlatan Hellseher
8596af6b0d
gnu: python-slotscheck: Update to 0.19.0.
* gnu/packages/python-check.scm (python-slotscheck): Update to 0.19.0.
Improve package style.
[source]{url}: Use direct string of URL instead of home-page field.
[native-inputs]: Remove python-pydantic; add python-ujson.

Change-Id: I9ea14cb694f9dd7e3330b9f8e015621053d70d0b
2024-12-13 20:28:38 +00:00