From 944ec014541868ca90d4073bd31891fbcf1f13a4 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 12 Nov 2025 16:07:22 -0500 Subject: [PATCH 1/3] feat: bump Python to modern versions Signed-off-by: Henry Schreiner --- .github/workflows/ci.yml | 7 +++---- pyproject.toml | 16 +++++++++------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d96c2ad..956ce09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,9 @@ jobs: fail-fast: false matrix: python-version: - - "3.8" - "3.9" - - "3.10" - - "3.11" + - "3.12" + - "3.14" runs-on: - ubuntu-latest - macos-15-intel @@ -30,7 +29,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install package - run: python -m pip install .[test] + run: python -m pip install .[test] clang<19 - name: Test package run: python -m pytest --forked diff --git a/pyproject.toml b/pyproject.toml index a7b7175..48bc953 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,24 +10,26 @@ home-page = "https://github.com/pybind/pybind11_mkdoc" classifiers = [ "License :: OSI Approved :: MIT License", "Development Status :: 3 - Alpha", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "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", + "Programming Language :: Python :: 3.14", "Topic :: Software Development :: Documentation", "Operating System :: POSIX", "Operating System :: MacOS" ] -requires = ["clang<19"] -requires-python = ">=3.6" +requires = ["clang"] +requires-python = ">=3.9" [tool.flit.scripts] pybind11-mkdoc = "pybind11_mkdoc:main" [tool.flit.metadata.requires-extra] test = [ - "pytest==7.1.3", + "pytest", "pybind11", - "pytest-xdist==2.4.0" + "pytest-xdist" ] From c7297635b75aeb2071bbc16b0e97619aea2ee0b7 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 12 Nov 2025 16:10:25 -0500 Subject: [PATCH 2/3] Fix syntax for pip install command in CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 956ce09..fbda44d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install package - run: python -m pip install .[test] clang<19 + run: python -m pip install .[test] "clang<19" - name: Test package run: python -m pytest --forked From cd39796e2d90a4bbbfbbe4eb051064d690f48b75 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 12 Nov 2025 16:12:12 -0500 Subject: [PATCH 3/3] Replace pytest-xdist with pytest-forked in extras --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 48bc953..5aab474 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,6 @@ pybind11-mkdoc = "pybind11_mkdoc:main" test = [ "pytest", "pybind11", - "pytest-xdist" + "pytest-forked" ]