Skip to content

Commit

Permalink
bump python 3.12 for macos and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bluesheeptoken authored Jan 10, 2024
1 parent e0f4c25 commit f492710
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
- os: macos-latest
python: 311
platform_id: macosx_x86_64
- os: macos-latest
python: 312
platform_id: macosx_x86_64

steps:
- name: Checkout CPT
Expand Down
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,16 @@ jobs:
./CI/github/build_wheels.sh
source CI/upload_wheels.sh
upload_wheels
- python: "3.8"
os: linux
arch: arm64
virt: vm
env:
- CIBW_BUILD: cp312-manylinux_aarch64
install: python3 -m pip install cibuildwheel==2.16.2
script: |
cibuildwheel --output-dir wheelhouse
./CI/github/build_wheels.sh
source CI/upload_wheels.sh
upload_wheels
2 changes: 1 addition & 1 deletion CI/github/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ if [[ "$RUNNER_OS" == "macOS" ]]; then
export LDFLAGS="$LDFLAGS -Wl,-rpath,$brew_prefix/opt/libomp/lib -L$brew_prefix/opt/libomp/lib -lomp"
fi

python -m pip install cibuildwheel==2.11.1
python -m pip install cibuildwheel==2.16.2
python -m cibuildwheel --output-dir wheelhouse
11 changes: 10 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ environment:
PYTHON_ARCH: "64"
PYTHON_HOME: "C:\\Python311-x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON_VERSION: "3.12"
PYTHON_ARCH: "32"
PYTHON_HOME: "C:\\Python312"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON_VERSION: "3.12"
PYTHON_ARCH: "64"
PYTHON_HOME: "C:\\Python312-x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022

install:
# Ensure we use the right python version
- "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
Expand All @@ -68,7 +77,7 @@ deploy_script:
# TWINE_USERNAME / TWINE_PASSWORD / TWINE_REPOSITORY_URL
# must be set in AppVeyor settings.
- if "%APPVEYOR_REPO_TAG%" == "true" (
pip install --upgrade twine "wheel==0.38.4" &&
pip install --upgrade twine "wheel==0.42.0" &&
%CMD_IN_ENV% python setup.py bdist_wheel &&
twine upload --skip-existing dist\\*.whl --repository-url %TWINE_REPOSITORY_URL% -u %TWINE_USERNAME% -p %TWINE_PASSWORD%
)

0 comments on commit f492710

Please sign in to comment.