From ef1ec494d48891a172040cfe198bb24dd335d2b4 Mon Sep 17 00:00:00 2001 From: Waket Zheng Date: Sat, 8 Jun 2024 10:23:08 +0800 Subject: [PATCH 1/2] fix: upper limits are incorrect in requires-python --- .github/workflows/test.yml | 3 ++- CHANGELOG.md | 6 ++++++ poetry.lock | 14 +++++++------- pyproject.toml | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f2df2a9f..40523741 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,13 +7,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13] steps: - uses: actions/checkout@v4.1.6 - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: python -m pip install --upgrade pip tox tox-gh-actions - run: tox diff --git a/CHANGELOG.md b/CHANGELOG.md index 549f6b87..96854617 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ +## 4.0.2 (unreleased) + +#### Bug Fixes + +* Upper limits are incorrect in requires-python (#449) + ## 4.0.1 (2024-05-15) #### Internal diff --git a/poetry.lock b/poetry.lock index 4cf96dee..616cfc92 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "alabaster" @@ -719,23 +719,23 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "zipp" -version = "3.19.1" +version = "3.19.2" description = "Backport of pathlib-compatible object wrapper for zip files" optional = false python-versions = ">=3.8" files = [ - {file = "zipp-3.19.1-py3-none-any.whl", hash = "sha256:2828e64edb5386ea6a52e7ba7cdb17bb30a73a858f5eb6eb93d8d36f5ea26091"}, - {file = "zipp-3.19.1.tar.gz", hash = "sha256:35427f6d5594f4acf82d25541438348c26736fa9b3afa2754bcd63cdb99d8e8f"}, + {file = "zipp-3.19.2-py3-none-any.whl", hash = "sha256:f091755f667055f2d02b32c53771a7a6c8b47e1fdbc4b72a8b9072b3eef8015c"}, + {file = "zipp-3.19.2.tar.gz", hash = "sha256:bf1dcf6450f873a13e952a29504887c89e6de7506209e5b1bcc3460135d4de19"}, ] [package.extras] doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -test = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"] +test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"] [extras] yaml = ["pyyaml"] [metadata] lock-version = "2.0" -python-versions = ">=3.8,<3.13" -content-hash = "b164c1e1ac53d358393790ff8f03e1cab45e19616a965d362ac040f5bfb3dc40" +python-versions = "^3.8" +content-hash = "4c8eb45b87a0c0ea2e5873b836261612bf9fddfda3b963303f6d00782dd7c0dc" diff --git a/pyproject.toml b/pyproject.toml index b994fd46..ed67bffc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ coveralls = "coveralls.cli:main" python-coveralls = "coveralls.cli:main" [tool.poetry.dependencies] -python = ">=3.8,<3.13" +python = "^3.8" coverage = { version = ">=5.0,<8.0,!=6.0.*,!=6.1,!=6.1.1", extras = ["toml"] } docopt = ">=0.6.1,<0.7.0" requests = ">=1.0.0,<3.0.0" From 3eabef78dde29dfcbf2815d6a44a6d24846138f2 Mon Sep 17 00:00:00 2001 From: Waket Zheng Date: Sat, 8 Jun 2024 11:19:00 +0800 Subject: [PATCH 2/2] fix pre-commit complaint --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ed67bffc..efdf9bdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ coveralls = "coveralls.cli:main" python-coveralls = "coveralls.cli:main" [tool.poetry.dependencies] -python = "^3.8" +python = ">=3.8,<4.0" coverage = { version = ">=5.0,<8.0,!=6.0.*,!=6.1,!=6.1.1", extras = ["toml"] } docopt = ">=0.6.1,<0.7.0" requests = ">=1.0.0,<3.0.0"