me
/
guix
Archived
1
0
Fork 0
Commit Graph

434 Commits (b7cb4e2822d1b2ee55ec5ca6f953561a219f4042)

Author SHA1 Message Date
jgart fbbb006986
gnu: Add python-pytest-pudb.
* gnu/packages/check.scm (python-pytest-pudb): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-21 23:03:35 +01:00
Maxim Cournoyer 82d19441b9
gnu: pict: Update to 3.7.3.
* gnu/packages/check.scm (pict): Update to 3.7.3.
2022-02-20 18:52:54 -05:00
Maxime Devos 4262919ea9
gnu: umockdev: Reference libumockdev by absolute path.
* gnu/packages/check.scm
  (umockdev)[arguments]<#:phases>{absolute-introspection-library}:
  New phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Maxime Devos 569d7ba38c
gnu: umockdev: Reference 'env' and 'sh' by absolute path.
* gnu/packages/check.scm
  (umockdev)[inputs]: Add 'bash-minimal' and 'coreutils-minimal'.
  (umockdev)[arguments]<#:phases>{absolute-filenames}: New phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Maxime Devos 33f2e862c7
gnu: umockdev: Use G-expressions.
While we're at it, remove the trailing #t.

* gnu/packagers/check.scm (umockdev)[arguments]<#:phases>: Change to a G-exp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Maxim Cournoyer bc5904e8b8
gnu: pict: Use release tag and install doc.
* gnu/packages/check.scm (pict)[origin]: Use the release tag (newly added
upstream).
[phases]{install}: Also install the pict.md file.
2022-02-08 12:08:44 -05:00
Maxim Cournoyer eb0dd063a0
gnu: Add pict.
* gnu/packages/check.scm (pict): New variable.
2022-02-08 00:28:25 -05:00
Marius Bakke 31ff6a525d
gnu: clitest: Use G-expressions.
* gnu/packages/check.scm (clitest)[arguments]: Rewrite as gexp.  While here,
respect TESTS? in check phase.
2022-02-07 23:47:23 +01:00
Marius Bakke 696e34e721
gnu: clitest: Update to 0.4.0.
* gnu/packages/check.scm (clitest): Update to 0.4.0.
[inputs]: Add BASH-MINIMAL.
[arguments]: Remove trailing #t.
2022-02-07 23:47:23 +01:00
Efraim Flashner a1e84575a4
gnu: libfaketime: Adjust flags on riscv64-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: When building for
riscv64-linux adjust CFLAGS to make the package work.
2022-02-05 19:44:28 +02:00
Marius Bakke 16a45eae2d
gnu: doctest: Update to 2.4.8.
* gnu/packages/check.scm (doctest): Update to 2.4.8.
2022-02-01 23:46:04 +01:00
Simon South c0f4b68431
gnu: catch2: Update to 2.13.8.
* gnu/packages/check.scm (catch-framework2): Update to 2.13.8.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-28 09:44:25 +01:00
Marius Bakke c940b0e38e
gnu: behave: Update to 1.2.7.dev2.
* gnu/packages/check.scm (behave): Update to 1.2.7.dev2.
[source]: Switch to GIT-FETCH.  Remove patches.
[arguments]: Remove #:test-target.  Add #:phases.
[propagated-inputs]: Add PYTHON-COLORAMA and PYTHON-CUCUMBER-TAG-EXPRESSIONS.
* gnu/packages/patches/behave-skip-a-couple-of-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-01-22 10:23:01 +01:00
Marius Bakke 8830d9f900
gnu: python-pytest-asyncio: Update to 0.17.2.
* gnu/packages/check.scm (python-pytest-asyncio): Update to 0.17.2.
[arguments]: Specify setuptools-scm version.  Replace check phase.
[native-inputs]: Remove PYTHON-COVERAGE.  Add PYTHON-FLAKY and
PYTHON-SETUPTOOLS-SCM.
* gnu/packages/python-xyz.scm (python-tqdm, python-watchgod)[arguments]:
Specify asyncio_mode when running tests.
2022-01-22 10:23:00 +01:00
Marius Bakke b62737097c
gnu: python-pytest-mock: Cope with test warnings.
* gnu/packages/check.scm (python-pytest-mock)[source](modules, snippet): New
fields.
[arguments]: Increase test verbosity and remove obsolete workaround.
2022-01-22 10:23:00 +01:00
Maxim Cournoyer e40dfcfcb1
gnu: python-aiohttp: Update to 3.8.1.
* gnu/packages/check.scm (python-pytest-6.1): Delete package.
* gnu/packages/python-web.scm (python-aiohttp): Update to 3.8.1.
[source]: Adjust snippet and comment it out with a TODO comment.
[phases]{cythonize}: Fix indentation.
{check}: Use 'when' for the TESTS? condition.
Delete the test_proxy_functional.py test file.
Skip tests requiring networking.  Run tests in parallel with xdist.
[propagated-inputs]: Add python-aiosignal.  Remove python-attrs.
{python-chardet}: Replace by...
{python-charset-normalizer}: ... this.
Add python-frozenlist.
[native-inputs]: Use the regular python-pytest package.
Add python-pytest-xdist.
2022-01-17 22:24:04 -05:00
Maxim Cournoyer c1482ef315
gnu: python-pytest-timeout: Update to 2.0.2.
* gnu/packages/check.scm (python-pytest-timeout): Update to 2.0.2.
2022-01-10 11:47:00 -05:00
Maxim Cournoyer 2fa2b91d59
gnu: python-pylint: Update to 2.12.2.
* gnu/packages/check.scm (python-pylint): Update to 2.12.2.
[phases]{check}: Override phase.
[native-inputs]: Remove python-pytest-benchmark, python-pytest-runner.
[propagated-inputs]: Add python-platformdirs, python-typing-extensions.
[synopsis]: Streamline.
2022-01-10 11:44:42 -05:00
Maxim Cournoyer 3307224bf9
gnu: python-testpath: Update to 0.5.0 and enable tests.
* gnu/packages/check.scm (python-testpath): Update to 0.5.0.
[phases]{relax-requirements}: New phase
{build}: Build using pypa-build's 'build' command.
{check}: Override phase.
{install}: Adjust.
[native-inputs]: Remove python-flit.  Add python-pypa-build and python-pytest.
[home-page]: Update.
2022-01-10 11:44:41 -05:00
Maxim Cournoyer 8b7a304e99
gnu: python-nose: Fix build.
This unmaintained package doesn't build anymore on Python 3.9.9.

