Skip to content

Commit 6702107

Browse files
committed
setup.py: Pin werkzeug<2.1
`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) ```
1 parent 735860b commit 6702107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup, find_packages
77

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

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

0 commit comments

Comments
 (0)