Skip to content

Commit b284c4b

Browse files
authored
feat: bump Python to modern versions (#42)
* feat: bump Python to modern versions Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * Fix syntax for pip install command in CI * Replace pytest-xdist with pytest-forked in extras --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 011de31 commit b284c4b

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version:
17-
- "3.8"
1817
- "3.9"
19-
- "3.10"
20-
- "3.11"
18+
- "3.12"
19+
- "3.14"
2120
runs-on:
2221
- ubuntu-latest
2322
- macos-15-intel
@@ -30,7 +29,7 @@ jobs:
3029
python-version: ${{ matrix.python-version }}
3130

3231
- name: Install package
33-
run: python -m pip install .[test]
32+
run: python -m pip install .[test] "clang<19"
3433

3534
- name: Test package
3635
run: python -m pytest --forked

pyproject.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,26 @@ home-page = "https://github.com/pybind/pybind11_mkdoc"
1010
classifiers = [
1111
"License :: OSI Approved :: MIT License",
1212
"Development Status :: 3 - Alpha",
13-
"Programming Language :: Python :: 3.6",
14-
"Programming Language :: Python :: 3.7",
15-
"Programming Language :: Python :: 3.8",
1613
"Programming Language :: Python :: 3.9",
14+
"Programming Language :: Python :: 3.10",
15+
"Programming Language :: Python :: 3.11",
16+
"Programming Language :: Python :: 3.12",
17+
"Programming Language :: Python :: 3.13",
18+
"Programming Language :: Python :: 3.14",
1719
"Topic :: Software Development :: Documentation",
1820
"Operating System :: POSIX",
1921
"Operating System :: MacOS"
2022
]
21-
requires = ["clang<19"]
22-
requires-python = ">=3.6"
23+
requires = ["clang"]
24+
requires-python = ">=3.9"
2325

2426
[tool.flit.scripts]
2527
pybind11-mkdoc = "pybind11_mkdoc:main"
2628

2729
[tool.flit.metadata.requires-extra]
2830
test = [
29-
"pytest==7.1.3",
31+
"pytest",
3032
"pybind11",
31-
"pytest-xdist==2.4.0"
33+
"pytest-forked"
3234
]
3335

0 commit comments

Comments
 (0)