Commit graph

4218 commits

Author SHA1 Message Date
Sharlatan Hellseher
c3ec4641b3
gnu: python-py-partiql-parser: Update to 0.5.6.
* gnu/packages/python-xyz.scm (python-py-partiql-parser): Update to 0.5.6.
[source]: Swap to git checkout containing tests.
[arguments]<tests?>: Enable them.
[native-inputs]: Remove python-black, python-flake8, and python-mypy.
[description]: Start from a new line.

Change-Id: I0c5865158ddef1512b5fb73d11a540650a01b29f
2024-12-13 21:01:40 +00:00
Sharlatan Hellseher
852368a106
gnu: python-validators: Update to 0.34.0.
* gnu/packages/python-xyz.scm (python-validators): Update to 0.34.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests-flags>: Ignore tests for optional Python module.
[native-inputs]: Remove python-flake8 and python-isort; add
python-setuptools and python-wheel.
[description]: Fix fill column.

Change-Id: I100d8f6d71794d17fdfe6bcbaadd43f2f63bd8e0
2024-12-13 21:01:40 +00:00
Sharlatan Hellseher
2cb76e2fd9
gnu: python-flake8-isort: Update to 6.1.1.
* gnu/packages/python-xyz.scm (python-flake8-isort): Update to 6.1.1.
[source]: Adjust URI name as PyPI archive has been changed.
[arguments]<test-flags>: Explicitly disable tests as no provided in PyPI
archive or git checkout.
[native-inputs]: Add python-hatchling.

Change-Id: I89442d131e81d4dd4fba0f554c2197676aac38d9
2024-12-13 21:01:40 +00:00
Sharlatan Hellseher
892fb10300
gnu: python-flake8-quotes: Update to 3.4.0.
* gnu/packages/python-xyz.scm (python-flake8-quotes): Update to 3.4.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I37446ade937f2f0cc0ea1c12acf3e176971964ad
2024-12-13 21:01:39 +00:00
Sharlatan Hellseher
66be2df841
gnu: python-flake8-pie: Update to 24.9.0.
* gnu/packages/python-xyz.scm (python-flake8-pie): Update to 24.9.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Disable just 2 failing tests.
[propagated-inputs]: Add python-attrs, python-flake8, and python-pyflakes.
[native-inputs]: Add python-hatchling and python-pytest.

Change-Id: Ife6dfef657996497356c4a0d62b2097702bd2024
2024-12-13 21:01:39 +00:00
Sharlatan Hellseher
5d886f8bf5
gnu: python-flake8-pyi: Update to 24.9.0.
* gnu/packages/python-xyz.scm (python-flake8-pyi): Update to 24.9.0.
Improve style.
[source]: Adjust URI name as PyPI archive has been changed.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'fix-pytest-config.
[native-inputs]: Add python-hatchling and python-pytest.
[description]: Adjust fill column.

Change-Id: Idcc3e9f6213b00e02bc052101a2b666460943de5
2024-12-13 21:01:39 +00:00
Sharlatan Hellseher
4d77076ced
gnu: python-flake8-print: Update to 5.0.0.
* gnu/packages/python-xyz.scm (python-flake8-print): Update to 5.0.0.
[build-system]: Swap to pyrpoject-build-system.
[arguments]<tests?>: Explicitly disable them as no provided in PyPI
archive or Git checkout.
[propagated-inputs]: Remove python-six.
[native-inputs]: Add python-poetry-core.

Change-Id: Ifd52bbde3b41165d0f336973cb2817924f209568
2024-12-13 21:01:39 +00:00
Sharlatan Hellseher
0df28169f3
gnu: python-flake8-implicit-str-concat: Update to 0.5.0.
* gnu/packages/python-xyz.scm (python-flake8-implicit-str-concat): Update to 0.5.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests?>: Explicitly disable them as no provided in PyPI
archive or Git checkout.
<phases>: Remove 'loosen-requirements.
[native-inputs]: Add python-hatchling.

Change-Id: If3fc55d3505a835bd9222b19dd03a755a8aa5e9e
2024-12-13 21:01:39 +00:00
Sharlatan Hellseher
08dd8e4506
gnu: python-flake8-bugbear: Update to 24.10.31.
* gnu/packages/python-xyz.scm (python-flake8-bugbear): Update to 24.10.31.
Improve style.
[source]: Adjust URI name as PyPI archive was changed.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Remove 'disable-test.
[native-inputs]: Remove python-hypothesis; add python-pytest,
python-setuptools, and python-wheel.
[description]: Start from a new line, adjust fill column.

Change-Id: Id8580c8b2d20820a9f16ec719d35ac3b1dbf548e
2024-12-13 21:01:39 +00:00
Sharlatan Hellseher
8aa54b9ff6
gnu: python-termcolor: Update to 2.5.0.
* gnu/packages/python-xyz.scm (python-termcolor): Update to 2.5.0.

Change-Id: I1921a14df2b51fa441c69a9a3ab59e0e827e4dd9
2024-12-13 21:01:38 +00:00
Sharlatan Hellseher
0817e9ba77
gnu: python-stdio-mgr: Fix build.
* gnu/packages/python-xyz.scm (python-stdio-mgr) [source]: Swap to git
checkout containing tests.
[arguments]<test-flags>: Ignore doctests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[description]: Start from a new line.

Change-Id: I0b03adad8b2277686c7e07859eebd7555934ac8c
2024-12-13 21:01:38 +00:00
Maxim Cournoyer
c7a5b9a11e
gnu: Remove python-filelock-3.5.
* gnu/packages/bioinformatics.scm (python-filelock-3.5): Delete variable.
(python-genomepy) [propagated-inputs]: Replace python-filelock-3.5 with
python-filelock.

