Skip to content

Commit

Permalink
Merge pull request #600 from ungarj/fix_flask_dependency
Browse files Browse the repository at this point in the history
limit dependencies to flask<3.0.0; skip tests on ubuntu-20.04
  • Loading branch information
ungarj authored Oct 16, 2023
2 parents d649f94 + fbe9d48 commit 091fae3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: ["ubuntu-20.04", "ubuntu-22.04"]
os: ["ubuntu-22.04"]

steps:
- uses: actions/checkout@v2
Expand All @@ -37,8 +37,8 @@ jobs:
sudo apt-get -y update
sudo apt-get install -y gdal-bin python-tk libgdal-dev libproj-dev libgeos-dev
python -m pip install --upgrade pip wheel
pip install -e .[complete]
pip install -r test/requirements.txt
pip install -e .[complete]
pip freeze
- name: Lint with flake8
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ complete = [
"boto3>=1.14.44",
"dask",
"distributed",
"Flask",
"Flask<3.0.0",
"Flask-RangeRequest",
"fsspec[http]",
"fsspec[s3]",
Expand Down Expand Up @@ -87,7 +87,7 @@ s3 = [
"s3fs!=2023.9.0",
]
serve = [
"Flask",
"Flask<3.0.0",
"Flask-RangeRequest",
"werkzeug>=0.15",
]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ click-plugins>=1.1.1
click-spinner>=0.1.10
python-dateutil
fiona>=1.8.13.post1
Flask>=1.1.2
Flask>=1.1.2,<=3.0.0
Flask-RangeRequest>=0.0.2
fsspec[s3]>=0.8.4
geobuf>=1.1.1
Expand Down

0 comments on commit 091fae3

Please sign in to comment.