summaryrefslogtreecommitdiff
path: root/gnu/packages/check.scm
AgeCommit message (Collapse)Author
2024-12-13gnu: python-coverage: Update to 7.6.8.Nicolas Graves
* gnu/packages/check.scm (python-coverage): Update to 7.6.8. [arguments]<#:test-flags>: Describe why tests fail. Signed-off-by: Sharlatan Hellseher <[email protected]>
2024-12-13gnu: python-mock: Enable tests.Sharlatan Hellseher
* gnu/packages/check.scm (python-mock): Enable tests. [native-inputs]: Add python-pytest, python-setuptools, and python-wheel. Change-Id: I51db06c53d1baa578da421a30049d440134127d7
2024-12-13gnu: python-mock: Update to 5.1.0Peter Polidoro
* gnu/packages/check.scm (python-mock): Update to 5.1.0. Signed-off-by: Sharlatan Hellseher <[email protected]> Change-Id: Ia76e0a7d1781cb52560748ef7eeb1a77feb1acb6
2024-12-13gnu: Add python-pytest-asyncio-0.23.Sharlatan Hellseher
* gnu/packages/check.scm (python-pytest-asyncio-0.23): New variable. Change-Id: I4de42bee146ac1e1a10de7a3b605734c2386465f
2024-12-13gnu: python-pytest-relaxed: Update to 2.0.2.Sharlatan Hellseher
* gnu/packages/check.scm (python-pytest-relaxed): Update to 2.0.2. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I8c94f48bc7ad97421ba4043334d3d2315f5ec391
2024-12-13gnu: python-pytest-mypy-plugins: Update to 3.1.2.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-regressions: Update to 2.5.0.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pylint: Update to 3.3.1.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-random-order: Update to 1.1.1.Sharlatan Hellseher
* 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
2024-12-13gnu: Add python-pytest-lazy-fixtures.Sharlatan Hellseher
* gnu/packages/check.scm (python-pytest-lazy-fixtures): New variable. Change-Id: I366ede16bf72f99b38b1edc43535a2c969822787
2024-12-13gnu: Remove python-pytest-catchlog.Sharlatan Hellseher
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
2024-12-13gnu: python-pytest-asyncio: Update to 0.24.0.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-httpserver: Update to 1.1.0.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-localserver: Update to 0.9.0.post0.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-mypy: Update to 0.10.3.Sharlatan Hellseher
* gnu/packages/check.scm (python-pytest-mypy): Update to 0.10.3. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Ic0483fe3c430c00ea82e9f54e60632ce48f79e75
2024-12-13gnu: python-flaky: Update to 3.8.1.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-xprocess: Update to 1.0.2.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-cov: Update to 6.0.0.Sharlatan Hellseher
* 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
2024-12-13gnu: python-coverage: Update to 7.6.7.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-xdist: Update to 3.6.1.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-mock: Update to 3.14.0.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-forked: Disable tests.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest-timeout: Update to 2.3.1.Sharlatan Hellseher
* 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
2024-12-13gnu: Remove python-pytest-next.Sharlatan Hellseher
* 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
2024-12-13gnu: Remove python-pytest-8.Sharlatan Hellseher
* 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
2024-12-13gnu: python-pytest: Update to 8.3.3.Sharlatan Hellseher
* 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
2024-12-13gnu: python-nose-exclude: Adjust iputs.Sharlatan Hellseher
* gnu/packages/check.scm (python-nose-exclude) [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I325c473275fd20f0bc36c5c5f46f65f662d7ef96
2024-12-13gnu: python-behave-web-api: Update to 2.0.1.Sharlatan Hellseher
* 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
2024-12-13gnu: behave: Update to 1.2.7.dev5.Sharlatan Hellseher
* 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
2024-12-13gnu: python-parameterized-next: Adjust inputs.Sharlatan Hellseher
* gnu/packages/check.scm (python-parameterized-next) [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Ibe0b92cbd85dd169547a1f0f928782f02da9a262
2024-12-13gnu: python-pytest-enabler: Break dependency cycle.Nicolas Graves
* 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 <[email protected]>
2024-12-13gnu: behave: Move to pyproject-build-system.Nicolas Graves
* gnu/packages/check.scm (behave): [build-system]: Move to pyproject-build-system. [arguments]: Remove uneeded field. Change-Id: I9ea513fb49b71d9187461ef55c2a6ecab2844a1d Signed-off-by: Nicolas Goaziou <[email protected]>
2024-12-13gnu: python-pytest-runner: Improve package style.Nicolas Graves
* 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 <[email protected]>
2024-12-13gnu: python-pytest-xdist: Add setuptools and wheel.Ricardo Wurmus
* gnu/packages/check.scm (python-pytest-xdist)[native-inputs]: Add python-setuptools and python-wheel. Change-Id: I0aa7130a6e1bc0741edb164fd145bc20d754c007
2024-12-13gnu: Add python-pytest-mypy-testing.Ricardo Wurmus
* gnu/packages/check.scm (python-pytest-mypy-testing): New variable. Change-Id: Ic55e63745eae070e439155f1dc6792285eb87312
2024-12-13gnu: Add python-setuptools/python-wheel where necessary.Lars-Dominik Braun
Changes to pyproject-build-system require explicit dependency on setuptools/wheel. Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
2024-12-13gnu: python-pytest-xdist: Disable failing test.Lars-Dominik Braun
* gnu/packages/check.scm (python-pytest-xdist)[arguments]: Skip failing test.
2024-12-13build-system/pyproject: Use python-sans-pip-wrapper as default-python.Lars-Dominik Braun
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
2024-11-27gnu: umockdev: Fix build with newer meson.Efraim Flashner
* gnu/packages/check.scm (umockdev)[arguments]: Add a phase to not error on unused-variables from the code generated by vala. Change-Id: I614304dcac9065f4299004e9e4e458d71d308e44
2024-11-23gnu: Respect --cores build argument in some python packages.Sharlatan Hellseher
Reported by Greg Hogan <[email protected]> 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
2024-10-26gnu: Add python-crosshair.Troy Figiel
* gnu/packages/check.scm (python-crosshair): New variable. Change-Id: I7af183df882049c19d562cd15a23f3f3233309a9 Signed-off-by: Sharlatan Hellseher <[email protected]>
2024-09-29gnu: rapidcheck: Fix pkg-config libs.Liliana Marie Prikler
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.
2024-09-23gnu: actionlint: Update to 1.7.2.Sharlatan Hellseher
* gnu/packages/check.scm (actionlint): Update to 1.7.2. [arguments]: <#:build-flags>: Add version to "-ldflags". Change-Id: I2cc668556286b24ae231e3fe4bad468c1d8e8544
2024-09-23gnu: actionlint: Improve package style.Sharlatan Hellseher
* 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
2024-09-23gnu: Add toml-test.gemmaro
* gnu/packages/check.scm (toml-test): New variable. Change-Id: I287cc46f371597e8557cb4eb255391d2c6766ddf Signed-off-by: Sharlatan Hellseher <[email protected]>
2024-09-08gnu: actionlint: Update to 1.7.1.Tobias Geerinckx-Rice
* gnu/packages/check.scm (actionlint): Update to 1.7.1. Change-Id: I288c5e1793691b070d2acfbcf556dd9e4c104c04
2024-09-06gnu: Add python-parameterized-next.David Elsing
* gnu/packages/check.scm (python-parameterized-next): New variable.
2024-08-31gnu: python-lit: Update to 18.1.8.Efraim Flashner
* gnu/packages/check.scm (python-lit): Update to 18.1.8. Change-Id: I7f77079c83c0caa42b3ddfc8e1f12373c13aaca6
2024-08-31gnu: mesa: Fix building on aarch64-linux.Efraim Flashner
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux use clang-18 and llvm-18 instead of llvm-for-mesa. [native-inputs]: When building for aarch64-linux add libclc. [arguments]: Adjust the 'disable-failing-test phase when building for aarch64-linux to skip a test. (mesa-opencl)[native-inputs]: When building for aarch64-linux don't add clang-15. * gnu/packages/check.scm (python-lit), * gnu/packages/llvm.scm (libclc), * gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it being a dependency for mesa. Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
2024-08-31gnu: libfaketime: Support compilation with glibc 2.39 on i686-linux.Ludovic Courtès
* gnu/packages/check.scm (libfaketime)[arguments]: Add ‘switch-libc-call’ phase when not ‘target-64bit?’. In ‘pre-check’ phase, delete ‘test_exclude_mono.sh’ on 32-bit platforms. Change-Id: Ia4c0d1d13cdfa6028f3e11c63e76122a99a84e4d