* gnu/packages/check.scm (python-nose)[phases]{invoke-2to3}: New phase.
[properties]: New field.
(python2-nose): Strip python2 property.
[phases]{invoke-2to3}: Delete phase.
2022-01-10 11:44:33 -05:00
Ludovic Courtès e3196755e6
gnu: Further simplify package inputs.
This is the result of running:

  ./pre-inst-env guix style --input-simplification=safe

and manually undoing changes on a dozen of packages to reduce
rebuilds (derivations for emacs, icecat, and libreoffice are unchanged.)
2021-12-13 22:15:07 +01:00
Ludovic Courtès 8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Mathieu Othacehe 32750e8c3e
Merge remote-tracking branch 'signed/master' into core-updates 2021-12-10 21:49:25 +01:00
Sarah Morgensen 93c7a5103d
gnu: Remove go-gopkg.in-check.v1.
This package is a duplicate of go-gopkg-in-check-v1 in golang.scm,
has no binaries, and has no dependents, so remove it.

* gnu/packages/check.scm (go-gopkg.in-check.v1): Remove variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-08 13:35:34 -05:00
Ricardo Wurmus 5d151c27b3
gnu: python-pytest-httpserver: Use GUIX_PYTHONPATH.
* gnu/packages/check.scm (python-pytest-httpserver)[arguments]: Use
GUIX_PYTHONPATH instead of PYTHONPATH.
2021-11-19 10:11:19 +01:00
Maxim Cournoyer 35b91ada73
gnu: python-lit: Update to 12.0.1.
* gnu/packages/check.scm (python-lit): Update to 12.0.1.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 00bd5d3e4f
gnu: python2-lit: Remove package.
* gnu/packages/check.scm (python2-lit): Remove package.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 175018f162
gnu: python-pytest: Update to 6.2.5.
* gnu/packages/check.scm (python-pytest): Update to 6.2.5.
2021-11-11 12:18:23 -05:00
Maxim Cournoyer 7b5824f1a7
gnu: python-hypothesis: Update to 6.23.4.
* gnu/packages/check.scm (python-hypothesis): Update to 6.23.4.
2021-11-11 12:18:22 -05:00
Maxim Cournoyer dac3ba0d40
gnu: python-pytest-6: Fix version via setuptools-scm.
* gnu/packages/check.scm (python-pytest-6): Fix indentation.
[phases]{fix-version}: Rename to...
{pretend-version}: ... this.  Use the supported setuptools-scm mechanism to
manually fix the version string, as suggested upstream.
2021-11-11 12:18:12 -05:00
Greg Hogan 169354db38
gnu: googletest: Update to 1.11.0.
* gnu/packages/check.scm (googletest): Update to 1.11.0.
2021-11-11 10:31:25 -05:00
Efraim Flashner 138c122fef
gnu: Add python-pytest-6.1.
* gnu/packages/check.scm (python-pytest-6.1): New variable.
2021-10-27 13:09:57 +03:00
Efraim Flashner 7a0077d7f3
gnu: python-pytest-mock: Adjust package inputs.
* gnu/packages/check.scm (python-pytest-mock)[propagated-inputs]: Move
python-pytest-asyncio ...
[native-inputs]: ... to here.
(python2-pytest-mock): Adjust to ensure package remains unchanged.
2021-10-27 13:09:26 +03:00
Mathieu Othacehe e486b2b674
Merge remote-tracking branch 'signed/master' into core-updates 2021-10-18 14:37:26 +00:00
Sébastien Lerique 23c9d22e11
gnu: Add python-hypothesis-6.23.
* gnu/packages/check.scm (python-hypothesis-6.23): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2021-10-18 09:02:36 +02:00
Mathieu Othacehe a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Ricardo Wurmus aa4885b3fb
gnu: python2-pytest-mock: Downgrade to 1.10.1.
* gnu/packages/check.scm (python2-pytest-mock)[propagated-inputs]: Only use
python2-mock and python2-pytest.
[version]: Downgrade to 1.10.1.
2021-09-29 23:43:32 +02:00
Maxim Cournoyer cf2b021e60
gnu: python-pytest-6: Fix version string in metadata.
The PKG-INFO file generated previously would have '0.0.0' as the version
string, causing problems in other packages specifying requirements such as
'pytest>=6'.

