Skip to content

Commit

Permalink
setup.py: Pin werkzeug<2.1
Browse files Browse the repository at this point in the history
`utils/hash.py` uses `pbkdf2_bin` from werkzeug, which will
be removed in 2.1.
Pin the version until a fix is made.

See error:
```
isso/utils/hash.py:71: DeprecationWarning: 'pbkdf2_bin' is deprecated and will be removed in Werkzeug 2.1. Use 'hashlib.pbkdf2_hmac()' instead.
    return pbkdf2(val, self.salt, self.iterations, self.dklen, self.func)
```
  • Loading branch information
ix5 committed Mar 15, 2022
1 parent 735860b commit 6702107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from setuptools import setup, find_packages

requires = ['itsdangerous', 'Jinja2', 'misaka>=2.0,<3.0', 'html5lib',
'werkzeug>=1.0', 'bleach', 'Flask-Caching>=1.9', 'Flask']
'werkzeug>=1.0,<2.1', 'bleach', 'Flask-Caching>=1.9', 'Flask']
tests_require = ['pytest', 'pytest-cov']

# https://packaging.python.org/en/latest/guides/making-a-pypi-friendly-readme/
Expand Down

0 comments on commit 6702107

Please sign in to comment.