summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-11 12:07:32 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:01 +0100
commita77cd1a8e41a80844bbde9e4e370a4eefbb65072 (patch)
treea8bf10d9f33767411920f175627a6fcef626cd2d /gnu/packages
parent47a3f790db3846c43ffbdd7b5c46dff844a5888f (diff)
gnu: python-flask: Update to 3.1.3.
* gnu/packages/python-web.scm (python-flask): Update to 3.1.3. [source]: Switch to git-fetch. [arguments] <test-flags>: Skip one test. [propagated-inputs]: Add python-markupsafe and python-dotenv. Change-Id: I30c8110d29d32d0f4d8f694962ec3dd7ed89aa48
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm27
1 files changed, 20 insertions, 7 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9188bc65f98..bead4c021bc 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8252,24 +8252,37 @@ WSGI.")
8252(define-public python-flask 8252(define-public python-flask
8253 (package 8253 (package
8254 (name "python-flask") 8254 (name "python-flask")
8255 (version "3.1.0") 8255 (version "3.1.3")
8256 (source 8256 (source
8257 (origin 8257 (origin
8258 (method url-fetch) 8258 (method git-fetch)
8259 (uri (pypi-uri "flask" version)) 8259 (uri (git-reference
8260 (url "https://github.com/pallets/flask")
8261 (commit version)))
8262 (file-name (git-file-name name version))
8260 (sha256 8263 (sha256
8261 (base32 "1b1nb250jxrjplbs21wnwq69250vs3iz2pdhs7cwi5y8hi8kr1sz")))) 8264 (base32 "006s5rm4syg48ymmwlnrkx8f8j758waksvhdsfiqx51zv52c0p8l"))))
8262 (build-system pyproject-build-system) 8265 (build-system pyproject-build-system)
8266 (arguments
8267 (list
8268 #:test-flags
8269 ;; assert 404 == 400
8270 ;; This test is removed on master branch.
8271 #~(list (string-append "--deselect=tests/test_reqctx.py"
8272 "::test_bad_environ_raises_bad_request"))))
8263 (native-inputs 8273 (native-inputs
8264 (list python-flit-core 8274 (list python-flit-core
8265 python-pytest)) 8275 python-pytest))
8266 (propagated-inputs 8276 (propagated-inputs
8267 (list python-asgiref ;async extra 8277 (list python-blinker
8268 python-click 8278 python-click
8269 python-blinker
8270 python-itsdangerous 8279 python-itsdangerous
8271 python-jinja2 8280 python-jinja2
8272 python-werkzeug)) 8281 python-markupsafe
8282 python-werkzeug
8283 ;; [optional]
8284 python-asgiref
8285 python-dotenv))
8273 (home-page "https://palletsprojects.com/p/flask/") 8286 (home-page "https://palletsprojects.com/p/flask/")
8274 (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions") 8287 (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions")
8275 (description "Flask is a micro web framework based on the Werkzeug toolkit 8288 (description "Flask is a micro web framework based on the Werkzeug toolkit