* gnu/packages/check.scm (python-pytest-6)[phases]{fix-version}: New phase.
2021-09-28 22:11:19 -04:00
Maxim Cournoyer 8f8eaf579f
gnu: Add python-pytest-random-order.
* gnu/packages/check.scm (python-pytest-random-order): New variable.
2021-09-27 23:10:44 -04:00
Maxim Cournoyer c776b6ba8e
gnu: Add python-pytest-assume.
* gnu/packages/check.scm (python-pytest-assume): New variable.
2021-09-26 23:08:37 -04:00
Maxim Cournoyer 5f3a32199a
gnu: python-pyhamcrest: Update to 2.0.2.
* gnu/packages/check.scm (python-pyhamcrest): Update to 2.0.2.
[origin]: Use latest tagged release.  Reword comment.
[native-inputs]: Remove all but the python-pytest input.
[propagated-inputs]: Delete field.
[phases]{check}: Augment PYTHONPATH via the add-installed-pythonpath
procedure.
2021-09-26 22:47:20 -04:00
Maxim Cournoyer e7b018b282
gnu: python2-pyhamcrest: Remove package.
* gnu/packages/check.scm (python2-pyhamcrest): Delete variable.
2021-09-26 22:47:20 -04:00
Ludovic Courtès d9dfbf886d
Merge branch 'master' into core-updates-frozen 2021-09-07 14:19:08 +02:00
Ricardo Wurmus 73995969b1
gnu: Remove python-pytest-mock-3.
* gnu/packages/check.scm (python-pytest-mock-3): Remove variable.
* gnu/packages/python-xyz.scm (python-anyio)[native-inputs]: Replace
python-pytest-mock-3 with python-pytest-mock.
2021-08-31 23:11:05 +02:00
Efraim Flashner 2a15e92766
gnu: libfaketime: Adjust flags on powerpc64le-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: Adjust CFLAGS on
powerpc64le-linux to make package work.
2021-08-22 12:16:48 +03:00
Efraim Flashner 43bc7dd39c
gnu: python-testtools: Honor #:tests? in check phase.
* gnu/packages/check.scm (python-testtools)[arguments]: Adjust custom
'check phase to honor #:tests.
2021-08-11 16:21:15 +03:00
Efraim Flashner db8e8eb171
gnu: python-testtools: Update to 2.5.0.
* gnu/packages/check.scm (python-testtools): Update to 2.5.0.
[propagated-inputs]: Remove python-mimeparse, python-pbr, python-six,
python-traceback2, python-unittest2.
(python-testtools-bootstrap)[source]: Remove patch.
* gnu/packages/patches/python-testtools.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-08-11 16:16:51 +03:00
Efraim Flashner 5037b08b93
gnu: python-fixtures: Honor tests? in the check phase.
* gnu/packages/check.scm (python-fixtures)[arguments]: Adjust 'check
phase to honor #:tests.
2021-08-11 16:14:55 +03:00
Efraim Flashner 02fbd89f2b
gnu: python-fixtures: Fix building.
* gnu/packages/check.scm (python-fixtures-bootstrap)[source]: Add patch.
* gnu/packages/patches/python-fixtures-remove-monkeypatch-test.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-08-11 16:13:56 +03:00
Efraim Flashner 36cb285d61
gnu: python-pylint: Update to 2.9.6.
* gnu/packages/check.scm (python-pylint): Update to 2.9.6.
[arguments]: Remove field.
[native-inputs]: Remove python-tox.
[propagated-inputs]: Remove python-six.
2021-08-09 15:18:39 +03:00