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
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
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
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
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
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>
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>
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>
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
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
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>
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>
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>
gnu: Add python-ukkonen.
* gnu/packages/python-xyz.scm (python-ukkonen): New variable.
Change-Id: I826b003f1c22e5bf28829d9f2adc5f467d17ed45
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
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>
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>
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>
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>
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>
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>