From 0b1a047bbf8462e2203aa66b1394072251ed25ab Mon Sep 17 00:00:00 2001 From: shiftinv <8530778+shiftinv@users.noreply.github.com> Date: Fri, 2 Feb 2024 13:54:16 +0100 Subject: [PATCH] build(meta): add Python 3.12 package classifier (#1135) --- .github/workflows/lint-test.yml | 10 +++------- changelog/1117.feature.rst | 1 + changelog/{1128.feature.rst => 1128.feature.0.rst} | 0 changelog/1128.feature.1.rst | 1 + changelog/1135.feature.rst | 1 + pyproject.toml | 1 + 6 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 changelog/1117.feature.rst rename changelog/{1128.feature.rst => 1128.feature.0.rst} (100%) create mode 100644 changelog/1128.feature.1.rst create mode 100644 changelog/1135.feature.rst diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml index 731f771f5e..f78b75ffff 100644 --- a/.github/workflows/lint-test.yml +++ b/.github/workflows/lint-test.yml @@ -72,9 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: | - pdm update --pre aiohttp # XXX: temporarily install aiohttp prerelease for 3.12 - pdm install -d -Gspeed -Gdocs -Gvoice + run: pdm install -d -Gspeed -Gdocs -Gvoice - name: Add .venv/bin to PATH run: dirname "$(pdm info --python)" >> $GITHUB_PATH @@ -171,13 +169,11 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: | - pdm update --pre aiohttp # XXX: temporarily install aiohttp prerelease for 3.12 - pdm install -dG test # needed for coverage + run: pdm install -dG test # needed for coverage - name: Test package install run: | - python -m pip install --pre . # XXX: temporarily install aiohttp prerelease for 3.12; remove --pre flag again later + python -m pip install . - name: Run pytest id: run_tests diff --git a/changelog/1117.feature.rst b/changelog/1117.feature.rst new file mode 100644 index 0000000000..5b9263547d --- /dev/null +++ b/changelog/1117.feature.rst @@ -0,0 +1 @@ +Support Python 3.12. diff --git a/changelog/1128.feature.rst b/changelog/1128.feature.0.rst similarity index 100% rename from changelog/1128.feature.rst rename to changelog/1128.feature.0.rst diff --git a/changelog/1128.feature.1.rst b/changelog/1128.feature.1.rst new file mode 100644 index 0000000000..5b9263547d --- /dev/null +++ b/changelog/1128.feature.1.rst @@ -0,0 +1 @@ +Support Python 3.12. diff --git a/changelog/1135.feature.rst b/changelog/1135.feature.rst new file mode 100644 index 0000000000..5b9263547d --- /dev/null +++ b/changelog/1135.feature.rst @@ -0,0 +1 @@ +Support Python 3.12. diff --git a/pyproject.toml b/pyproject.toml index 73f3ad1b9f..c103f1ee4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Internet", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules",