Skip to content

Commit 95198dc

Browse files
committed
Change Python version guard in pybind11/__init__.py: pybind11 does not support Python < 3.7.
1 parent ef13237 commit 95198dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pybind11/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22

3-
if sys.version_info < (3, 6): # noqa: UP036
4-
msg = "pybind11 does not support Python < 3.6. 2.9 was the last release supporting Python 2.7 and 3.5."
3+
if sys.version_info < (3, 7): # noqa: UP036
4+
msg = "pybind11 does not support Python < 3.7. v2.12 was the last release supporting Python 3.6."
55
raise ImportError(msg)
66

77

0 commit comments

Comments
 (0)