From 91bbaf716b013e946e41d19f6bbc1fa878aa0353 Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler Date: Mon, 20 Jun 2022 10:22:14 +0100 Subject: [PATCH 1/2] Uncap Python dependency See https://iscinumpy.dev/post/bound-version-constraints/#pinning-the-python-version-is-special for rationale. --- HISTORY.rst | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index bf2411a1..35184388 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -15,6 +15,7 @@ History * Fix propagating the `detailed_validation` flag to mapping and counter structuring generators. * Fix ``typing.Set`` applying too broadly when used with the ``GenConverter.unstruct_collection_overrides`` parameter on Python versions below 3.9. Switch to ``typing.AbstractSet`` on those versions to restore the old behavior. (`#264 `_) +* Uncap the minimum required Python version, to avoid problems detailed in https://iscinumpy.dev/post/bound-version-constraints/#pinning-the-python-version-is-special (`#275 `_) 22.1.0 (2022-04-03) ------------------- diff --git a/pyproject.toml b/pyproject.toml index c6f78366..e62303ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ packages = [ readme = "README.rst" [tool.poetry.dependencies] -python = "^3.7" +python = ">= 3.7" attrs = ">= 20" typing_extensions = { version = "*", python = "< 3.8" } exceptiongroup = { version = "*", python = "< 3.11" } From 497262ecfc67dcb394f56a62a749b0d70c506af7 Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler Date: Mon, 20 Jun 2022 14:50:24 +0100 Subject: [PATCH 2/2] Update HISTORY.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Minor: Wording Co-authored-by: Tin Tvrtković --- HISTORY.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 35184388..e20be42d 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -15,7 +15,7 @@ History * Fix propagating the `detailed_validation` flag to mapping and counter structuring generators. * Fix ``typing.Set`` applying too broadly when used with the ``GenConverter.unstruct_collection_overrides`` parameter on Python versions below 3.9. Switch to ``typing.AbstractSet`` on those versions to restore the old behavior. (`#264 `_) -* Uncap the minimum required Python version, to avoid problems detailed in https://iscinumpy.dev/post/bound-version-constraints/#pinning-the-python-version-is-special (`#275 `_) +* Uncap the required Python version, to avoid problems detailed in https://iscinumpy.dev/post/bound-version-constraints/#pinning-the-python-version-is-special (`#275 `_) 22.1.0 (2022-04-03) -------------------