diff --git a/.cirrus.yml b/.cirrus.yml index 8e19e50ff..ddd94105e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -43,7 +43,7 @@ windows_x86_task: memory: 8G 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%" <<: *RUN_TESTS @@ -53,9 +53,9 @@ macos_arm64_task: image: ghcr.io/cirruslabs/macos-sonoma-xcode env: - PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH + PATH: /opt/homebrew/opt/python@3.12/libexec/bin:$PATH install_pre_requirements_script: - - brew install python@3.10 + - brew install python@3.12 <<: *RUN_TESTS macos_arm64_cp38_task: @@ -63,10 +63,10 @@ macos_arm64_cp38_task: image: ghcr.io/cirruslabs/macos-sonoma-xcode env: - PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH + PATH: /opt/homebrew/opt/python@3.12/libexec/bin:$PATH PYTEST_ADDOPTS: --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto' install_pre_requirements_script: - - brew install python@3.10 + - brew install python@3.12 - curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg - sudo installer -pkg python-3.8.10-macos11.pkg -target / - rm python-3.8.10-macos11.pkg diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dc6dbc41e..ef3d3c621 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-13, macos-14] - python_version: ['3.12'] + python_version: ['3.13'] include: - os: ubuntu-latest python_version: '3.11' @@ -49,6 +49,7 @@ jobs: name: Install Python ${{ matrix.python_version }} with: python-version: ${{ matrix.python_version }} + allow-prereleases: true - uses: yezz123/setup-uv@v4 diff --git a/.travis.yml b/.travis.yml index 3dd6f9a8b..ac6259c82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,21 +8,21 @@ branches: jobs: include: - - name: Linux | x86_64 + i686 | Python 3.9 - python: 3.9 + - name: Linux | x86_64 + i686 | Python 3.12 + python: 3.12 services: docker env: PYTHON=python - - name: Linux | arm64 | Python 3.9 - python: 3.9 + - name: Linux | arm64 | Python 3.12 + python: 3.12 services: docker arch: arm64-graviton2 group: edge virt: vm env: PYTHON=python - - name: Linux | ppc64le | Python 3.9 - python: 3.9 + - name: Linux | ppc64le | Python 3.12 + python: 3.12 services: docker arch: ppc64le allow_failure: True @@ -32,16 +32,16 @@ jobs: # c.f. https://travis-ci.community/t/running-out-of-disk-space-quota-when-using-docker-on-ppc64le/11634 - PYTEST_ADDOPTS='-k "not test_manylinuxXXXX_only"' - - name: Windows | x86_64 | Python 3.9 + - name: Windows | x86_64 | Python 3.12 os: windows language: shell before_install: - - choco upgrade python3 -y --version 3.9.13 --limit-output --params "/InstallDir:C:\\Python39" + - choco upgrade python3 -y --version 3.12.4 --limit-output --params "/InstallDir:C:\\Python312" env: - - PYTHON=C:\\Python39\\python + - PYTHON=C:\\Python312\\python - - name: Linux | s390x | Python 3.9 - python: 3.9 + - name: Linux | s390x | Python 3.12 + python: 3.12 services: docker arch: s390x env: PYTHON=python diff --git a/CI.md b/CI.md index 55e9105a2..c7ee5bcb1 100644 --- a/CI.md +++ b/CI.md @@ -1,11 +1,11 @@ This is a summary of the host Python versions and platforms covered by the different CI platforms: -| | 3.8 | 3.9 | 3.10 | 3.12 | -|---------|----------------------------------------------|-----------|-----------|--------------------------------------| -| Linux | AppVeyor¹ / Azure Pipelines / GitHub Actions | Travis CI | Cirrus CI | CircleCI¹ / GitHub Actions / GitLab¹ | -| macOS | AppVeyor¹ / Azure Pipelines | | Cirrus CI | CircleCI¹ / GitHub Actions | -| Windows | AppVeyor¹ / Azure Pipelines | Travis CI | Cirrus CI | GitHub Actions / GitLab¹ | +| | 3.11 | 3.12 | 3.13 | +|---------|----------------------------------|---------------------------------------------------------|----------------| +| Linux | Azure Pipelines / GitHub Actions | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions | +| macOS | Azure Pipelines | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions | +| Windows | Azure Pipelines | AppVeyor¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions | > ¹ Runs a reduced set of tests to reduce CI load -Non-x86 architectures are covered on Travis CI using Python 3.9. +Non-x86 architectures are covered on Travis CI using Python 3.12. diff --git a/appveyor.yml b/appveyor.yml index 4f12790da..2dd413f3b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,18 +1,18 @@ environment: matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu - APPVEYOR_JOB_NAME: "python38-x64-ubuntu" + APPVEYOR_JOB_NAME: "python312-x64-ubuntu" - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - APPVEYOR_JOB_NAME: "python38-x64-vs2015" + APPVEYOR_JOB_NAME: "python312-x64-vs2015" - APPVEYOR_BUILD_WORKER_IMAGE: macos - APPVEYOR_JOB_NAME: "python38-x64-macos" + APPVEYOR_JOB_NAME: "python312-x64-macos" -stack: python 3.8 +stack: python 3.12 build: off init: -- cmd: set PATH=C:\Python38;C:\Python38\Scripts;%PATH% +- cmd: set PATH=C:\Python312;C:\Python312\Scripts;%PATH% - ps: | $BRANCH = if ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) { $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH } else { $env:APPVEYOR_REPO_BRANCH } if (-not ($BRANCH -eq 'main' -or $BRANCH.ToLower().StartsWith('appveyor-'))) { diff --git a/azure-pipelines.yml b/azure-pipelines.yml index beb3d80d7..7249478b3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ jobs: steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8' + versionSpec: '3.11' - bash: | python -m pip install -e ".[dev]" python ./bin/run_tests.py @@ -21,7 +21,7 @@ jobs: steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8' + versionSpec: '3.11' - bash: | python -m pip install -e ".[dev]" python ./bin/run_tests.py --num-processes 2 @@ -32,7 +32,7 @@ jobs: steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8' + versionSpec: '3.11' - bash: | python -m pip install -e ".[dev]" python ./bin/run_tests.py diff --git a/examples/cirrus-ci-intel-mac.yml b/examples/cirrus-ci-intel-mac.yml index 7721fbfb7..04f1ca694 100644 --- a/examples/cirrus-ci-intel-mac.yml +++ b/examples/cirrus-ci-intel-mac.yml @@ -13,8 +13,8 @@ macos_task: image: ghcr.io/cirruslabs/macos-sonoma-xcode env: - PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH + PATH: /opt/homebrew/opt/python@3.12/libexec/bin:$PATH CIBW_ARCHS_MACOS: x86_64 arm64 install_pre_requirements_script: - - brew install python@3.10 + - brew install python@3.12 <<: *BUILD_AND_STORE_WHEELS diff --git a/examples/cirrus-ci-minimal.yml b/examples/cirrus-ci-minimal.yml index 35a3509ca..ad8756806 100644 --- a/examples/cirrus-ci-minimal.yml +++ b/examples/cirrus-ci-minimal.yml @@ -42,7 +42,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 @@ -53,7 +53,7 @@ macos_arm64_task: image: ghcr.io/cirruslabs/macos-sonoma-xcode env: - PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH + PATH: /opt/homebrew/opt/python@3.12/libexec/bin:$PATH install_pre_requirements_script: - - brew install python@3.10 + - brew install python@3.12 <<: *BUILD_AND_STORE_WHEELS diff --git a/examples/gitlab-with-qemu.yml b/examples/gitlab-with-qemu.yml index 278990e5b..734e2bf2d 100644 --- a/examples/gitlab-with-qemu.yml +++ b/examples/gitlab-with-qemu.yml @@ -1,5 +1,5 @@ linux: - image: python:3.8 + image: python:3.12 # make a docker daemon available for cibuildwheel to use services: - name: docker:dind diff --git a/examples/travis-ci-deploy.yml b/examples/travis-ci-deploy.yml index 07d9b8649..8b9f78821 100644 --- a/examples/travis-ci-deploy.yml +++ b/examples/travis-ci-deploy.yml @@ -4,7 +4,7 @@ os: linux dist: focal language: python -python: "3.9" +python: "3.12" jobs: include: @@ -14,10 +14,10 @@ jobs: - os: windows language: shell before_install: - - choco upgrade python -y --version 3.8.6 - - export PATH="/c/Python38:/c/Python38/Scripts:$PATH" + - choco upgrade python -y --version 3.12.4 + - export PATH="/c/Python312:/c/Python312/Scripts:$PATH" # make sure it's on PATH as 'python3' - - ln -s /c/Python38/python.exe /c/Python38/python3.exe + - ln -s /c/Python312/python.exe /c/Python312/python3.exe install: - python3 -m pip install cibuildwheel==2.19.1 diff --git a/examples/travis-ci-minimal.yml b/examples/travis-ci-minimal.yml index 48be947e4..eeee7512c 100644 --- a/examples/travis-ci-minimal.yml +++ b/examples/travis-ci-minimal.yml @@ -1,7 +1,7 @@ os: linux dist: focal language: python -python: "3.9" +python: "3.12" jobs: include: @@ -20,10 +20,10 @@ jobs: - os: windows language: shell before_install: - - choco upgrade python -y --version 3.8.6 - - export PATH="/c/Python38:/c/Python38/Scripts:$PATH" + - choco upgrade python -y --version 3.12.4 + - export PATH="/c/Python312:/c/Python312/Scripts:$PATH" # make sure it's on PATH as 'python3' - - ln -s /c/Python38/python.exe /c/Python38/python3.exe + - ln -s /c/Python312/python.exe /c/Python312/python3.exe install: - python3 -m pip install cibuildwheel==2.19.1 diff --git a/examples/travis-ci-test-and-deploy.yml b/examples/travis-ci-test-and-deploy.yml index e4135fa87..81d548e97 100644 --- a/examples/travis-ci-test-and-deploy.yml +++ b/examples/travis-ci-test-and-deploy.yml @@ -8,17 +8,15 @@ os: linux dist: focal language: python -python: - - 3.7 - - 3.8 +python: "3.12" before_install: - | if [[ "$TRAVIS_OS_NAME" = windows ]]; then - choco upgrade python -y --version 3.8.6 - export PATH="/c/Python38:/c/Python38/Scripts:$PATH" + choco upgrade python -y --version 3.12.4 + export PATH="/c/Python312:/c/Python312/Scripts:$PATH" # make sure it's on PATH as 'python3' - ln -s /c/Python38/python.exe /c/Python38/python3.exe + ln -s /c/Python312/python.exe /c/Python312/python3.exe fi install: