From 31b6b2759fb13b3e1d231f01001fa15b05129f04 Mon Sep 17 00:00:00 2001 From: Stephen Daves Date: Thu, 30 May 2024 15:52:53 -0400 Subject: [PATCH 1/2] Lower minimum version for typing-extensions --- poetry.lock | 6 +++--- pyproject.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 3918959..534b9dd 100644 --- a/poetry.lock +++ b/poetry.lock @@ -716,13 +716,13 @@ test = ["argcomplete (>=3.0.3)", "mypy (>=1.6.0)", "pre-commit", "pytest (>=7.0, [[package]] name = "typing-extensions" -version = "4.8.0" +version = "4.7.1" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.8.0-py3-none-any.whl", hash = "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0"}, - {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"}, + {file = "typing_extensions-4.7.1-py3-none-any.whl", hash = "sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36"}, + {file = "typing_extensions-4.7.1.tar.gz", hash = "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 6bc8f2f..03bfe4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,8 +6,8 @@ authors = ["suned "] readme = "README.md" [tool.poetry.dependencies] -python = "^3.10" -typing-extensions = "^4.8.0" +python = "^3.9" +typing-extensions = ">=4.7.1" cloudpickle = "^3.0.0" From 1729853259b3aaf5708190c897f9d3c198ebe0fa Mon Sep 17 00:00:00 2001 From: Stephen Daves Date: Thu, 30 May 2024 16:07:49 -0400 Subject: [PATCH 2/2] Remove python3.9, it did not work previousl because the | operator is only available in 3.10 --- .github/workflows/pr.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fe0acba..e3775c3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 03bfe4a..5a1c61d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["suned "] readme = "README.md" [tool.poetry.dependencies] -python = "^3.9" +python = "^3.10" typing-extensions = ">=4.7.1" cloudpickle = "^3.0.0"