diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-04-26 11:16:08 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-04-26 11:17:41 +0200 |
commit | 5409ae48af9febd34c5cc2ba3cc98e1e3509c2cc (patch) | |
tree | 5399cdcb6fe213ffd5633838d67b9238d22e4b3b | |
parent | 2bf96f2d9e1f1415acf96c9a4620e2314af955bb (diff) | |
download | guix-5409ae48af9febd34c5cc2ba3cc98e1e3509c2cc.tar.gz |
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.
-rw-r--r-- | gnu/packages/python-science.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c0a1c4794f..e3f3b05ccd 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1025,7 +1025,7 @@ Mathematics (GLM) library to Python.") "009jrlk7kmazrd3nkl217cl3x5ddg7kw9mqdgq1z9knv5h1rm8qv")) ;; Delete bundled copy of python-versioneer. (snippet '(delete-file "versioneer.py")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments '(#:phases (modify-phases %standard-phases @@ -1056,6 +1056,11 @@ Mathematics (GLM) library to Python.") (replace 'check (lambda* (#:key tests? #:allow-other-keys) (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") ;; The integration tests are all problematic to 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_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 ;; expected to happen. " and not test_stack_overflow" |