Change-Id: I74b58c5143dc3f633e44cc9b92307520b160f43f
2024-12-13 21:01:38 +00:00
Maxim Cournoyer
d9701efd2b
gnu: python-filelock: Update home page URL.
* gnu/packages/python-xyz.scm (python-filelock) [home-page]: Update URL.
2024-12-13 21:01:38 +00:00
Sharlatan Hellseher
69b3eff2a2
gnu: python-pyserial: Enable tests.
* gnu/packages/python-xyz.scm (python-pyserial): Enable tests, improve
package style.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I826c7de11642f037ed4e6bc3eaa92dd2ef4d9500
2024-12-13 21:01:38 +00:00
Sharlatan Hellseher
ec1df832c8
gnu: python-yattag: Update to 1.16.1.
* gnu/packages/python-xyz.scm (python-yattag): Update to 1.16.1.
Improve package style.
[build-system]: Swap to pyrpject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Id5c40e89ab6756e6ced22e84c844e37f416233d3
2024-12-13 21:01:37 +00:00
Sharlatan Hellseher
b918cfe406
gnu: python-ddt: Update to 1.7.2.
* gnu/packages/python-xyz.scm (python-ddt): Update to 1.7.2.
[build-system]: Swap to pyrpoject-build-system.
[native-inputs]: Add python-aiounittest, python-setuptools, and
python-wheel.
[description]: Fix fill column.

Change-Id: I43655f16e978caa6d37981a2a01c2edd2b512875
2024-12-13 21:01:37 +00:00
Sharlatan Hellseher
cce001e3ce
gnu: bpython: Improve package style.
* gnu/packages/python-xyz.scm (bpython): Use G-expression and apply new
style.
[build-system]: Swap to pyproject-build-system.
[argumements]<test-flags>: Move tests exclusion here.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Remove python-tox; add python-pytest and
python-setuptools.

Change-Id: I8a88014b3cd2419e6521fc9bb7ac26c67a0f6929
2024-12-13 21:01:37 +00:00
Sharlatan Hellseher
b93c0e8542
gnu: python-cwcwidth: Update to 0.1.9.
* gnu/packages/python-xyz.scm (python-cwcwidth): Update to 0.1.9.
Improve style.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'build-extensions.
[native-inputs]: Add python-setuptools.

Change-Id: Ifccd290dbcb1655eb8b78956187602d774cf7927
2024-12-13 21:01:37 +00:00
Sharlatan Hellseher
aa8a25221f
gnu: python-greenlet: Update to 3.1.1.
* gnu/packages/python-xyz.scm (python-greenlet): Update to 3.1.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Deselect one failing test.
<phases>: Add 'build-extensions.
[native-inputs]: Add python-objgraph, python-pytest, python-psutil,
python-setuptools, and python-wheel.

Change-Id: I50c80f329890fc922dcc8310083dfa2ee1ee03c4
2024-12-13 21:01:37 +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
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
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
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
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
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
911e28eb02
gnu: Add python-taskgroup.
* gnu/packages/python-xyz.scm (python-taskgroup): New variable.

Change-Id: Ic92ff1e687bbb8b30238e356bf80ed944ff9f87b
2024-12-13 20:28:38 +00:00
Antero Mejr
1576768907
gnu: poetry: Update to 1.8.4.
* gnu/packages/python-xyz.scm (poetry): Update to 1.8.3.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Enable them.
[propagated-inputs]: Remove python-cachy, python-clikit,
python-html5lib, and python-msgpack-transitional; add python-dulwich,
python-fastjsonschema, python-importlib-metadata, python-installer,
python-platformdirs, python-poetry-plugin-export, python-pypa-build,
python-pyproject-hooks, python-tomli, python-trove-classifiers, and
python-xattr.
[native-inputs]: Add python-deepdiff, python-httpretty, python-pytest,
python-pytest-mock, python-pytest-randomly, and python-pytest-xdist.
[description]: Start from a new line.

Change-Id: Ib684aabedc1d95cde3824e24e00acd362da1b0e0
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:38 +00:00
Sharlatan Hellseher
e28b014014
gnu: python-watchgod: Fix build.
The latest version depends on a long list of Rust packages and maturin
build system, this change just fixes the build.

* gnu/packages/python-xyz.scm (python-watchgod):
[arguments]<phases>: Remove 'sanity-check, all tests passed.
[native-inputs]: Remove python-pytest-toolbox.

Change-Id: I36e84ed09a2321636257c0a5528bf01aea1d2d7e
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
c8fff888e2
gnu: python-anyio: Update to 4.6.2.
* gnu/packages/python-xyz.scm (python-anyio): Update to 4.6.2.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-coverage; add python-psutil,
python-setuptools, and python-wheel.

Change-Id: I8f8a25d67561446afe1c399cd9cde11ac43df333
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
7938fe7662
gnu: python-aiofiles: Fix indentation.
* gnu/packages/python-xyz.scm (python-aiofiles) Fix indentation.

Change-Id: Iaed80a2533881d8c487b4459041f20fd6e4ad68d
2024-12-13 20:28:36 +00:00
Sharlatan Hellseher
5dfe277d0a
gnu: python-aiofiles: Update to 24.1.0.
* gnu/packages/python-xyz.scm (python-aiofiles): Update to 24.1.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-hatchling, python-hatch-vcs, python-pytest,
and python-pytest-asyncio.

Change-Id: I8888c4aa1b161f7f8438ce9a2c84a884ecfdcbd3
2024-12-13 20:28:36 +00:00