summaryrefslogtreecommitdiff
path: root/gnu/packages/check.scm
Commit message (Expand)AuthorAgeFilesLines
* gnu: Add trompeloeil.•••* gnu/packages/check.scm (trompeloeil): New variable. Change-Id: I442cd0b5e84e8f9956b16b7d9235f67d9f5f693e Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Ashvith Shetty13 days1-0/+34
* gnu: Fix whitespace issues in Python package descriptions.•••This mainly addresses `double-space after sentence end period' and `trailing white space' issues. * gnu/packages/astronomy.scm (python-tweakwcs): Fix description. * gnu/packages/check.scm (python-pytest-subtesthack): Fix description. * gnu/packages/python-xyz.scm (python-qnorm, python-uncertainties, python-sre-yield): Fix description. * gnu/packages/qt.scm (python-pyqt6-sip): Fix description. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Gabriel Wicki13 days1-5/+5
* gnu: python-flexmock: Update to 0.12.2.•••Fixes <https://issues.guix.gnu.org/74969>. * gnu/packages/check.scm (python-flexmock): Update to 0.12.2. [build-system]: Add pyproject-build-system. [native-inputs]: Add poetry, python-pytest. Change-Id: Ibca72c88d6d3400e8f4f058831e4ca9c7e2cbf3c Danny Milosavljevic2024-12-311-3/+4
* 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> Nicolas Graves2024-12-131-18/+27
* 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 Sharlatan Hellseher2024-12-131-6/+6
* 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 Peter Polidoro2024-12-131-2/+2
* gnu: Add python-pytest-asyncio-0.23.•••* gnu/packages/check.scm (python-pytest-asyncio-0.23): New variable. Change-Id: I4de42bee146ac1e1a10de7a3b605734c2386465f Sharlatan Hellseher2024-12-131-0/+11
* gnu: python-pytest-relaxed: Update to 2.0.2.•••* gnu/packages/check.scm (python-pytest-relaxed): Update to 2.0.2. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I8c94f48bc7ad97421ba4043334d3d2315f5ec391 Sharlatan Hellseher2024-12-131-4/+8
* gnu: python-pytest-mypy-plugins: Update to 3.1.2.•••* gnu/packages/check.scm (python-pytest-mypy-plugins): Update to 3.1.2. Improe package style. [arguments]<tests>: Enable the most of the tests. <phases>: Use custom 'check phase. [propagated-inputs]: Remove python-chevron and python-setuptools; add python-jinja2, python-jsonschema, python-packaging, and python-tomlkit. [native-inputs]: Add python-setuptools. Change-Id: Ice79f75706bf57b97e8e0e8a3b6a54cd6be03946 Sharlatan Hellseher2024-12-131-16/+38
* gnu: python-pytest-regressions: Update to 2.5.0.•••* gnu/packages/check.scm (python-pytest-regressions): Update to 2.5.0. [build-system]: Swap to pyproject-build-system. [native-inputs]: Remove python-tox; add python-setuptools. [description]: Adjust fill collumn. Change-Id: If571fae93dfbdf8543633f57fe5e597e1667ab25 Sharlatan Hellseher2024-12-131-10/+11
* gnu: python-pylint: Update to 3.3.1.•••* gnu/packages/check.scm (python-pylint): Update to 3.3.1. Refresh package style. [build-system]: Swap to pyproject-build-system. [arguments]<phases>: Use default 'check phase. Add 'set-home phase. <test-flags>: Move test selection/exclusion logic here. [native-inputs]: Add python-pytest-timeout, python-setuptools, and python-wheel. Change-Id: I2cde539f5f29a23d4037232937e419bbfd47d372 Sharlatan Hellseher2024-12-131-15/+26
* gnu: python-pytest-random-order: Update to 1.1.1.•••* gnu/packages/check.scm (python-pytest-random-order): Update to 1.1.1. [build-system]: Swap to pyproject-build-system. [arguments]<test-flags>: Disable some failing tests. [native-inputs]: Add python-pytest-xdist, python-setuptools, python-py, and python-wheel. Change-Id: Iab4d940379f7995669f5ead9980bb8779c3266e4 Sharlatan Hellseher2024-12-131-8/+14
* gnu: Add python-pytest-lazy-fixtures.•••* gnu/packages/check.scm (python-pytest-lazy-fixtures): New variable. Change-Id: I366ede16bf72f99b38b1edc43535a2c969822787 Sharlatan Hellseher2024-12-131-0/+23
* gnu: Remove python-pytest-catchlog.•••It's unmaintained for 7y, failing to build and not in use by any other packages in Guix. * gnu/packages/check.scm (python-pytest-catchlog): Delete variable. Change-Id: Ia16c03a965d7b6fc493e950b41cdbc3a8898c1f2 Sharlatan Hellseher2024-12-131-23/+0
* gnu: python-pytest-asyncio: Update to 0.24.0.•••* gnu/packages/check.scm (python-pytest-asyncio): Update to 0.24.0. [source]: Swap to PyPI tarball as a fresh release contains tests. [arguments]<tests>: Enable them. <phases>: Remove 'pretend-version phase. Change-Id: I67f11641fba485a94f5617292a4d75ec25af8420 Sharlatan Hellseher2024-12-131-17/+10
* gnu: python-pytest-httpserver: Update to 1.1.0.•••* gnu/packages/check.scm (python-pytest-httpserver): Update to 1.1.0. Adjust indentation. [build-system]: Swap to pyproject-build-system. [arguments]<phases>: Remove 'fix-library-loading phase, and use default 'check phase. [native-inputs]: Add python-poetry-core and python-toml. Change-Id: Id0857d4042a3edfb676a46b8c20d051aa4cb1f93 Sharlatan Hellseher2024-12-131-21/+14
* gnu: python-pytest-localserver: Update to 0.9.0.post0.•••* gnu/packages/check.scm (python-pytest-localserver): Update to 0.9.0.post0. Adjust indentations and style. [source]: Adjust URI as it's updated in PyPI. [buid-system]: Swap to pyproject-build-system. [native-inputs]: Remove python-six; add nss-certs-for-test, python-setuptools, python-setuptools-scm, and python-wheel. Change-Id: I7e19ebcc76d6b68fe79702cfdf90b94c4757df9b Sharlatan Hellseher2024-12-131-18/+19
* gnu: python-pytest-mypy: Update to 0.10.3.•••* gnu/packages/check.scm (python-pytest-mypy): Update to 0.10.3. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Ic0483fe3c430c00ea82e9f54e60632ce48f79e75 Sharlatan Hellseher2024-12-131-5/+16
* gnu: python-flaky: Update to 3.8.1.•••* gnu/packages/check.scm (python-flaky): Update to 3.8.1. Enable most of the tests. [build-system]: Swap to pyproject-build-system. [arguments]<test-flags>: Silent some failing tests. [native-inputs]: Add python-pytest, python-setuptools, and python-wheel. Change-Id: I649ff32ad27ffcca288e2929388a5b787f31072f Sharlatan Hellseher2024-12-131-5/+19
* gnu: python-pytest-xprocess: Update to 1.0.2.•••* gnu/packages/check.scm (python-pytest-xprocess): Update to 1.0.2. Refresh style. [build-system]: Swap to pyproject-build-system. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Ia1fb63da8adc35284e2d0a529d12db7cd270cbaa Sharlatan Hellseher2024-12-131-12/+15
* gnu: python-pytest-cov: Update to 6.0.0.•••* gnu/packages/check.scm (python-pytest-cov): Update to 6.0.0. [build-system]: Swap to pyproject-build-system. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I90f6eed232e0156d6d90b53ae87b423bad2f6f79 Sharlatan Hellseher2024-12-131-3/+6
* gnu: python-coverage: Update to 7.6.7.•••* gnu/packages/check.scm (python-coverage): Update to 7.6.7. [build-system]: Swap to pyproject-build-system. [arguments]<tests>: Enable them. <test-flags>: Skip some failing tests. <phases>: Add patch-pyproject, fix-conftest. [native-inputs]: Add python-pytest, python-pytest-xdist, python-flaky, python-setuptools, and python-wheel. Change-Id: Ib69fbec45876f5f13e0e925c7768cef8fd6eb52c Sharlatan Hellseher2024-12-131-5/+42
* gnu: python-pytest-xdist: Update to 3.6.1.•••* gnu/packages/check.scm (python-pytest-xdist): Update to 3.6.1. [source]: Adjust URI as it's changed in PyPI. [arguments]<test-flags>: Adjust failing test. Change-Id: I889972a2e439e715f58928132d666039679613fd Sharlatan Hellseher2024-12-131-6/+6
* gnu: python-pytest-mock: Update to 3.14.0.•••* gnu/packages/check.scm (python-pytest-mock): Update to 3.14.0. Simplify package. [snippet]: Remove it. [build-system]: Swap to pyproject-build-system. [argument]<phases>: Use default 'check phase. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Ia7eb5d6ee6a10de53a106909946e90b72b12fe99 Sharlatan Hellseher2024-12-131-24/+11
* gnu: python-pytest-forked: Disable tests.•••* gnu/packages/check.scm (python-pytest-forked): Disable tests. Tests depends on python-py which is in maintenance mode and should not be used in projects. Change-Id: I6f1df45b121dc21f3af09dd9476c34d31c09a06e Sharlatan Hellseher2024-12-131-1/+3
* gnu: python-pytest-timeout: Update to 2.3.1.•••* gnu/packages/check.scm (python-pytest-timeout): Update to 2.3.1. [build-system]: Swap pyproject-build-system. [arguments]<phases>: Use default 'check phase. [propagated-inputs]: Remove python-pytest-cov. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I59da6f90ef8839bce239b6a3199dc58d4a901e81 Sharlatan Hellseher2024-12-131-13/+8
* gnu: Remove python-pytest-next.•••* gnu/packages/check.scm (python-pytest-next): Delete variable. * gnu/packages/python-science.scm (python-pandas-2) [native-inputs]: Remove python-pytest-next; add python-pytest. * gnu/packages/python-xyz.scm (python-hy) [native-inputs]: Remove python-pytest-next; add python-pytest. Change-Id: I57e14aa11c2e3cd1d8e8119f566b49fd902c7957 Sharlatan Hellseher2024-12-131-14/+0
* gnu: Remove python-pytest-8.•••* gnu/packages/check.scm (python-pytest-8): Set variable as deprecated. * gnu/packages/astronomy.scm (python-asdf) [native-inputs]: Remove python-pytest-8; add python-pytest. * gnu/packages/astronomy.scm (python-healpy) [native-inputs]: Remove python-pytest-8; add python-pytest. * gnu/packages/python-check.scm (python-pytest-cython) [propagated-inputs]: Remove python-pytest-8; add python-pytest. Change-Id: I89a6fbbc0152a6c2f0a9a22f8398a6bc4f9e86cb Sharlatan Hellseher2024-12-131-30/+0
* gnu: python-pytest: Update to 8.3.3.•••* gnu/packages/check.scm (python-pytest): Update to 8.3.3. [build-system]: Swap to pyproject-build-system. [arguments]<phases>: Use default 'check phase and remove 'prepend-version phase. <test-flags>: Disable some tests requiring python-pygments adding which introduces cycle. [propagated-inputs]: Remove python-pluggy; add python-exceptiongroup and python-pluggy-next. [native-inputs]: Add python-setuptools and python-wheel. * gnu/packages/check.scm (python-pytest-bootstrap) [native-inputs]: Add python-setuptools and python-wheel. * gnu/packages/patches/pytest-fix-unstrable-exception-test.patch: Remove file. * gnu/local.mk: Deregister patch. Change-Id: Ie8825ea1f788bbae40aefa467b6a94b8c4210cbc Sharlatan Hellseher2024-12-131-37/+34
* gnu: python-nose-exclude: Adjust iputs.•••* gnu/packages/check.scm (python-nose-exclude) [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I325c473275fd20f0bc36c5c5f46f65f662d7ef96 Sharlatan Hellseher2024-12-131-0/+3
* gnu: python-behave-web-api: Update to 2.0.1.•••* gnu/packages/check.scm (python-behave-web-api): Update to 2.0.1. [native-inputs]: Add python-pytest, python-setuptools, and python-wheel. Change-Id: If0202516a578a8fb90470dcc1a8d58c901f16169 Sharlatan Hellseher2024-12-131-3/+7
* gnu: behave: Update to 1.2.7.dev5.•••* gnu/packages/check.scm (behave): Update to 1.2.7.dev5. [native-inputs]: Add python-assertpy, python-pytest-html, python-setuptools, and python-wheel. Change-Id: I238fe5aea580ae8e884d085d4dccfe6f4030b030 Sharlatan Hellseher2024-12-131-4/+11
* gnu: python-parameterized-next: Adjust inputs.•••* gnu/packages/check.scm (python-parameterized-next) [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Ibe0b92cbd85dd169547a1f0f928782f02da9a262 Sharlatan Hellseher2024-12-131-1/+4
* gnu: python-pytest-enabler: Break dependency cycle.•••* gnu/packages/check.scm (python-pytest-enabler-bootstrap): Delete variable. (python-pytest-enabler): Redefine variable. * gnu/packages/python-xyz.scm (python-jaraco-classes)[native-inputs]: Remove python-pytest-enabler-bootstrap. (python-jaraco-context-bootstrap): Delete variable. (python-jaraco-context): Redefine variable. (python-jaraco-functools-bootstrap): Delete variable. (python-jaraco-functools): Redefine variable. Change-Id: I96649093009beb7a3d0e9716eced778d4fc800e2 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Nicolas Graves2024-12-131-52/+28
* gnu: behave: Move to pyproject-build-system.•••* gnu/packages/check.scm (behave): [build-system]: Move to pyproject-build-system. [arguments]: Remove uneeded field. Change-Id: I9ea513fb49b71d9187461ef55c2a6ecab2844a1d Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Nicolas Graves2024-12-131-7/+1
* gnu: python-pytest-runner: Improve package style.•••* gnu/packages/check.scm (python-pytest-runner): [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Remove check phase replacement. Update <#:tests?> refusal comment. [native-inputs]: Add python-pip, python-pypa-build, python-setuptools and python-wheel. Change-Id: Id36e7ed4a3cec6098f0877f48f3fbcbd8007f3c3 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Nicolas Graves2024-12-131-9/+5
* gnu: python-pytest-xdist: Add setuptools and wheel.•••* gnu/packages/check.scm (python-pytest-xdist)[native-inputs]: Add python-setuptools and python-wheel. Change-Id: I0aa7130a6e1bc0741edb164fd145bc20d754c007 Ricardo Wurmus2024-12-131-1/+5
* gnu: Add python-pytest-mypy-testing.•••* gnu/packages/check.scm (python-pytest-mypy-testing): New variable. Change-Id: Ic55e63745eae070e439155f1dc6792285eb87312 Ricardo Wurmus2024-12-131-0/+20
* gnu: Add python-setuptools/python-wheel where necessary.•••Changes to pyproject-build-system require explicit dependency on setuptools/wheel. Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5 Lars-Dominik Braun2024-12-131-4/+17
* gnu: python-pytest-xdist: Disable failing test.•••* gnu/packages/check.scm (python-pytest-xdist)[arguments]: Skip failing test. Lars-Dominik Braun2024-12-131-0/+6
* build-system/pyproject: Use python-sans-pip-wrapper as default-python.•••Also adds python-setuptools and python-wheel to relevant packages, either to native-inputs or to propagated inputs if the pkg_resources Python module is loaded at runtime. * guix/build-system/pyproject.scm (default-python): Default to python-sans-pip-wrapper. Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4 Lars-Dominik Braun2024-12-131-3/+6
* gnu: umockdev: Fix build with newer meson.•••* gnu/packages/check.scm (umockdev)[arguments]: Add a phase to not error on unused-variables from the code generated by vala. Change-Id: I614304dcac9065f4299004e9e4e458d71d308e44 Efraim Flashner2024-11-271-0/+5
* gnu: Respect --cores build argument in some python packages.•••Reported by Greg Hogan <code@greghogan.com> in #74445. * gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy, python-photutils, python-poppy, python-regions, python-reproject, python-sunpy, python-spectral-cube, python-stdatamodels, python-pysiaf, python-sbpy, python-asdf-coordinates-schemas, python-roman-datamodels, python-webbpsf, python-yt): [arguments]<test-flags>: Adjust "-n" or "--numprocess" to respect "--cores" build argument. * gnu/packages/check.scm (python-crosshair): Likewise. * gnu/packages/databases.scm (python-fastparquet, python-pycurl, awscli, python-s3transfer): Likewise. * gnu/packages/python-xyz.scm (python-glymur, python-zarr, python-dask): Likewise. Change-Id: Ifbc6435e4ad22b0ae822b485bccca41eaa165cc5 Sharlatan Hellseher2024-11-231-1/+1
* gnu: Add python-crosshair.•••* gnu/packages/check.scm (python-crosshair): New variable. Change-Id: I7af183df882049c19d562cd15a23f3f3233309a9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Troy Figiel2024-10-261-1/+56
* gnu: rapidcheck: Fix pkg-config libs.•••Using rapidcheck as a dependency in a project currently results in a linker error, because the pkg-config file is missing relevant linker flags. * gnu/packages/patches/rapidcheck-fix-libs.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/check.scm (rapidcheck)[patches]: Use it here. Liliana Marie Prikler2024-09-291-0/+1
* gnu: actionlint: Update to 1.7.2.•••* gnu/packages/check.scm (actionlint): Update to 1.7.2. [arguments]: <#:build-flags>: Add version to "-ldflags". Change-Id: I2cc668556286b24ae231e3fe4bad468c1d8e8544 Sharlatan Hellseher2024-09-231-2/+6
* gnu: actionlint: Improve package style.•••* gnu/packages/check.scm (actionlint): Adjust indentation. [arguments]: Use list style. [native-inputs]: Merge with [inputs] as for Golang they are only required during build time for the final command. Change-Id: I754c1631be653304c8ebac8263745b77df6ad890 Sharlatan Hellseher2024-09-231-20/+22
* gnu: Add toml-test.•••* gnu/packages/check.scm (toml-test): New variable. Change-Id: I287cc46f371597e8557cb4eb255391d2c6766ddf Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> gemmaro2024-09-231-0/+36
* gnu: actionlint: Update to 1.7.1.•••* gnu/packages/check.scm (actionlint): Update to 1.7.1. Change-Id: I288c5e1793691b070d2acfbcf556dd9e4c104c04 Tobias Geerinckx-Rice2024-09-081-2/+2
* gnu: Add python-parameterized-next.•••* gnu/packages/check.scm (python-parameterized-next): New variable. David Elsing2024-09-061-0/+22