gnu: Remove usages of python-setuptools-next and python-setuptools-scm-next.
These are deprecated, and trigger deprecation warnings.
Automated via, manually reverting the two define-deprecated hunks:
git grep -l python-setuptools-next |
xargs sed -i 's/python-setuptools-next/python-setuptools/'
git grep -l python-setuptools-scm-next |
xargs sed -i 's/python-setuptools-scm-next/python-setuptools-scm/'
Change-Id: Ied5073176cd6578f7524af0deec9182577c1b786
gnu: python-inline-snapshot: Update to 0.29.1.
* gnu/packages/python-check.scm (python-inline-snapshot): Update to 0.29.1.
[arguments] <test-flags>: Run tests in parallel, rework ignored and
skipped tests to prevent adding MyPy and Pyright.
[propagated-inputs]: Remove python-black, python-click, python-mkdocs,
python-tomli, and python-typing-extensions.
[native-inputs]: Remove python-mypy, python-pydantic, and python-pytest;
add python-black, python-freezer, python-pydantic-2,
python-pytest-bootstrap, python-pytest-xdist.
Change-Id: I8d831efc1ef52f94037ce349cffecfe79ab4efd9
Modified-by: Efraim Flashner <efraim@flashner.co.il>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu: Add python-pytest-recording.
* gnu/packages/python-check.scm (python-pytest-recording): New variable.
Change-Id: I73a9132a7a19528790c8817ad75fd87c2d4520ff
gnu: Add python-pytest-retry.
* gnu/packages/python-check.scm (python-pytest-retry): New variable.
Change-Id: I3f9b318d8195633d75383bfacf843fd8f597395c
gnu: python-pycotap: Update to 1.3.1.
* gnu/packages/python-check.scm (python-pycotap):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Set it.
[home-page]: Refresh it.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.
Change-Id: I5aaa6a1cbbe5e3c5aa79ccfb4321381b7a311d56
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-junit-xml: Switch to pyproject.
* gnu/packages/python-check.scm (python-junit-xml):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
Change-Id: Iadf636efd092279fb52a568f5f26743600be6b7c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-httmock: Switch to pyproject.
* gnu/packages/python-check.scm (python-httmock):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Enable tests with <#:test-backend, #:test-flags>.
[native-inputs]: Add python-setuptools.
Change-Id: Ied533d486455cf6fc4f5d699d681632831b99be6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-avocado-framework: Switch to pyproject.
* gnu/packages/python-check.scm (python-avocado-framework):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
gnu: python-aioresponses: Switch to pyproject.
* gnu/packages/python-check.scm (python-aioresponses):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Set hem.
<#:phases>: Add phase 'set-pbr-version. Remove 'check phase replacement.
[native-inputs]: Add python-setuptools.
Change-Id: I08c8e9025a50f361f5455782b0a645a92876a1ff
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-flit-core-next: Mark as deprecated.
This is a followup to a34d8e427875e0538a81e4414e92cc41c91fd0cf.
Replace all python-flit-core-next occurrences with python-flit-core.
* gnu/packages/python-build.scm (python-flit-core-next):
Mark as a deprecated public alias.
* gnu/packages/machine-learning.scm (python-pytorch-geometric)
[propagated-inputs]: Replace python-flit-core-next
with python-flit-core.
* gnu/packages/pdf.scm (python-pypdf) [propagated-inputs]:
Replace python-flit-core-next with python-flit-core.
* gnu/packages/python-check.scm (python-stestr) [propagated-inputs]:
Replace python-flit-core-next with python-flit-core.
* gnu/packages/python-xyz.scm (python-asyncclick) [propagated-inputs]:
Replace python-flit-core-next with python-flit-core.
Change-Id: I3a25290f6fd97995b773332addefe33afd016e67
Reviwed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: Add python-pytest-asdf-plugin.
* gnu/packages/python-check.scm (python-pytest-asdf-plugin): New variable.
Change-Id: I2de8c8ef9ddd6cc4b764079d6461996d01d1a21c
gnu: python-autopep8: Move to python-check.
* gnu/packages/python-xyz.scm (python-autopep8): Move from here ...
* gnu/packages/python-check.scm: ... to here.
Change-Id: Icce2a85151398eae4be5c54982497897751a43b7
gnu: python-flexmock: Move to python-check.
* gnu/packages/check.scm (python-flexmock): Move from here ...
* gnu/packages/python-check.scm: ... to here.
* gnu/packages/shellutils.scm: Add python-check module.
Change-Id: I6aebe1eb1f9bdbeb140af4538a9af0becccc6e92
gnu: python-test-utils: Disable tests.
* gnu/packages/python-check.scm (python-test-utils)
[arguments]<#:tests?>: Disable them.
[native-inputs]: Remove python-wheel.
Change-Id: Ib45a88ef010749f5b18f0ae591df83baf99c5bc6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-green: Fix tests.
* gnu/packages/python-check.scm (python-green): Rework custom phases.
[arguments] <test-flags>: Add portion of tests.
[phases]{check}: Run tests with installed "green" command.
[native-inputs]: Remove python-mypy, python-testtools, and python-wheel.
Change-Id: Ifaf4507825ecfdd924abaa391db1c876500735ca
gnu: python-hiro: Fix tests.
* gnu/packages/python-check.scm (python-hiro):
[source]: Switch to git-fetch.
[native-inputs]: Add python-pytest, python-pytest-cov. Remove
python-wheel.
[description]: Improve style.
Change-Id: I30447c5227e09b76708e2c075639c4e95a8f03ee
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-assertpy: Fix tests.
* gnu/packages/python-check.scm (python-assertpy): Fix tests.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-wheel, add python-pytest.
Change-Id: I878498f64bb6b1399c033ee6d33bbf7a1afd47ed
Signed-off-by: Andreas Enge <andreas@enge.fr>
gnu: python-pytest-cython: Disable tests.
* gnu/packages/python-check.scm (python-pytest-cython)[arguments]
<tests?>: They look like broken.
<test-flags>: Drop all.
<phases>: Remove 'buld-extensions.
[native-inputs]: Remove python-cython-3; add python-cython.
Change-Id: I978ee17a13688199dcd474577afb0dde10df220c
gnu: python-tox: Skip one more test.
* gnu/packages/python-check.scm (python-tox): Use G-expression and
simplify skipped tests.
[arguments] <test-flags>: Simplify and skip one more test.
Change-Id: Icbb85340ffa66c9ce393010f1b3558bc8ab5103f
gnu: python-pyannotate: Fix tests.
* gnu/packages/python-check.scm (python-pyannotate)
[source]: Switch to git-fetch.
[arguments]<#:test-backend>: Set it.
[native-inputs]: Remove python-wheel.
[propagated-inputs, description]: Improve style.
Change-Id: I4f310eba2117b062aedc2fad4a96537604dd8bd6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>