Skip to content

Commit

Permalink
handle compatibility between packages
Browse files Browse the repository at this point in the history
  • Loading branch information
r14chandra committed Oct 4, 2023
1 parent 7be30ab commit 8de8355
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 22 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_with_latest_direct_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
[tool.poetry.dependencies]
python = "~=3.8"
Flask = "*"
Flask = "<3.0.0" # The latest flask-caching verion (2.0.2) depends on Flask (<3)
gunicorn = "*"
flask-restful = "*"
Flask-SQLAlchemy = "*"
Expand All @@ -99,6 +99,7 @@ jobs:
botocore = "*"
flask-caching = "*"
flask-unleash = "*"
werkzeug = "<3.0.0" # https://flask.palletsprojects.com/en/3.0.x/changes/#version-2-3-3
[tool.poetry.group.dev.dependencies]
flake8 = "*"
Expand All @@ -112,7 +113,7 @@ jobs:
build-backend = "poetry.core.masonry.api"
EOF`" > pyproject.toml
rm -rf poetry.lock
poetry install
poetry update
- name: Show all installed packages
run: |
Expand Down
50 changes: 31 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = []

[tool.poetry.dependencies]
python = "~=3.8"
Flask = "~=2.2.5"
Flask = "~=2.3.3"
gunicorn = "~=20.0.4"
flask-restful = "~=0.3.8"
Flask-SQLAlchemy = "~=3.0.3"
Expand Down

0 comments on commit 8de8355

Please sign in to comment.