Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flask-session 0.4.1 requires Flask<2.3,>=0.8, but you have flask 2.3.2 which is incompatible. #158

Closed
jeroen-80 opened this issue May 2, 2023 · 3 comments
Milestone

Comments

@jeroen-80
Copy link

Latest flask-session does not work with latest Flask version (2.3.x):

root@www:/var/www# pip install Flask==2.3.2
Collecting Flask==2.3.2
  Using cached Flask-2.3.2-py3-none-any.whl (96 kB)
Requirement already satisfied: Werkzeug>=2.3.3 in /usr/local/lib/python3.8/dist-packages (from Flask==2.3.2) (2.3.3)
Requirement already satisfied: Jinja2>=3.1.2 in /usr/local/lib/python3.8/dist-packages (from Flask==2.3.2) (3.1.2)
Requirement already satisfied: itsdangerous>=2.1.2 in /usr/local/lib/python3.8/dist-packages (from Flask==2.3.2) (2.1.2)
Requirement already satisfied: click>=8.1.3 in /usr/local/lib/python3.8/dist-packages (from Flask==2.3.2) (8.1.3)
Requirement already satisfied: blinker>=1.6.2 in /usr/local/lib/python3.8/dist-packages (from Flask==2.3.2) (1.6.2)
Requirement already satisfied: importlib-metadata>=3.6.0 in /usr/local/lib/python3.8/dist-packages (from Flask==2.3.2) (4.12.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.8/dist-packages (from importlib-metadata>=3.6.0->Flask==2.3.2) (3.8.1)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.8/dist-packages (from Jinja2>=3.1.2->Flask==2.3.2) (2.1.1)
Installing collected packages: Flask
  Attempting uninstall: Flask
    Found existing installation: Flask 2.2.4
    Uninstalling Flask-2.2.4:
      Successfully uninstalled Flask-2.2.4
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
flask-session 0.4.1 requires Flask<2.3,>=0.8, but you have flask 2.3.2 which is incompatible.
@rayluo
Copy link
Contributor

rayluo commented May 6, 2023

A new flask-session 0.5.0 will support flask 2.3+. CC: @fengsp, @davidism

root@www:/var/www# pip install Flask==2.3.2

Meanwhile, as a temporary workaround, if you do not absolutely need to use latest functionality from flask 2.3+, you do not have to pin "flask==2.3.2".

@rayluo
Copy link
Contributor

rayluo commented May 9, 2023

#160 is a much larger PR (18K line of change) that might need some time to review.

Now that #148 has been merged. @davidism, I think we are ready to ship a 0.5.0 which will solve this urgent issue first.

@davidism davidism added this to the 0.5.0 milestone May 11, 2023
@davidism
Copy link
Member

Flask-Session 0.5.0 is now available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants