mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-eliot: Update to 1.17.5.
* gnu/packages/python-xyz.scm (python-eliot): Update to 1.17.5. Use G-expressions. [arguments] <phases>: Remove 'remove-eliot-prettyprint-tests and 'remove-failing-tests, use <#:test-flags> instead. Remove traling #t from lambdas. [native-inputs]: Remove python-black, python-coverage, python-flake8, python-hypothesis, python-pytest-xdist, python-sphinx, python-sphinx-rtd-theme, python-twine, python-twisted, and python-wheel. Change-Id: I58925e5f235165a8d6f36a36eb54f9e57a36c814
This commit is contained in:
parent
081e46ebd5
commit
a4b7f243b9
1 changed files with 20 additions and 40 deletions
|
@ -33423,55 +33423,35 @@ tbutils
|
||||||
(define-public python-eliot
|
(define-public python-eliot
|
||||||
(package
|
(package
|
||||||
(name "python-eliot")
|
(name "python-eliot")
|
||||||
(version "1.16.0")
|
(version "1.17.5")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "eliot" version))
|
(uri (pypi-uri "eliot" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1ybf5klr8r28yfrkm1a3598h83h10pkx1j1saf9h3lk21isxl9la"))))
|
(base32 "0rx7isb3h5fvraycfgqm781asjjmqldn0qcv6s2r5fwc1p31ffvb"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
;; tests: 407 passed, 21 skipped, 2 deselected, 5479 warnings
|
||||||
(add-after 'unpack 'remove-journald-support
|
;; Two tests fail with error: TypeError: Unsupported type.
|
||||||
(lambda _
|
#:test-flags #~(list "-k" "not test_basic_types and not test_dataclass")
|
||||||
(for-each delete-file
|
#:phases
|
||||||
'("eliot/tests/test_journald.py"
|
#~(modify-phases %standard-phases
|
||||||
"eliot/journald.py"))
|
(add-after 'unpack 'remove-journald-support
|
||||||
#t))
|
(lambda _
|
||||||
(add-after 'remove-journald-support 'remove-eliot-prettyprint-tests
|
(for-each delete-file
|
||||||
;; remove command-line tool's tests. TODO eliot-prettyprint should
|
'("eliot/tests/test_journald.py"
|
||||||
;; be installed and these tests should pass.
|
"eliot/journald.py")))))))
|
||||||
(lambda _
|
|
||||||
(delete-file "eliot/tests/test_prettyprint.py")
|
|
||||||
#t))
|
|
||||||
(add-after 'remove-eliot-prettyprint-tests 'remove-failing-tests
|
|
||||||
(lambda _
|
|
||||||
;; These tests started to fail after updating python-pandas to
|
|
||||||
;; 1.3.3 and python-dask to 2021.9.1.
|
|
||||||
(substitute* "eliot/tests/test_validation.py"
|
|
||||||
(("test_omitLoggerFromActionType")
|
|
||||||
"_test_omitLoggerFromActionType")
|
|
||||||
(("test_logCallsDefaultLoggerWrite")
|
|
||||||
"_test_logCallsDefaultLoggerWrite"))
|
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-boltons python-orjson python-pyrsistent python-zope-interface))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-black
|
(list python-pytest
|
||||||
python-coverage
|
|
||||||
python-flake8
|
|
||||||
python-hypothesis
|
|
||||||
python-pytest
|
|
||||||
python-pytest-xdist
|
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-sphinx
|
python-testtools))
|
||||||
python-sphinx-rtd-theme
|
(propagated-inputs
|
||||||
python-testtools
|
(list python-boltons
|
||||||
python-twine
|
python-orjson
|
||||||
python-twisted
|
python-pyrsistent
|
||||||
python-wheel))
|
python-zope-interface))
|
||||||
(home-page "https://github.com/itamarst/eliot/")
|
(home-page "https://github.com/itamarst/eliot/")
|
||||||
(synopsis "Eliot: the logging system that tells you why it happened")
|
(synopsis "Eliot: the logging system that tells you why it happened")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue