GNU bug report logs -
#69449
[PATCH python-team 0/9] gnu: Add python-flask-3.
Previous Next
Reported by: Tanguy Le Carrour <tanguy <at> bioneland.org>
Date: Wed, 28 Feb 2024 09:56:02 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69449 in the body.
You can then email your comments to 69449 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 09:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tanguy Le Carrour <tanguy <at> bioneland.org>
:
New bug report received and forwarded. Copy sent to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
.
(Wed, 28 Feb 2024 09:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix, hi Python team,
Here is a patch set that adds Flask 3. As it is a major version,
I decided to add a new variable. And, as it depends on Werkzeug 3,
I did the same for it. Please let me know if you think it was not
the proper way to go.
I also submit some trivial package updates to the python-team branch,
as some of them trigger quite a lot of rebuilds (3500+ for python-jinja2).
Regards,
Tanguy Le Carrour (9):
gnu: python-itsdangerous: Update to 2.1.2.
gnu: python-jinja2: Update to 3.1.3.
gnu: python-click: Update to 8.1.7.
gnu: python-blinker: Update to 1.7.0.
gnu: Add python-ephemeral-port-reserve.
gnu: python-werkzeug: Rename variable to python-werkzeug-2.
gnu: Add python-werkzeug-3.
gnu: python-flask: Rename to python-flask-2.
gnu: Add python-flask-3.
gnu/packages/python-web.scm | 80 +++++++++++++++++++++++++++++++++++--
gnu/packages/python-xyz.scm | 41 ++++++++++++++-----
2 files changed, 106 insertions(+), 15 deletions(-)
base-commit: b77f45a62c71e326aeaab486c700bc51af29760c
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:17:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-itsdangerous): Update to 2.1.2.
Change-Id: I59ad3927995fc5f8b63f578a4f7fc4c0ea60678e
---
gnu/packages/python-xyz.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e5aeeef14e..bdcdf8c7c8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -65,7 +65,7 @@
;;; Copyright © 2019 Jacob MacDonald <jaccarmac <at> gmail.com>
;;; Copyright © 2019-2021, 2023, 2024 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
-;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour <tanguy <at> bioneland.org>
+;;; Copyright © 2019, 2020, 2021, 2022, 2024 Tanguy Le Carrour <tanguy <at> bioneland.org>
;;; Copyright © 2019, 2021-2023 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
;;; Copyright © 2020 Riku Viitanen <riku.viitanen <at> protonmail.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba <at> kadziolka.net>
@@ -5743,14 +5743,14 @@ (define-public python-pympler
(define-public python-itsdangerous
(package
(name "python-itsdangerous")
- (version "2.0.1")
+ (version "2.1.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "itsdangerous" version))
(sha256
(base32
- "1w6gfb2zhbcmrfj6digwzw1z68w6zg1q87rm6la2m412zil4swly"))))
+ "0shmfj4c67xgdawxxri2zqxzrhsxaiiif0pr4zrl4pky665wdfsx"))))
(build-system python-build-system)
(home-page "https://palletsprojects.com/p/itsdangerous/")
(synopsis "Python library for passing data to/from untrusted environments")
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:17:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-ephemeral-port-reserve): New variable.
Change-Id: I98d153179ac533fad3fa7c12a838bd12bb615a15
---
gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a6f3aec7ed..348b3084b5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16439,6 +16439,24 @@ (define-public python-epc
from elisp.")
(license license:gpl3)))
+(define-public python-ephemeral-port-reserve
+ (package
+ (name "python-ephemeral-port-reserve")
+ (version "1.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ephemeral_port_reserve" version))
+ (sha256
+ (base32 "1chl9hil7ggz6l4sfhmp0l2j55qcskbc3pj9360b0309jwndmxxq"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/Yelp/ephemeral-port-reserve/")
+ (synopsis "Utility to bind to an ephemeral port")
+ (description
+ "Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it.")
+ (license license:expat))) ;; MIT
+
(define-public python-forex-python
(package
(name "python-forex-python")
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:17:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-werkzeug-3): New variable.
Change-Id: I9e53b3a5e303cc36aeaf7b3cfb678fb6aab1b6a7
---
gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 960ad0d879..e8edc1604c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5030,6 +5030,41 @@ (define-public python-werkzeug-1.0
(native-inputs
(list python-pytest python-pytest-timeout))))
+(define-public python-werkzeug-3
+ (package
+ (name "python-werkzeug")
+ (version "3.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "werkzeug" version))
+ (sha256
+ (base32 "1k0x7fxlbvshcpbr9d16z2w1s3irngadwyll0jj1hax7rqg82zjh"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ ;; Some tests rely on the network and on a newer version
+ ;; or python-watchdog.
+ (delete-file "tests/test_serving.py")
+ (invoke "python" "-m" "pytest")))))))
+ (propagated-inputs (list))
+ (native-inputs (list python-ephemeral-port-reserve python-flit-core
+ python-markupsafe python-watchdog
+ python-pytest python-pytest-timeout
+ python-pytest-xprocess))
+ (home-page "https://werkzeug.palletsprojects.com")
+ (synopsis "Utilities for WSGI applications")
+ (description
+ "One of the most advanced WSGI utility modules. It includes a
+powerful debugger, full-featured request and response objects, HTTP utilities to
+handle entity tags, cache control headers, HTTP dates, cookie handling, file
+uploads, a powerful URL routing system and a bunch of community-contributed
+addon modules.")
+ (license license:bsd-3)))
+
(define-public python-werkzeug python-werkzeug-2)
(define-public python-bottle
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:18:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-jinja2): Update to 3.1.3.
Change-Id: I2dc33972577c579fa255f031705cc1961c2c4f7f
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bdcdf8c7c8..3348cc0d58 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6019,14 +6019,14 @@ (define-public python-markupsafe
(define-public python-jinja2
(package
(name "python-jinja2")
- (version "3.1.1")
+ (version "3.1.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Jinja2" version))
(sha256
(base32
- "1saawzys14l1p4kafs7hkihmnvqjq8fwxjmkjiqx3jq1nm5ys2v4"))))
+ "145s4mcjshv5snpc66z80xzxm3xs1gl5k8gk5dwwkcjb9madd2xc"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:18:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-click): Update to 8.1.7.
Change-Id: Ifac59bb2a373c519bb0da0f3f8e818d9e869cbf5
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3348cc0d58..c7492650cc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5175,14 +5175,14 @@ (define-public python-cli-helpers
(define-public python-click
(package
(name "python-click")
- (version "8.1.3")
+ (version "8.1.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "click" version))
(sha256
(base32
- "13kvp8visj5xh9d43brnda6q0kc1s40flxa5cw0p0a9hzf5dr0kn"))))
+ "1pm6khdv88h764scik67jki98xbyj367h591j8hpwy4y8nnm766a"))))
(build-system python-build-system)
(arguments
`(#:phases
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:18:03 GMT)
Full text and
rfc822 format available.
Message #23 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-werkzeug): Rename to...
(python-werkzeug-2): ... this. Add new variable defining
default python-werkzeug.
Change-Id: I6b77baf7731303735bcd7ae707fdd68f8b956c99
---
gnu/packages/python-web.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 88e40959c3..960ad0d879 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -30,7 +30,7 @@
;;; Copyright © 2019 Vagrant Cascadian <vagrant <at> debian.org>
;;; Copyright © 2019 Brendan Tildesley <mail <at> brendan.scot>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois <at> gmx.com>
-;;; Copyright © 2019, 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
+;;; Copyright © 2019, 2020, 2024 Tanguy Le Carrour <tanguy <at> bioneland.org>
;;; Copyright © 2020 Jakub Kądziołka <kuba <at> kadziolka.net>
;;; Copyright © 2020 Evan Straw <evan.straw99 <at> gmail.com>
;;; Copyright © 2020 Alexandros Theodotou <alex <at> zrythm.org>
@@ -4971,7 +4971,7 @@ (define-public python-publicsuffix2
List. Forked from and using the same API as the publicsuffix package.")
(license (list license:expat license:mpl2.0))))
-(define-public python-werkzeug
+(define-public python-werkzeug-2
(package
(name "python-werkzeug")
(version "2.0.2")
@@ -5008,7 +5008,7 @@ (define-public python-werkzeug
(define-public python-werkzeug-1.0
(package
- (inherit python-werkzeug)
+ (inherit python-werkzeug-2)
(version "1.0.1")
(source (origin
(method url-fetch)
@@ -5030,6 +5030,8 @@ (define-public python-werkzeug-1.0
(native-inputs
(list python-pytest python-pytest-timeout))))
+(define-public python-werkzeug python-werkzeug-2)
+
(define-public python-bottle
(package
(name "python-bottle")
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:18:04 GMT)
Full text and
rfc822 format available.
Message #26 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-flask-3): New variable.
Change-Id: I8556a3e2fed74368c6d4db99cd859ecb33a3d573
---
gnu/packages/python-web.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3bdabc311a..215cdd2335 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3957,6 +3957,39 @@ (define-public python-flask-2
presume or force a developer to use a particular tool or library.")
(license license:bsd-3)))
+(define-public python-flask-3
+ (package
+ (name "python-flask")
+ (version "3.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "flask" version))
+ (sha256
+ (base32
+ "0zfbxxgl5zpbvswxywrr6fam6rj0vknv317flx84484rnzs06b42"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "-vv" "tests")))))))
+ (native-inputs
+ (list python-flit-core python-pytest))
+ (propagated-inputs
+ (list python-blinker
+ python-click
+ python-itsdangerous
+ python-jinja2
+ python-werkzeug-3))
+ (home-page "https://flask.palletsprojects.com")
+ (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions")
+ (description "Flask is a micro web framework based on the Werkzeug toolkit
+and Jinja2 template engine. It is called a micro framework because it does not
+presume or force a developer to use a particular tool or library.")
+ (license license:bsd-3)))
+
(define-public python-flask python-flask-2)
(define-public python-flask-compress
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:26:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-blinker): Update to 1.7.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-flit-core, python-pytest and
python-pytest-asyncio.
Change-Id: Ie825fb38b326facf54b0788c78733b8de4a74920
---
gnu/packages/python-xyz.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c7492650cc..a6f3aec7ed 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7654,16 +7654,17 @@ (define-public python-black-macchiato
(define-public python-blinker
(package
(name "python-blinker")
- (version "1.4")
+ (version "1.7.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "blinker" version))
(sha256
(base32
- "1dpq0vb01p36jjwbhhd08ylvrnyvcc82yxx3mwjx6awrycjyw6j7"))))
- (build-system python-build-system)
- (home-page "https://pythonhosted.org/blinker/")
+ "10k1k4raxkfdan2vj4p1zvj4gxf394vjihj74y71skafzbv0z0p6"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-flit-core python-pytest python-pytest-asyncio))
+ (home-page "https://blinker.readthedocs.io")
(synopsis "Fast, simple object-to-object and broadcast signaling")
(description
"Blinker provides a fast dispatching system that allows any number of
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Wed, 28 Feb 2024 10:56:03 GMT)
Full text and
rfc822 format available.
Message #32 received at 69449 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-flask): Rename to...
(python-flask-2): ... this. Add new variable defining
default python-flask.
Change-Id: Ibcfa805089f1ea17de52525b75e20dc5c2d54ee8
---
gnu/packages/python-web.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e8edc1604c..3bdabc311a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3923,7 +3923,7 @@ (define-public python-webtest
minimum of WSGI.")
(license license:expat)))
-(define-public python-flask
+(define-public python-flask-2
(package
(name "python-flask")
(version "2.1.1")
@@ -3957,6 +3957,8 @@ (define-public python-flask
presume or force a developer to use a particular tool or library.")
(license license:bsd-3)))
+(define-public python-flask python-flask-2)
+
(define-public python-flask-compress
(package
(name "python-flask-compress")
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69449
; Package
guix-patches
.
(Tue, 11 Feb 2025 10:49:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 69449 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Thank you for the patches and effort to bring Flask 3+ to Guix.
python-flask package was updated to 3.1.0 in
fd75f170432e8ae3a466aecd0c8e746825ef7e7c which makes this patch series
no longer relevant, unfortunately.
Closing as not applied.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Tue, 11 Feb 2025 12:23:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tanguy Le Carrour <tanguy <at> bioneland.org>
:
bug acknowledged by developer.
(Tue, 11 Feb 2025 12:23:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 69449-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 12 Mar 2025 11:24:21 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.