me
/
guix
Archived
1
0
Fork 0
Commit Graph

425 Commits (5c6ebc0060e19b78ca2cca3b4cfc552511205c8a)

Author SHA1 Message Date
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
Efraim Flashner 7e8146923f
gnu: python-pytest-xprocess: Update to 0.18.1.
* gnu/packages/check.scm (python-pytest-xprocess): Update to 0.18.1.
[propagated-inputs]: Remove python-pytest-cache.
[native-inputs]: Add python-setuptools-scm.
[home-page]: Update to new home-page.
2021-08-09 12:28:22 +03:00
Efraim Flashner 0112675d11
gnu: cpputest: Update to 4.0.
* gnu/packages/check.scm (cpputest): Update to 4.0.
2021-08-08 13:39:17 +03:00
Marius Bakke d2e102d4e4
Merge branch 'master' into core-updates-frozen 2021-08-01 23:23:32 +02:00
Ludovic Courtès 646b5ad983
gnu: Add googlebenchmark.
* gnu/packages/check.scm (googlebenchmark): New variable.
2021-07-29 21:54:54 +02:00
Ricardo Wurmus 76b5a14ad5
gnu: Add python-pytest-mock-3.
* gnu/packages/check.scm (python-pytest-mock-3): New variable.
2021-08-30 18:29:56 +02:00
Maxim Cournoyer fa4c3deb8b
gnu: Add python-pytest-xdist-next.
* gnu/packages/check.scm (python-pytest-xdist-next): New variable.
2021-08-29 01:05:29 -04:00
Maxim Cournoyer 9482c5ad03
gnu: python-pytest-xdist: Fix by downgrading to 1.34.0, run test suite.
Commit ed72e55831 updated the package to 2.1.0, but this version doesn't work
with Pytest 5, the version currently used in Guix.  Downgrade to the last
version that is compatible with Pytest 5.

* gnu/packages/check.scm (python-pytest-xdist): Downgrade to 1.34.0, with a
comment explaining why.  Strip trailing #t.
[source]: Remove origin modules and snippet field, no longer necessary.
[phases]{check}: Override to run the test suite.
[propagated-inputs]: Remove python-py and add python-pytest-forked.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer 48461816e4
gnu: python-pytest-mock: Update to 3.6.1 and run test suite.
* gnu/packages/check.scm (python-pytest-mock): Update to 3.6.1.
[phases]{check}: Override to run test suite.
[propagated-inputs]: Add python-pytest-asyncio.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer b1ef8b410c
gnu: python-pytest-asyncio: Enable tests and patch for Python 3.8.
* gnu/packages/patches/python-pytest-asyncio-python-3.8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/check.scm (python-pytest-asyncio)
[source]: Fetch from git and apply above patch.
[phases]: Override the check phase, enabling tests.
2021-08-29 01:05:28 -04:00