Skip to content

Commit f354954

Browse files
authored
Merge pull request #53 from Azure-Samples/mentioning-python2-workaround
Documenting a workaround for Python 2
2 parents ed820a2 + 5ce7ab9 commit f354954

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,11 @@ flask-session~=0.3.2
44
requests>=2,<3
55
msal>=0.6.1,<2
66

7+
# cachelib==0.1 # Only need this if you are running Python 2
8+
# Note: This sample does NOT directly depend on cachelib.
9+
# It is an indirect dependency of flask-session.
10+
# Cachelib 0.1.1 no longer supports Python 2
11+
# (see also https://github.com/pallets/cachelib/issues/14)
12+
# So, if you still need to run your app in Python 2,
13+
# your workaround is to pin cachelib to its older version 0.1,
14+
# but keep in mind it contains a known bug https://github.com/pallets/cachelib/pull/12

0 commit comments

Comments
 (0)