FS#80036 - [python-quart] was updated to a version which requires flask 3.0.0

Attached to Project: Arch Linux
Opened by Ted Meyer (tmathmeyer) - Saturday, 21 October 2023, 04:37 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: Quart version moved too far ahead of flask version, and now does not work

This commit: https://github.com/pallets/quart/pull/261
was added to quart which includes the line
`from flask.sansio.app import App`

flask.sansio was added in flask 3.0.0.

The latest version (out of date) of flask in the arch repos is 2.3.3-1

Steps to reproduce:
```
$ python
>>> import quart
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/quart/__init__.py", line 5, in <module>
from .app import Quart as Quart
File "/usr/lib/python3.11/site-packages/quart/app.py", line 30, in <module>
from flask.sansio.app import App
ModuleNotFoundError: No module named 'flask.sansio'
```
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:20 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-quart/issues/1
Comment by Ted Meyer (tmathmeyer) - Saturday, 21 October 2023, 04:41 GMT
Additionally, python-quart needs to take a dependency on python-flask
Comment by Toolybird (Toolybird) - Saturday, 21 October 2023, 19:32 GMT
$ pip check
quart 0.19.3 requires flask, which is not installed.
quart 0.19.3 has requirement werkzeug>=3.0.0, but you have werkzeug 2.3.7.
Comment by Sebastiaan Lokhorst (lonaowna) - Wednesday, 15 November 2023, 15:08 GMT Comment by loqs (loqs) - Wednesday, 15 November 2023, 15:38 GMT
> quart 0.19.3 has requirement werkzeug>=3.0.0, but you have werkzeug 2.3.7.
There are outstanding upstream issues with werkzeug 3; at least [1][2]:

[1]: https://github.com/httpie/cli/issues/1530
[2]: https://github.com/psf/httpbin/issues/36

Loading...