Skip to content

Commit

Permalink
fix(pyproject.toml): add tomli; python_version < 3.11 to requires; po…
Browse files Browse the repository at this point in the history
…tential fix for pip install issue (missing setup.cfg) that seems to occur with python<3.11. Re-add python 3.10 to test.yaml matrix; bump checkout action to v4
  • Loading branch information
aleaf committed Mar 28, 2024
1 parent ea6c1e7 commit 4bfd847
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: ['3.12', '3.11'] # ['3.8', '3.x']
python-version: ['3.12', '3.11', '3.10'] # ['3.8', '3.x']
exclude:
# tests with ubuntu-latest, python latest
# are executed by build_docs.yaml
Expand All @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools >= 61",
#"wheel"
#'tomli; python_version < "3.11"',
'tomli; python_version < "3.11"'
]
build-backend = "setuptools.build_meta"

Expand All @@ -23,7 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Hydrology",
]
requires-python = ">=3.11"
requires-python = ">=3.10"
dependencies = [
"geopandas",
"gis-utils",
Expand Down

0 comments on commit 4bfd847

Please sign in to comment.