diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/astronomy.scm | 8 | ||||
-rw-r--r-- | gnu/packages/enlightenment.scm | 2 | ||||
-rw-r--r-- | gnu/packages/python-check.scm | 15 | ||||
-rw-r--r-- | gnu/packages/python-web.scm | 16 | ||||
-rw-r--r-- | gnu/packages/python-xyz.scm | 102 | ||||
-rw-r--r-- | gnu/packages/version-control.scm | 10 |
6 files changed, 83 insertions, 70 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index e5a38226be..5328c43f59 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -9218,6 +9218,9 @@ using (multivariate) polynomials.") #:build-backend "setuptools.build_meta" #:test-flags #~(list "--numprocesses" (number->string (parallel-job-count)) + ;; Failed: 'yield' keyword is allowed in fixtures, but not in + ;; tests (test_recipe) + "--ignore=doc/source/cookbook/tests/test_cookbook.py" "-k" (string-join ;; Tests requiring networking. (list "not test_load_sample_timeout" @@ -9227,7 +9230,10 @@ using (multivariate) polynomials.") "test_registry_byte_size_dtype" "test_registry_byte_size_sign" ;; AssertionError: Arrays are not equal - "test_field_cut_off_axis_octree") + "test_field_cut_off_axis_octree" + ;; UserWarning: pkg_resources is deprecated as an + ;; API + "test_glue_data_object") " and not ")) #:phases #~(modify-phases %standard-phases diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index 60196cd6e3..8a08262e22 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm @@ -433,7 +433,7 @@ embedded systems.") (delete-file "tests/ecore/test_09_file_download.py") (delete-file "tests/ecore/test_11_con.py")))))) (native-inputs - (list pkg-config python-cython)) + (list pkg-config python-cython-0)) (inputs (list efl python-dbus python-packaging)) (home-page "https://www.enlightenment.org/") diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 990ee1cf1e..f06baf96fa 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -832,18 +832,19 @@ Python.") (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "-vr" "green") + #:test-flags + #~(list "-tvvv" + "green.test.test_version" + "green.test.test_cmdline") #:phases #~(modify-phases %standard-phases (replace 'check - (lambda* (#:key tests? test-flags #:allow-other-keys) + (lambda* (#:key tests? test-flags #:allow-other-keys) (when tests? - (apply invoke "python" "-m" "green" test-flags))))))) + (setenv "PATH" (string-append #$output "/bin:" (getenv "PATH"))) + (apply invoke "green" test-flags))))))) (native-inputs - (list python-mypy - python-setuptools - python-testtools - python-wheel)) + (list python-setuptools)) (propagated-inputs (list python-colorama python-coverage diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 01094e8327..e4deac3073 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7058,26 +7058,30 @@ this it tries to be opinion-free and very extendable.") (define-public python-engineio (package (name "python-engineio") - (version "4.11.2") + (version "4.12.2") (source (origin (method url-fetch) (uri (pypi-uri "python_engineio" version)) (sha256 (base32 - "0abijzn4srf89jlj0kqcd9xbhyxvglzxkciy5nxv815rrvdb0nql")))) + "1ynyf3n29biwkm6nwzzwzhr4m19lsir1x5azxq2nl7xyw7zi5rz7")))) (build-system pyproject-build-system) (arguments (list - ;; File not found. - #:test-flags '(list "-k" "not test_static_files"))) + #:test-flags + #~(list "-k" + "not test_static_file_routing and not test_static_files"))) + (native-inputs + (list python-pytest + python-pytest-asyncio + python-setuptools + python-tornado)) (propagated-inputs (list python-aiohttp python-requests python-simple-websocket - python-tornado python-websocket-client)) - (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/miguelgrinberg/python-engineio/") (synopsis "Engine.IO server") (description "This package provides a Python implementation of the diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1f195b8518..36fb963c43 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26503,31 +26503,21 @@ command line utility, a python library and plugins for various editors.") (define-public python-mando (package (name "python-mando") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "mando" version)) - (sha256 - (base32 - "001mikga36i811pbc95rb45m2kzivkx4xb0fn3pzl4xnnjcskfhq")))) - (build-system python-build-system) - (arguments - (list #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv"))))))) - (propagated-inputs - (list python-rst2ansi python-six)) + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mando" version)) + (sha256 + (base32 "1ddn4h1fvc9f8z2p8l88jyazxnp0h7rmh711i2hwkipxlbcmk5jk")))) + (build-system pyproject-build-system) (native-inputs - (list python-pytest)) + (list python-pytest python-setuptools)) (home-page "https://mando.readthedocs.org/") - (synopsis - "Wrapper around argparse, allowing creation of complete CLI applications") + (synopsis "Wrapper around argparse, allowing creation of complete CLI applications") (description "This package is a wrapper around argparse, allowing you to write complete CLI - applications in seconds while maintaining all the flexibility.") +applications in seconds while maintaining all the flexibility.") (license license:expat))) (define-public python-mwclient @@ -33534,44 +33524,50 @@ with the Twisted web framework.") (license license:expat)))) (define-public python-txacme - (package - (name "python-txacme") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "txacme" version)) - (sha256 - (base32 "1cplx4llq7i508w6fgwjdv9di7rsz9k9irfmzdfbiz6q6a0ykf1d")))) - (build-system python-build-system) - (propagated-inputs - (list python-acme - python-attrs - python-eliot - python-josepy - python-pem - python-treq - python-twisted - python-txsni)) - (native-inputs - (list python-fixtures - python-hypothesis - python-mock - python-service-identity - python-testrepository - python-testscenarios - python-testtools)) - (home-page "https://github.com/twisted/txacme") - (synopsis "Twisted implexmentation of the ACME protocol") - (description - "ACME is Automatic Certificate Management Environment, a protocol that + ;; 0.9.3 tag was placed in 2020 and there a lot of changes providing + ;; compatibility wit twisted, use the latest commit from trunk branch. + ;; + ;;See: <https://github.com/twisted/txacme/issues/165>. + (let ((commit "ac18f92f6dde971a6b38f2ecfae44665815db583") + (revision "0")) + (package + (name "python-txacme") + (version (git-version "0.9.3" revision commit)) + (source + (origin + (method git-fetch) ;no fresh release in PyPI + (uri (git-reference + (url "https://github.com/twisted/txacme") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0mgdfxldv8qflbn75ywslbarnd4i3l7c4krs4aibl2dpryclsjzs")))) + (build-system pyproject-build-system) + (arguments + (list #:test-backend #~'custom + #:test-flags #~(list "-m" "twisted.trial" "txacme"))) + (native-inputs + (list python-setuptools)) + (propagated-inputs + (list python-acme + python-attrs + python-eliot + python-josepy + python-pem + python-treq + python-twisted + python-txsni)) + (home-page "https://github.com/twisted/txacme") + (synopsis "Twisted implexmentation of the ACME protocol") + (description + "ACME is Automatic Certificate Management Environment, a protocol that allows clients and certificate authorities to automate verification and certificate issuance. The ACME protocol is used by the free Let's Encrypt Certificate Authority. txacme is an implementation of the protocol for Twisted, the event-driven networking engine for Python.") - (license license:expat))) + (license license:expat)))) (define-public python-pysaml2 (package diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 86cc099f70..f03994406e 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -228,6 +228,10 @@ (find-files "breezy/tests")) (("#!/bin/sh") (format #f "#!~a" (which "sh")))))) + (add-after 'unpack 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + (string-append "-g -O2 -Wno-error=implicit-function-declaration")))) (add-before 'build 'adjust-for-python-3.10 (lambda _ (substitute* '("breezy/doc_generate/__init__.py" @@ -253,11 +257,13 @@ ;; Unknown Failure "-x" "breezy.tests.test_plugins.TestLoadPluginAt.test_compiled_loaded" "-x" "breezy.tests.test_plugins.TestPlugins.test_plugin_get_path_pyc_only" - "-x" "breezy.tests.test_selftest.TestActuallyStartBzrSubprocess.test_start_and_stop_bzr_subprocess_send_signal"))))))) + "-x" "breezy.tests.test_selftest.TestActuallyStartBzrSubprocess.test_start_and_stop_bzr_subprocess_send_signal" + ;; AttributeError: module 'paramiko' has no attribute 'DSSKey' + "-x" "breezy.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh"))))))) (native-inputs (append (list gettext-minimal - python-cython + python-cython-0 python-setuptools python-setuptools-gettext python-setuptools-rust |