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.
  • Loading branch information
aleaf committed Mar 28, 2024
1 parent fc5ee49 commit d16f082
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: ['3.12', '3.11']
python-version: ['3.12', '3.11', '3.10']
exclude:
# tests with ubuntu-latest, python latest
# are executed by build_docs.yaml
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools >= 61",
#'tomli; python_version < "3.11"',
'tomli; python_version < "3.11"'
]
build-backend = "setuptools.build_meta"

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

0 comments on commit d16f082

Please sign in to comment.