diff options
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r-- | gnu/packages/python-web.scm | 84 |
1 files changed, 64 insertions, 20 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5e65030fec..3e11bf604d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -151,6 +151,59 @@ #:use-module (gnu packages) #:use-module (srfi srfi-1)) +(define-public python-aiocoap + (package + (name "python-aiocoap") + (version "0.4.14") + (source + (origin + (method git-fetch) ; tests miss data and module files in PyPI release + (uri (git-reference + (url "https://github.com/chrysn/aiocoap") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0yxvcg5llgmccv0a9hfm4nr7zxv9al4wh257m95a06g5c52v6hxz")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; OSError: [Errno 98] error while attempting to bind on address ('::1', + ;; 8683, 0, 0): address already in use + #~(list "--ignore=tests/test_server.py" + "-k" (string-join + ;; TypeError: can only concatenate str (not "NoneType") to + ;; str + (list "not test_options" + "test_uri_parser" + "test_help" ; returned non-zero exit status 1. + "test_routing" ; address already in use + "test_tls") + " and not ")))) + (native-inputs + (list openssl ;for tests/test_tls.py + python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list ;; python-cbor-diag + python-cbor2 + python-cryptography + ;; python-dtlssocket + python-filelock + ;; python-ge25519 + python-pygments + python-termcolor + python-websockets)) + (home-page "https://github.com/chrysn/aiocoap") + (synopsis "Python CoAP library") + (description + "The aiocoap package is an implementation of @url{@acronym{CoAP, the +Constrained Application Protocol}, http://coap.space/}. It facilitates +writing applications that talk to network enabled embedded +@acronym{IoT,Internet of Things} devices.") + (license license:expat))) + (define-public python-devpi-common (package (name "python-devpi-common") @@ -3130,20 +3183,21 @@ the Misaka Markdown parser.") (define-public python-flask-session (package (name "python-flask-session") - (version "0.4.0") + (version "0.8.0") (source (origin (method url-fetch) - (uri (pypi-uri "Flask-Session" version)) + (uri (pypi-uri "flask_session" version)) (sha256 (base32 - "0ihzlhdhss8f93p3njzva9rdm7kmhaakdlzz680wmi583wr59vf9")))) - (build-system python-build-system) + "1zs20zpq6gxz9gsccbd2jrrbbcfvh0x9z9741gkr8dhh07mlbq10")))) + (build-system pyproject-build-system) (arguments '(#:tests? #f)) ; Tests require the various storage backends to be present + (native-inputs (list python-flit-core)) (propagated-inputs - (list python-cachelib python-flask)) - (home-page "https://github.com/fengsp/flask-session") + (list python-cachelib python-flask python-msgspec)) + (home-page "https://github.com/pallets-eco/flask-session") (synopsis "Adds server-side session support to your Flask application") (description "Flask-Session is an extension for Flask that adds support for @@ -3894,26 +3948,16 @@ teams extension for python-openid.") (define-public python-priority (package (name "python-priority") - (version "1.3.0") + (version "2.0.0") (source (origin (method url-fetch) (uri (pypi-uri "priority" version)) (sha256 - (base32 "1gpzn9k9zgks0iw5wdmad9b4dry8haiz2sbp6gycpjkzdld9dhbb")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv" "test" "-k" - ;; This test exceeded the Hypothesis deadline. - "not test_period_of_repetition")))))) + (base32 "1h0qpa949bxx7za95v1apwnngkrngi695cwx8wchn3cd3d7xarf9")))) + (build-system pyproject-build-system) (native-inputs - (list python-hypothesis python-pytest python-pytest-cov - python-pytest-xdist)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://python-hyper.org/projects/priority/en/latest/") (synopsis "Pure-Python implementation of the HTTP/2 priority tree") (description |