From 54d7fdbd3c434f52652bbb02f0c61355abd671ed Mon Sep 17 00:00:00 2001 From: "zoiszogop@gmail.com" Date: Fri, 12 Apr 2024 10:38:06 +0200 Subject: [PATCH 1/2] actions - remove python versions 3.8 & 3.9 from the test matrix --- .github/workflows/main.yml | 8 +++++--- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2bd2c8..864e232 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,6 @@ name: GitHub Test Matrix -run-name: ${{ github.actor }} is testing pylib with all supported versions of python 🚀 +run-name: ${{ github.actor }} is testing pylib with all supported versions of + python 🚀 on: push: @@ -15,7 +16,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] # Define the Python versions here + # Specify the Python versions for testing here. + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -25,6 +27,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install hatch # Assuming hatch is a dependency + pip install hatch - name: Run tests run: hatch run test diff --git a/pyproject.toml b/pyproject.toml index 3a47429..51c5490 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,7 +116,7 @@ dependencies = [ ] [[tool.hatch.envs.test.matrix]] -python = ["3.8", "3.9", "3.10", "3.11", "3.12"] +python = ["3.10", "3.11", "3.12"] [tool.hatch.envs.test.scripts] all = "coverage run -m pytest {args}" From 017f26430b5e6dbc4d4d0d561b4cf04e3e9bc3a9 Mon Sep 17 00:00:00 2001 From: "zoiszogop@gmail.com" Date: Fri, 12 Apr 2024 10:55:09 +0200 Subject: [PATCH 2/2] config - update python requirements --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 51c5490..e289430 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ classifiers = [ "Topic :: Utilities", ] -requires-python = ">=3.8" +requires-python = ">=3.10" dependencies = [ "fiona", "folium",