diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 39b4454..5fc1568 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -27,6 +27,10 @@ jobs: python: 311 platform_id: manylinux_i686 manylinux_image: manylinux2014 + - os: ubuntu-latest + python: 312 + platform_id: manylinux_i686 + manylinux_image: manylinux2014 # Linux 64 bit manylinux2014 - os: ubuntu-latest @@ -45,6 +49,10 @@ jobs: python: 311 platform_id: manylinux_x86_64 manylinux_image: manylinux2014 + - os: ubuntu-latest + python: 312 + platform_id: manylinux_x86_64 + manylinux_image: manylinux2014 # MacOS x86_64 - os: macos-latest @@ -59,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 diff --git a/.travis.yml b/.travis.yml index 88adddd..af9ebc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/CI/github/build_wheels.sh b/CI/github/build_wheels.sh index b5720ab..cb19e6b 100755 --- a/CI/github/build_wheels.sh +++ b/CI/github/build_wheels.sh @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 28c0d68..a687e63 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -48,13 +48,22 @@ 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%" - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe" - "python --version" - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" - - "python -m pip install --upgrade pip cython pytest tox ppu" + - "python -m pip install --upgrade pip cython pytest tox ppu setuptools" - "pip --version" build_script: @@ -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% )