mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: vdirsyncer: Fix tests, reduce closure size.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.19.3. [arguments] <phases>: Add 'relax-requirements, and 'pre-check. [native-inputs]: Remove python-sphinx, python-wheel, python-hypothesis, and python-pytest-asyncio; add python-pytest-asyncio-0.26. Change-Id: I81161cc8460a15b5a5cf9b6f525c060de96609a6
This commit is contained in:
parent
1dc0cb50e2
commit
075139ad2e
1 changed files with 15 additions and 10 deletions
|
@ -178,20 +178,25 @@ efficient syncing
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "docs/conf.py"
|
(substitute* "docs/conf.py"
|
||||||
(("^release.*")
|
(("^release.*")
|
||||||
(string-append "release = '" #$version "'\n"))))))))
|
(string-append "release = '" #$version "'\n")))))
|
||||||
|
(add-after 'unpack 'relax-requirements
|
||||||
|
;; See: <https://github.com/pimutils/vdirsyncer/issues/1111>.
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("aiostream>=0.4.3,<0.5.0")
|
||||||
|
"aiostream"))))
|
||||||
|
(add-before 'check 'pre-check
|
||||||
|
(lambda _
|
||||||
|
(setenv "DETERMINISTIC_TESTS" "true"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-setuptools
|
(list python-aioresponses
|
||||||
python-setuptools-scm
|
|
||||||
python-sphinx
|
|
||||||
python-wheel
|
|
||||||
;; Required for testing
|
|
||||||
python-aioresponses
|
|
||||||
python-hypothesis
|
|
||||||
python-trustme
|
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-asyncio
|
|
||||||
python-pytest-cov
|
python-pytest-cov
|
||||||
|
python-pytest-asyncio-0.26
|
||||||
python-pytest-httpserver
|
python-pytest-httpserver
|
||||||
|
python-setuptools
|
||||||
|
python-setuptools-scm
|
||||||
|
python-trustme
|
||||||
radicale))
|
radicale))
|
||||||
(inputs
|
(inputs
|
||||||
(list python-aiohttp
|
(list python-aiohttp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue