Skip to content

Commit

Permalink
Fix flask/jinja/markupsafe version mess
Browse files Browse the repository at this point in the history
  • Loading branch information
pjvandehaar authored Aug 21, 2023
1 parent 81a1a9d commit f4a7d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
run: |
python3 -m pip install wheel # for bdist_wheel
python3 -m pip install pytest
python3 -m pip freeze
python3 setup.py sdist bdist_wheel
sh -c "cd /tmp && python3 -m pip install $PWD/dist/*.whl" # must be in a new dir to avoid finding build artifacts
sh -c "cd /tmp && pytest $PWD/tests" # must be in a new dir to avoid finding source code
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def load_module_by_path(module_name, filepath):
'wget~=3.2',
'gevent~=21.1',
'psutil~=5.8',
'markupsafe==2.0.1', # flask 1.1 uses jinja 2.x which breaks with markupsafe>2.0.1. Pinning all deps might be better.
],
tests_require=[
'pytest~=6.2',
Expand Down

0 comments on commit f4a7d0e

Please sign in to comment.