mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 07:02:11 +00:00
First pass updating misc files, informed by https://github.com/pybind/pybind11/pull/5177/commits
This commit is contained in:
parent
a406a62e5b
commit
83b5ddc757
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -719,9 +719,9 @@ jobs:
|
|||||||
|
|
||||||
# This tests an "install" with the CMake tools
|
# This tests an "install" with the CMake tools
|
||||||
install-classic:
|
install-classic:
|
||||||
name: "🐍 3.7 • Debian • x86 • Install"
|
name: "🐍 3.9 • Debian • x86 • Install"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: i386/debian:buster
|
container: i386/debian:bullseye
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1 # v1 is required to run inside docker
|
- uses: actions/checkout@v1 # v1 is required to run inside docker
|
||||||
@ -801,7 +801,6 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python:
|
python:
|
||||||
- '3.7'
|
|
||||||
- '3.8'
|
- '3.8'
|
||||||
- '3.9'
|
- '3.9'
|
||||||
- '3.10'
|
- '3.10'
|
||||||
@ -819,8 +818,6 @@ jobs:
|
|||||||
args: -DCMAKE_CXX_STANDARD=20
|
args: -DCMAKE_CXX_STANDARD=20
|
||||||
- python: '3.8'
|
- python: '3.8'
|
||||||
args: -DCMAKE_CXX_STANDARD=17
|
args: -DCMAKE_CXX_STANDARD=17
|
||||||
- python: '3.7'
|
|
||||||
args: -DCMAKE_CXX_STANDARD=14
|
|
||||||
|
|
||||||
|
|
||||||
name: "🐍 ${{ matrix.python }} • MSVC 2019 • x86 ${{ matrix.args }}"
|
name: "🐍 ${{ matrix.python }} • MSVC 2019 • x86 ${{ matrix.args }}"
|
||||||
|
@ -272,8 +272,8 @@ PYBIND11_WARNING_DISABLE_MSVC(4505)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
#if PY_VERSION_HEX < 0x03070000
|
#if PY_VERSION_HEX < 0x03080000
|
||||||
# error "PYTHON < 3.7 IS UNSUPPORTED. pybind11 v2.12 was the last to support Python 3.6."
|
# error "PYTHON < 3.8 IS UNSUPPORTED. pybind11 v2.13 was the last to support Python 3.7."
|
||||||
#endif
|
#endif
|
||||||
#include <frameobject.h>
|
#include <frameobject.h>
|
||||||
#include <pythread.h>
|
#include <pythread.h>
|
||||||
|
@ -2,8 +2,8 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.version_info < (3, 7): # noqa: UP036
|
if sys.version_info < (3, 8):
|
||||||
msg = "pybind11 does not support Python < 3.7. v2.12 was the last release supporting Python 3.6."
|
msg = "pybind11 does not support Python < 3.8. v2.13 was the last release supporting Python 3.7."
|
||||||
raise ImportError(msg)
|
raise ImportError(msg)
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ ignore_missing_imports = true
|
|||||||
|
|
||||||
|
|
||||||
[tool.pylint]
|
[tool.pylint]
|
||||||
master.py-version = "3.7"
|
master.py-version = "3.8"
|
||||||
reports.output-format = "colorized"
|
reports.output-format = "colorized"
|
||||||
messages_control.disable = [
|
messages_control.disable = [
|
||||||
"design",
|
"design",
|
||||||
|
@ -14,7 +14,6 @@ classifiers =
|
|||||||
Topic :: Utilities
|
Topic :: Utilities
|
||||||
Programming Language :: C++
|
Programming Language :: C++
|
||||||
Programming Language :: Python :: 3 :: Only
|
Programming Language :: Python :: 3 :: Only
|
||||||
Programming Language :: Python :: 3.7
|
|
||||||
Programming Language :: Python :: 3.8
|
Programming Language :: Python :: 3.8
|
||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
Programming Language :: Python :: 3.10
|
Programming Language :: Python :: 3.10
|
||||||
@ -38,5 +37,5 @@ project_urls =
|
|||||||
Chat = https://gitter.im/pybind/Lobby
|
Chat = https://gitter.im/pybind/Lobby
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
python_requires = >=3.7
|
python_requires = >=3.8
|
||||||
zip_safe = False
|
zip_safe = False
|
||||||
|
Loading…
Reference in New Issue
Block a user