Skip to content

Commit 2f72094

Browse files
d34dh0r53jayjahns
authored andcommitted
Pin bcrypt until passlib is fixed/removed
Currently there is an incompatibility with the latest version of passlib and the version of bcrypt we have specificed in the upper-constraints [1]. Passlib also apears to be unmaintained [2] at this point and we're investigating the removal of the library from Keystone. For the time being this pins bcrypt to a version that is known to work with the latest passlib that is available. [1]: https://foss.heptapod.net/python-libs/passlib/-/issues/190 [2]: https://foss.heptapod.net/python-libs/passlib/-/issues/187 Closes-Bug: #2068879 Change-Id: Ia8ed993858d4c8bf5af4795fb1668ee9a8544747 (cherry picked from commit b9c903e)
1 parent 4ecf0a8 commit 2f72094

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

global-requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ automaton # Apache-2.0
88
autopage # Apache-2.0
99
beautifulsoup4 # MIT
1010
Babel!=2.4.0 # BSD
11-
bcrypt # Apache-2.0
11+
# NOTE bcrypt is currently pinned at 4.0.1 in upper-constraints due to an issue
12+
# with passlib: https://foss.heptapod.net/python-libs/passlib/-/issues/190
13+
bcrypt==4.0.1 # Apache-2.0
1214
betamax # Apache-2.0
1315
blockdiag!=2.0.0 # Apache-2.0
1416
boto # MIT

upper-constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ tzlocal===5.2
213213
sphinxcontrib-jsmath===1.0.1
214214
python-novaclient===18.6.0
215215
pact===1.12.0
216-
bcrypt===4.1.2
216+
bcrypt===4.0.1
217217
exceptiongroup===1.2.0;python_version=='3.10'
218218
exceptiongroup===1.2.0;python_version=='3.8'
219219
exceptiongroup===1.2.0;python_version=='3.9'

0 commit comments

Comments
 (0)