From 4bfd847ad05dd8efb8d43162d3c96ae91065f0a7 Mon Sep 17 00:00:00 2001 From: "Leaf, Andrew T" Date: Thu, 28 Mar 2024 12:05:06 -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; bump checkout action to v4 --- .github/workflows/test.yaml | 4 ++-- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c8b094d5..31423f00 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/pyproject.toml b/pyproject.toml index 20b3c09a..8f0113bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "setuptools >= 61", #"wheel" - #'tomli; python_version < "3.11"', + 'tomli; python_version < "3.11"' ] build-backend = "setuptools.build_meta" @@ -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",