Open john-kjj opened 1 year ago
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",
]
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