gnu: python-hypothesis-next: Mark as deprecated. * gnu/packages/check.scm (python-hypothesis-next): Mark as a deprecated public alias. Change-Id: Ic121d5f9cd965095bce70b2c3d3bef887b8f1f8e Reviwed-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
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-flexmock: Fix by using python-poetry-core * gnu/packages/check.scm (python-flexmock): Fix. [native-inputs]: Remove poetry; add python-poetry-core. [homepage]: Switch to https://flexmock.readthedocs.io/ as lint suggested. Change-Id: I0271a2af4c18c957cad86e26b5d2f833e8184fc1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: subunit: Adjust style. * gnu/packages/check.scm (subunit): Fix fill column and indentation. Change-Id: I597432d65637369d0d7f77c3b59547555b5f259b
gnu: subunit: Update to 1.4.4. FWIW, I don't know why it is necessary to both have a `subunit` package as well as a `python-subunit` package. But at least it builds now. * gnu/packages/check.scm (subunit): Update to 1.4.4. [propagated-inputs]: Add python-iso8601 and python-pygobject. Change-Id: Id37c498a6869b0ce724a854958b25bc298083fae Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-pylint: Update to 3.3.8. * gnu/packages/check.scm (python-pylint): Update to 3.3.8. [propagated-inputs]: Remove python-typing-extensions. [native-inputs]: Remove python-wheel. Change-Id: I3b598397599bea700994a0dacfc04d0332930c06
gnu: python-pytest-forked: Add python-py propagated-input. * gnu/packages/check.scm (python-pytest-forked)[propagated-inputs]: Add python-py. Change-Id: I9ff007703c4099016eedc276af195e8612fb20fd Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: Remove python-fixtures-bootstrap. * gnu/packages/check.scm (python-fixtures-bootstrap): Delete variable. Change-Id: I3a3777206aabcac54f78b1e2565632abb19a6f62
gnu: Remove python-subunit-bootstrap. * gnu/packages/check.scm (python-subunit-bootstrap): Delete variable. Change-Id: If88a19cc0360c8b8c51d2d2cf8a43d2612cacb6b
gnu: python-subunit: Update to 1.4.4. * gnu/packages/check.scm (python-subunit): Update to 1.4.4. Don't inherit from python-subunit as it's no longer required and migrate missing fields from it. [build-system]: Switch to pygobject-build-system. [arguments] <test-backend>: Use custom. <test-flags>: Provide options to run testtols. <phases>: Add 'disable-failing-tests, and 'disable-failing-console-scripts. [propagated-inputs]: Remove python-extras; add python-iso8601 and python-pygobject. [native-inputs]: Remove python-hypothesis; add python-setuptools. Change-Id: I394f8e3c3caf500cc875e8ba480bef108ad558aa
gnu: Remove python-testrepository-bootstrap. * gnu/packages/check.scm (python-testrepository-bootstrap): Delete variable. Change-Id: I06cbc9c9bed43956c75f9fabfcdf979198f285b7
gnu: python-testrepository: Update to 0.0.21. * gnu/packages/check.scm (python-testrepository): Update to 0.0.21. Don't inherit from python-testrepository as it's no longer required and migrate missing fields from it. [build-system]: Switch to pyproejct-build-system. [arguments] <tests?>: All good now. <phases>: Use custom 'check. [propagated-inputs]: Remove python-testtools; add python-iso8601. [native-inputs]: Remove python-mimeparse; add python-hatch-vcs, python-hatchling, python-pytz, python-setuptools, python-testresources, and python-testscenarios. Change-Id: I460e73ceae61d61d0392621d0f5bd89b50238be8
gnu: python-testtools-bootstrap: Simplify. * gnu/packages/check.scm (python-testtools-bootstrap): Inherit from python-testtools and make it hidden. Change-Id: I2575ade5cd4292aff4a6028c9c092437c8a8b396
gnu: python-testtools: Switch to pyproject. * gnu/packages/check.scm (python-testtools): Don't inherit from python-testtools-bootstrap as it's no longer required and migrate missing fields from it. [build-system]: Switch to pyproject-build-system. [arguments] <test-backend>: Use custom. <test-flags>: Provide options to run testtols. <phases>: Use default 'check; add 'pre-check. [propagated-inputs]: Remove python-pbr. [native-inputs]: Remove python-setuptools. [licenses]: Fix it according to pyproject.toml and PyPI. Change-Id: I7c9f5618d90b882141f1880ef7c29996d6a0364b
gnu: python-testscenarios-bootstrap: Simplify. * gnu/packages/check.scm (python-testscenarios-bootstrap): Inherit from python-testscenarios and make it hidden. Change-Id: Ic15bf00f629a3c45dd1aee1e5ea704c2f0bcb03d
gnu: python-testscenarios: Switch to pyproject. * gnu/packages/check.scm (python-testscenarios): Don't inherit from python-testscenarios-bootstrap as it's no longer required and migrate missing fields from it. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: I7bb79f69b806d45896f29c86210096c4fb5bffb7
gnu: Remove python-testresources-bootstrap. * gnu/packages/check.scm (python-testresources-bootstrap): Delete variable. Change-Id: I987d4700b057fdcea164fd3873254d4f2cf21f41
gnu: python-testresources: Update to 2.0.2. * gnu/packages/check.scm (python-testresources): Update to 2.0.2. Don't inherit from python-testresources-bootstrap as it's no longer required and migrate missing fields from it. [build-system]: Switch to pyproject-build-system. [arguments] <test-backend>: Use custom. <test-flags>: Provide options to run tests with testtools. [native-inputs]: Add python-setuptools. [home-page]: Fix it, taken from PyPI <https://pypi.org/project/testresources/> Change-Id: I0e5dabcf2803c375f493d736c4b78f5c038023e8
gnu: python-fixtures: Update to 4.2.6. * gnu/packages/check.scm (python-fixtures): Update to 4.2.6. Don't inherit from python-fixtures-bootstrap as it's no longer required and migrate missing fields from it. [build-system]: Switch to pyproject-build-system. [arguments] <phases>: Use default 'check. [propagated-inputs]: Remove python-pbr, python-six, and python-extras. [native-inputs]: Remove python-mock; add python-hatch-vcs and python-hatchling. Change-Id: I46eb61748ee345cd5e51056070d2210f2d787bb8
gnu: Remove python-unittest2. This package is no longer needed as per: "unittest2 is a backport of the new features added to the unittest testing framework in Python 2.7 and onwards.", it has no users in Guix. * gnu/packages/check.scm (python-unittest2): Delete variable. * gnu/local.mk (dist_patch_DATA): Deregister 2 patches. * gnu/packages/patches/python-unittest2-python3-compat.patch: Delete file. * gnu/packages/patches/python-unittest2-remove-argparse.patch: Likewise. Change-Id: I7d67223cdd5a0e656a299d83ac28248d7db7c321