Mentions légales du service

Skip to content
Snippets Groups Projects
Unverified Commit 8ccabfeb authored by Henry Schreiner's avatar Henry Schreiner Committed by GitHub
Browse files

chore: drop 3.6, add 3.11 (#51)


* chore: drop 3.6, add 3.11

Signed-off-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>

* fix: update to latest pybind11

Signed-off-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>

Signed-off-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>
parent 9a96e647
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [ubuntu-latest, macos-latest] # TODO: windows after 2016 doesn't config correctly platform: [ubuntu-latest, macos-latest] # TODO: windows after 2016 doesn't config correctly
python-version: ["3.7", "3.9"] python-version: ["3.8", "3.10"]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
......
...@@ -15,7 +15,7 @@ jobs: ...@@ -15,7 +15,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [windows-latest, macos-latest, ubuntu-latest] platform: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.6", "3.10", "pypy-3.8"] python-version: ["3.7", "3.11", "pypy-3.8"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
......
...@@ -10,7 +10,7 @@ scikit_build_example ...@@ -10,7 +10,7 @@ scikit_build_example
An example project built with [pybind11](https://github.com/pybind/pybind11) and scikit-build. Python 3.6+ (see older commits for older versions of Python). An example project built with [pybind11](https://github.com/pybind/pybind11) and scikit-build. Python 3.7+ (see older commits for older versions of Python).
[gitter-badge]: https://badges.gitter.im/pybind/Lobby.svg [gitter-badge]: https://badges.gitter.im/pybind/Lobby.svg
......
[build-system] [build-system]
requires = [ requires = [
"setuptools>=42", "setuptools>=42",
"pybind11~=2.9.2", "pybind11>=2.10.1",
"cmake>=3.22", "cmake>=3.22",
"scikit-build>=0.15.0", "scikit-build>=0.15.0",
] ]
......
...@@ -2,12 +2,16 @@ import sys ...@@ -2,12 +2,16 @@ import sys
try: try:
from skbuild import setup from skbuild import setup
except ImportError: except ImportError as err:
print( msg = (
"Please update pip, you need pip 10 or greater,\n" "Please update pip, you need pip 10 or greater,\n"
" or you need to install the PEP 518 requirements in pyproject.toml yourself", " or you need to install the PEP 518 requirements in pyproject.toml yourself"
file=sys.stderr,
) )
if sys.version_info < (3, 11):
print(msg, file=sys.stderr)
else:
err.add_note(msg)
raise raise
from setuptools import find_packages from setuptools import find_packages
...@@ -23,5 +27,5 @@ setup( ...@@ -23,5 +27,5 @@ setup(
cmake_install_dir="src/scikit_build_example", cmake_install_dir="src/scikit_build_example",
include_package_data=True, include_package_data=True,
extras_require={"test": ["pytest"]}, extras_require={"test": ["pytest"]},
python_requires=">=3.6", python_requires=">=3.7",
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment