diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c07e3ea3208..8d7fae29277 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -33447,55 +33447,35 @@ tbutils (define-public python-eliot (package (name "python-eliot") - (version "1.16.0") + (version "1.17.5") (source (origin (method url-fetch) (uri (pypi-uri "eliot" version)) (sha256 - (base32 "1ybf5klr8r28yfrkm1a3598h83h10pkx1j1saf9h3lk21isxl9la")))) + (base32 "0rx7isb3h5fvraycfgqm781asjjmqldn0qcv6s2r5fwc1p31ffvb")))) (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-journald-support - (lambda _ - (for-each delete-file - '("eliot/tests/test_journald.py" - "eliot/journald.py")) - #t)) - (add-after 'remove-journald-support 'remove-eliot-prettyprint-tests - ;; remove command-line tool's tests. TODO eliot-prettyprint should - ;; be installed and these tests should pass. - (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)) + (list + ;; tests: 407 passed, 21 skipped, 2 deselected, 5479 warnings + ;; Two tests fail with error: TypeError: Unsupported type. + #:test-flags #~(list "-k" "not test_basic_types and not test_dataclass") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-journald-support + (lambda _ + (for-each delete-file + '("eliot/tests/test_journald.py" + "eliot/journald.py"))))))) (native-inputs - (list python-black - python-coverage - python-flake8 - python-hypothesis - python-pytest - python-pytest-xdist + (list python-pytest python-setuptools - python-sphinx - python-sphinx-rtd-theme - python-testtools - python-twine - python-twisted - python-wheel)) + python-testtools)) + (propagated-inputs + (list python-boltons + python-orjson + python-pyrsistent + python-zope-interface)) (home-page "https://github.com/itamarst/eliot/") (synopsis "Eliot: the logging system that tells you why it happened") (description