From 4cad939438b473cc76e9b2b140f8b32ae7f1a16e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:11:26 +0300 Subject: [PATCH 1/4] One classifier per line --- pyproject.toml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index aebc25f2..34b874ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,25 @@ build-backend = "setuptools.build_meta" name = "pluggy" license = {text = "MIT"} authors = [{name = "Holger Krekel", email = "holger@merlinux.eu"}] -classifiers = ["Development Status :: 6 - Mature", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: Microsoft :: Windows", "Operating System :: MacOS :: MacOS X", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Libraries", "Topic :: Utilities", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11"] +classifiers = [ + "Development Status :: 6 - Mature", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: POSIX", + "Operating System :: Microsoft :: Windows", + "Operating System :: MacOS :: MacOS X", + "Topic :: Software Development :: Testing", + "Topic :: Software Development :: Libraries", + "Topic :: Utilities", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] description = "plugin and hook calling mechanisms for python" readme = {file = "README.rst", content-type = "text/x-rst"} requires-python = ">=3.8" From dca0d26dcc976b15869cac674eddd3e667b4fefe Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:13:09 +0300 Subject: [PATCH 2/4] Bump GitHub Actions --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bdbfbf4d..9de6a578 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -140,6 +140,6 @@ jobs: run: python -m build --sdist --wheel --outdir dist/ - name: Publish package - uses: pypa/gh-action-pypi-publish@v1.10.2 + uses: pypa/gh-action-pypi-publish@v1.8.14 with: attestations: true From 7cc85277f7094a8ac6e4d4c52b8195e8a0ce3567 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:14:01 +0300 Subject: [PATCH 3/4] Add support for Python 3.12 and 3.13 --- .github/workflows/main.yml | 17 ++++++++++++----- pyproject.toml | 2 ++ tox.ini | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9de6a578..42febe8f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: matrix: name: [ "windows-py38", - "windows-py311", + "windows-py313", "windows-pypy3", "ubuntu-py38-pytestmain", @@ -29,6 +29,7 @@ jobs: "ubuntu-py310", "ubuntu-py311", "ubuntu-py312", + "ubuntu-py313", "ubuntu-pypy3", "ubuntu-benchmark", ] @@ -38,10 +39,10 @@ jobs: python: "3.8" os: windows-latest tox_env: "py38" - - name: "windows-py311" - python: "3.10" + - name: "windows-py313" + python: "3.13" os: windows-latest - tox_env: "py311" + tox_env: "py313" - name: "windows-pypy3" python: "pypy3.9" os: windows-latest @@ -71,10 +72,15 @@ jobs: tox_env: "py311" use_coverage: true - name: "ubuntu-py312" - python: "3.12-dev" + python: "3.12" os: ubuntu-latest tox_env: "py312" use_coverage: true + - name: "ubuntu-py313" + python: "3.13" + os: ubuntu-latest + tox_env: "py313" + use_coverage: true - name: "ubuntu-pypy3" python: "pypy3.9" os: ubuntu-latest @@ -94,6 +100,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} + allow-prereleases: true - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index 34b874ab..eab66d9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,8 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] description = "plugin and hook calling mechanisms for python" readme = {file = "README.rst", content-type = "text/x-rst"} diff --git a/tox.ini b/tox.ini index ee728003..f30f17b8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=docs,py{38,39,310,311,py3},py{38}-pytest{main} +envlist=docs,py{38,39,310,311,312,313,py3},py{38}-pytest{main} [testenv] commands= From 7ce56a785aa04e7a0dfe4f07e8800b8446472403 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:15:15 +0300 Subject: [PATCH 4/4] Test feature branches --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 42febe8f..239175f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ name: main on: push: branches: - - main + - "*" tags: - "*"