Skip to content

Commit 41d6080

Browse files
authored
chore: require Python 3.11+ (#244)
Python 3.10 reached end of life. Assisted-by: ClaudeCode:claude-opus-5-5
1 parent cd0cf31 commit 41d6080

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/pip.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
platform: [windows-latest, macos-latest, ubuntu-latest]
20-
python-version: ["3.9", "3.13"]
20+
python-version: ["3.11", "3.13"]
2121

2222
runs-on: ${{ matrix.platform }}
2323

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python_example
1717
[actions-wheels-badge]: https://github.com/pybind/python_example/workflows/Wheels/badge.svg
1818

1919
An example project built with [pybind11](https://github.com/pybind/pybind11).
20-
This requires Python 3.9+; for older versions of Python, check the commit
20+
This requires Python 3.11+; for older versions of Python, check the commit
2121
history.
2222

2323
Installation

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build-frontend = "build[uv]"
1414

1515
[tool.ruff]
1616
show-fixes = true
17-
target-version = "py39"
17+
target-version = "py311"
1818

1919
[tool.ruff.lint]
2020
extend-select = [

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
# level" feature, but in the future it may provide more features.
3737
cmdclass={"build_ext": build_ext},
3838
zip_safe=False,
39-
python_requires=">=3.9",
39+
python_requires=">=3.11",
4040
)

0 commit comments

Comments
 (0)