Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.10 #637

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion deps/pybind11-2.5.0/tools/pybind11Tools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(NOT PYBIND11_PYTHON_VERSION)
set(PYBIND11_PYTHON_VERSION "" CACHE STRING "Python version to use for compiling modules")
endif()

set(Python_ADDITIONAL_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4)
set(Python_ADDITIONAL_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4)
find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} REQUIRED)

include(CheckCXXCompilerFlag)
Expand Down
2 changes: 1 addition & 1 deletion release-pypi-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bash ${MINICONDA_FILENAME} -b -f -p $HOME/miniconda3
export PATH=$HOME/miniconda3/bin:$PATH
eval "$(conda shell.bash hook)"

for VERSION in 3.5 3.6 3.7 3.8 3.9; do
for VERSION in 3.5 3.6 3.7 3.8 3.9 3.10; do
# Create and activate environment
conda create -y -n py$VERSION python=$VERSION
conda activate py$VERSION
Expand Down
2 changes: 1 addition & 1 deletion release-pypi-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bash ${MINICONDA_FILENAME} -b -f -p $HOME/miniconda3
export PATH=$HOME/miniconda3/bin:$PATH
eval "$(conda shell.bash hook)"

for VERSION in 3.5 3.6 3.7 3.8 3.9; do
for VERSION in 3.5 3.6 3.7 3.8 3.9 3.10; do
# Create and activate environment
conda create -y -n py$VERSION python=$VERSION
conda activate py$VERSION
Expand Down
2 changes: 1 addition & 1 deletion release-pypi-windows.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal EnableDelayedExpansion

SET VERSIONS=3.5 3.6 3.7 3.8 3.9
SET VERSIONS=3.5 3.6 3.7 3.8 3.9 3.10
SET SOURCEDIR=%cd%

REM Build packages
Expand Down