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

New version for PyPi #135

Open
john-kjj opened this issue Apr 28, 2023 · 1 comment
Open

New version for PyPi #135

john-kjj opened this issue Apr 28, 2023 · 1 comment

Comments

@john-kjj
Copy link

john-kjj commented Apr 28, 2023

Hello,

Are there plans to release a newer version to PyPi?

Current version on PyPi is v1.1.1 with warnings thrown when using seasurf with the latest version of Flask with regards to the deprecated flask._app_ctx_stack. I see that it has been fixed on GitHub, but in PyPi its still outdated. Thanks!

Anyone who needs this issue to be fixed while waiting you can do put the following into your requirements.txt file:
Flask-SeaSurf @ https://github.com/maxcountryman/flask-seasurf/archive/refs/heads/main.tar.gz#sha256=64048ed1f01d6bf6ae369112eb70a21dcbbb6612eddd3a9069d8f49353c35400

or perform:
pip install https://github.com/maxcountryman/flask-seasurf/archive/refs/heads/main.tar.gz

@xenophonf
Copy link

In case you're wondering how to do the above workaround, see https://stackoverflow.com/a/35998253.

For example, here's the dependency list in my project's pyproject.toml:

[project]
# name, version, etc.
dependencies = [
    "bootstrap-flask",
    "flask",
    "flask-seasurf @ git+https://github.com/maxcountryman/flask-seasurf@f383b48",
    "flask-talisman",
    "flask-wtf",
    "gunicorn",
    "lethbridge",
]

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

No branches or pull requests

2 participants