From d16f082248b7fcbc35dfdcc292212c78ca708273 Mon Sep 17 00:00:00 2001 From: "Leaf, Andrew T" Date: Thu, 28 Mar 2024 11:06:47 -0500 Subject: [PATCH] fix(pyproject.toml): add tomli; python_version < 3.11 to requires; potential 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. --- .github/workflows/test.yaml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a717413..1ebeb10 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index cf71a91..a70b0b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "setuptools >= 61", - #'tomli; python_version < "3.11"', + 'tomli; python_version < "3.11"' ] build-backend = "setuptools.build_meta" @@ -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",