gnu: python-distributed: Fix build.
* gnu/packages/python-science.scm (python-distributed)[build-system]: Use pyproject-build-system. [arguments]: Hide deprecation warnings from tornado, because they break almost all tests; disable three more tests.master
parent
2bf96f2d9e
commit
5409ae48af
|
@ -1025,7 +1025,7 @@ Mathematics (GLM) library to Python.")
|
||||||
"009jrlk7kmazrd3nkl217cl3x5ddg7kw9mqdgq1z9knv5h1rm8qv"))
|
"009jrlk7kmazrd3nkl217cl3x5ddg7kw9mqdgq1z9knv5h1rm8qv"))
|
||||||
;; Delete bundled copy of python-versioneer.
|
;; Delete bundled copy of python-versioneer.
|
||||||
(snippet '(delete-file "versioneer.py"))))
|
(snippet '(delete-file "versioneer.py"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -1056,6 +1056,11 @@ Mathematics (GLM) library to Python.")
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
(substitute* "setup.cfg"
|
||||||
|
(("ignore:There is no current event loop:DeprecationWarning" m)
|
||||||
|
(string-append m "
|
||||||
|
ignore:clear_current is deprecated:DeprecationWarning
|
||||||
|
ignore:make_current is deprecated.*:DeprecationWarning")))
|
||||||
(setenv "DISABLE_IPV6" "1")
|
(setenv "DISABLE_IPV6" "1")
|
||||||
;; The integration tests are all problematic to some
|
;; The integration tests are all problematic to some
|
||||||
;; degree. They either require network access or some
|
;; degree. They either require network access or some
|
||||||
|
@ -1174,6 +1179,12 @@ Mathematics (GLM) library to Python.")
|
||||||
" and not test_version"
|
" and not test_version"
|
||||||
" and not test_git_revision"
|
" and not test_git_revision"
|
||||||
|
|
||||||
|
;; These fail because the exception text format
|
||||||
|
;; appears to have changed.
|
||||||
|
" and not test_exception_text"
|
||||||
|
" and not test_worker_bad_args"
|
||||||
|
" and not test_run_spec_deserialize_fail"
|
||||||
|
|
||||||
;; Recursion stack failure. No idea what they
|
;; Recursion stack failure. No idea what they
|
||||||
;; expected to happen.
|
;; expected to happen.
|
||||||
" and not test_stack_overflow"
|
" and not test_stack_overflow"
|
||||||
|
|
Reference in New Issue