-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update examples to use python 3.12
- Loading branch information
Showing
6 changed files
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,11 @@ macos_task: | |
name: Build macOS x86_64 and arm64 wheels. | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
|
||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/bin:${PATH} | ||
CIBW_ARCHS_MACOS: x86_64 arm64 | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- brew install [email protected] | ||
- python3.12 -m venv ${VENV_ROOT} | ||
<<: *BUILD_AND_STORE_WHEELS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,14 @@ linux_x86_task: | |
platform: linux | ||
cpu: 4 | ||
memory: 4G | ||
|
||
env: | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/bin:${PATH} | ||
install_pre_requirements_script: | ||
- apt install -y python3-venv python-is-python3 | ||
- add-apt-repository -y ppa:deadsnakes/ppa | ||
- apt-get update | ||
- apt-get install -y python3.12-venv | ||
- python3.12 -m venv ${VENV_ROOT} | ||
<<: *BUILD_AND_STORE_WHEELS | ||
|
||
linux_aarch64_task: | ||
|
@@ -29,9 +34,14 @@ linux_aarch64_task: | |
platform: linux | ||
cpu: 4 | ||
memory: 4G | ||
|
||
env: | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/bin:${PATH} | ||
install_pre_requirements_script: | ||
- apt install -y python3-venv python-is-python3 | ||
- add-apt-repository -y ppa:deadsnakes/ppa | ||
- apt-get update | ||
- apt-get install -y python3.12-venv | ||
- python3.12 -m venv ${VENV_ROOT} | ||
<<: *BUILD_AND_STORE_WHEELS | ||
|
||
windows_x86_task: | ||
|
@@ -42,7 +52,7 @@ windows_x86_task: | |
memory: 4G | ||
|
||
install_pre_requirements_script: | ||
- choco install -y --no-progress python3 --version 3.10.6 | ||
- choco install -y --no-progress python3 --version 3.12.4 | ||
- refreshenv | ||
- echo PATH=%PATH% >> "%CIRRUS_ENV%" | ||
<<: *BUILD_AND_STORE_WHEELS | ||
|
@@ -51,9 +61,10 @@ macos_arm64_task: | |
name: Build macOS arm64 wheels. | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
|
||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/bin:${PATH} | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- brew install [email protected] | ||
- python3.12 -m venv ${VENV_ROOT} | ||
<<: *BUILD_AND_STORE_WHEELS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters