Skip to content

Commit 83b5ddc

Browse files
committed
First pass updating misc files, informed by https://github.com/pybind/pybind11/pull/5177/commits
1 parent a406a62 commit 83b5ddc

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -719,9 +719,9 @@ jobs:
719719

720720
# This tests an "install" with the CMake tools
721721
install-classic:
722-
name: "🐍 3.7 • Debian • x86 • Install"
722+
name: "🐍 3.9 • Debian • x86 • Install"
723723
runs-on: ubuntu-latest
724-
container: i386/debian:buster
724+
container: i386/debian:bullseye
725725

726726
steps:
727727
- uses: actions/checkout@v1 # v1 is required to run inside docker
@@ -801,7 +801,6 @@ jobs:
801801
fail-fast: false
802802
matrix:
803803
python:
804-
- '3.7'
805804
- '3.8'
806805
- '3.9'
807806
- '3.10'
@@ -819,8 +818,6 @@ jobs:
819818
args: -DCMAKE_CXX_STANDARD=20
820819
- python: '3.8'
821820
args: -DCMAKE_CXX_STANDARD=17
822-
- python: '3.7'
823-
args: -DCMAKE_CXX_STANDARD=14
824821

825822

826823
name: "🐍 ${{ matrix.python }} • MSVC 2019 • x86 ${{ matrix.args }}"

include/pybind11/detail/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ PYBIND11_WARNING_DISABLE_MSVC(4505)
272272
#endif
273273

274274
#include <Python.h>
275-
#if PY_VERSION_HEX < 0x03070000
276-
# error "PYTHON < 3.7 IS UNSUPPORTED. pybind11 v2.12 was the last to support Python 3.6."
275+
#if PY_VERSION_HEX < 0x03080000
276+
# error "PYTHON < 3.8 IS UNSUPPORTED. pybind11 v2.13 was the last to support Python 3.7."
277277
#endif
278278
#include <frameobject.h>
279279
#include <pythread.h>

pybind11/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import sys
44

5-
if sys.version_info < (3, 7): # noqa: UP036
6-
msg = "pybind11 does not support Python < 3.7. v2.12 was the last release supporting Python 3.6."
5+
if sys.version_info < (3, 8):
6+
msg = "pybind11 does not support Python < 3.8. v2.13 was the last release supporting Python 3.7."
77
raise ImportError(msg)
88

99

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ignore_missing_imports = true
3030

3131

3232
[tool.pylint]
33-
master.py-version = "3.7"
33+
master.py-version = "3.8"
3434
reports.output-format = "colorized"
3535
messages_control.disable = [
3636
"design",

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ classifiers =
1414
Topic :: Utilities
1515
Programming Language :: C++
1616
Programming Language :: Python :: 3 :: Only
17-
Programming Language :: Python :: 3.7
1817
Programming Language :: Python :: 3.8
1918
Programming Language :: Python :: 3.9
2019
Programming Language :: Python :: 3.10
@@ -38,5 +37,5 @@ project_urls =
3837
Chat = https://gitter.im/pybind/Lobby
3938

4039
[options]
41-
python_requires = >=3.7
40+
python_requires = >=3.8
4241
zip_safe = False

0 commit comments

Comments
 (0)