Skip to content

Commit

Permalink
Move to Python 3.13 release
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Oct 21, 2024
1 parent a152df4 commit d413575
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ runs:
sudo apt-get update
sudo apt-get install language-pack-en language-pack-de
shell: bash

- name: Setup Python
if: inputs.python-version != 'installed'
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}

- name: Checkout
uses: actions/checkout@v4

- name: Detect OS
id: os
env:
Expand All @@ -47,7 +47,7 @@ runs:
esac
echo "date=$(date +%Y%m%d 2> /dev/null || true)" >> $GITHUB_OUTPUT
shell: bash

- name: Cache PIP Packages
uses: actions/cache@v4
id: cache
Expand All @@ -59,7 +59,7 @@ runs:
${{ inputs.os }}-pip-test-${{ inputs.python-version }}-${{ hashFiles('**/requirements.txt', '**/constraints.txt') }}-
${{ inputs.os }}-pip-test-${{ inputs.python-version }}-
${{ inputs.os }}-pip-test-
- name: Install Python dependencies
run: |
python -m venv "$RUNNER_TEMP/venv"
Expand Down Expand Up @@ -88,7 +88,7 @@ runs:
python -m pip cache list || true
# assert no whl files have been built
if [[ "$python_minor_version" != "3.13" ]] && python -m pip cache info && [[ "$(python -m pip cache info | grep "Number of .*wheels:")" != "Number of "*"wheels: 0" ]]
if python -m pip cache info && [[ "$(python -m pip cache info | grep "Number of .*wheels:")" != "Number of "*"wheels: 0" ]]
then
echo "Dependency whl files have been built"
exit 1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: "./.github/workflows/test-os.yml"
with:
os: '["macos-12", "macos-13", "macos-14"]'
python-version: '["3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]'
python-version: '["3.10", "3.11", "3.12", "3.13", "installed"]'
include: >
[
{"os": "macos-12", "python-version": "3.8"},
Expand All @@ -52,7 +52,7 @@ jobs:
uses: "./.github/workflows/test-os.yml"
with:
os: '["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"]'
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]'
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13", "installed"]'
include: >
[
{"os": "ubuntu-20.04", "python-version": "3.7"},
Expand All @@ -65,7 +65,7 @@ jobs:
uses: "./.github/workflows/test-os.yml"
with:
os: '["windows-2019", "windows-2022"]'
python-version: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]'
python-version: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "installed"]'
include: '[{"os": "windows-2019", "python-version": "3.7"}]'

publish:
Expand Down

0 comments on commit d413575

Please sign in to comment.