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 a617a47 commit ee5d4d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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 @@ -29,7 +29,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
@@ -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 @@ -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 ee5d4d4

Please sign in to comment.