Skip to content

Commit

Permalink
Merge pull request #2234 from finos/tkp/311
Browse files Browse the repository at this point in the history
Add Python 3.11 support
  • Loading branch information
texodus authored May 31, 2023
2 parents aca52b3 + d628a26 commit ed7d103
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ jobs:
- 3.8
- 3.9
- "3.10"
- 3.11
container:
- none # Not manylinux, we will use this space to build the WASM assets
- 2014
Expand Down Expand Up @@ -777,7 +778,7 @@ jobs:
- is-full-run: false
os: macos-11

# Exclude Python 3.7, 3.8, 3.10 builds
# Exclude Python 3.7, 3.8, 3.10, 3.11 builds
- is-full-run: false
python-version: 3.7

Expand All @@ -787,6 +788,9 @@ jobs:
- is-full-run: false
python-version: "3.10"

- is-full-run: false
python-version: 3.11

# NOTE: don't fail fast as sometimes npm blocks the burst of fetches from GHA
fail-fast: false
##################################
Expand Down Expand Up @@ -1234,6 +1238,7 @@ jobs:
- 3.8
- 3.9
- "3.10"
- 3.11
node-version: [16.x]
is-full-run:
- ${{ needs.initialize.outputs.FULL_RUN == 'true' }}
Expand All @@ -1258,7 +1263,7 @@ jobs:
- is-full-run: false
os: macos-11

# Exclude Python 3.7, 3.8, 3.10 builds
# Exclude Python 3.7, 3.8, 3.10, 3.11 builds
- is-full-run: false
python-version: 3.7

Expand All @@ -1267,6 +1272,9 @@ jobs:

- is-full-run: false
python-version: "3.10"

- is-full-run: false
python-version: 3.11
# NOTE: don't fail fast as sometimes npm blocks the burst of fetches from GHA
fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion cmake/Pybind.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(pybind11-download NONE)
include(ExternalProject)
ExternalProject_Add(pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.8.1
GIT_TAG v2.10.4
SOURCE_DIR "${CMAKE_BINARY_DIR}/pybind11-src"
BINARY_DIR "${CMAKE_BINARY_DIR}/pybind11-build"
CONFIGURE_COMMAND ""
Expand Down
10 changes: 10 additions & 0 deletions scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,45 +62,55 @@ const gh_python_dist_folders = [
"perspective-python-dist-macos-11-3.8",
"perspective-python-dist-macos-11-3.9",
"perspective-python-dist-macos-11-3.10",
"perspective-python-dist-macos-11-3.11",

// Ubuntu (Manylinux 2014 docker images)
"perspective-python-dist-ubuntu-20.04-3.7",
"perspective-python-dist-ubuntu-20.04-3.8",
"perspective-python-dist-ubuntu-20.04-3.9",
"perspective-python-dist-ubuntu-20.04-3.10",
"perspective-python-dist-ubuntu-20.04-3.11",

// Windows 2019 (No 3.6 on windows)
"perspective-python-dist-windows-2019-3.7",
"perspective-python-dist-windows-2019-3.8",
"perspective-python-dist-windows-2019-3.9",
"perspective-python-dist-windows-2019-3.10",
"perspective-python-dist-windows-2019-3.11",

// Windows 2022
// NOTE: omit these for now, rely on 2019 wheels
// "perspective-python-dist-windows-2022-3.7",
// "perspective-python-dist-windows-2022-3.8",
// "perspective-python-dist-windows-2022-3.9",
// "perspective-python-dist-windows-2022-3.10",
// "perspective-python-dist-windows-2022-3.11",

"perspective-python-sdist",
];

// Artifacts inside those folders
const wheels = [
// Mac 11
"cp37-cp37-macosx_11_0_x86_64",
"cp38-cp38-macosx_11_0_x86_64",
"cp39-cp39-macosx_11_0_x86_64",
"cp310-cp310-macosx_11_0_x86_64",
"cp311-cp311-macosx_11_0_x86_64",

// Manylinux 2014
"cp37-cp37-manylinux2014_x86_64",
"cp38-cp38-manylinux2014_x86_64",
"cp39-cp39-manylinux2014_x86_64",
"cp310-cp310-manylinux2014_x86_64",
"cp311-cp311-manylinux2014_x86_64",

// Windows (use 2019)
"cp37-cp37-win_amd64",
"cp38-cp38-win_amd64",
"cp39-cp39-win_amd64",
"cp310-cp310-win_amd64",
"cp311-cp311-win_amd64",
];

// GitHub API Wrapper
Expand Down

0 comments on commit ed7d103

Please sign in to comment.