Skip to content

Commit

Permalink
Changed requests requirement to avoid dep problems (#42)
Browse files Browse the repository at this point in the history
* Changed requests requirement to avoid dep problems
* Upgrade requirements to fix coveralls conflict
* Upgrade requirements to fix conflict related to flask v1 (fixed in v2)
  • Loading branch information
marblestation committed May 13, 2022
1 parent cd68fe2 commit 7779e18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
coverage==5.2.1
coveralls==2.2.0
coveralls==2.2.0; python_version > '3.0'
coveralls<2.0.0; python_version < '3.0'
Flask-Testing==0.8.1
httpretty==0.8.10
mock==3.0.5
Expand Down
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ flask-discoverer==0.1.5
python-dateutil==2.8.1
python-json-logger==0.1.11 ; python_version < '3.0'
python-json-logger==2.0.1 ; python_version > '3.0'
requests==2.25.1
requests>=2.25.1
six>=1.15.0
setuptools>=40.0.0,<58.0.0
SQLAlchemy==1.3.20
jinja2<3.1.0 # Jinja is a dependency of Flask and Flask v1.x.x uses the escape module from Jinja, however recently support for the escape module was dropped in newer versions of Jinja (see https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-0)
itsdangerous<=2.0.1 # Flask v1.x.x uses json from 'itsdangerous' but json was dropped (i.e., cannot import name 'json' from 'itsdangerous'), see https://itsdangerous.palletsprojects.com/en/2.1.x/changes/#version-2-1-0
werkzeug<=2.0.3 # Flask v1.x.x uses BaseResponse but it was dropped from newer werkzeug (i.e., cannot import name 'BaseResponse' from 'werkzeug.wrappers')

0 comments on commit 7779e18

Please sign in to comment.