mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-08 12:28:20 +02:00
Merge 2b255558cb
into 5db1cf9a59
This commit is contained in:
commit
cb7d75d78f
4 changed files with 19 additions and 19 deletions
8
.github/workflows/e2e-cache-freethreaded.yml
vendored
8
.github/workflows/e2e-cache-freethreaded.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13
|
||||||
]
|
]
|
||||||
python-version: [3.13.0t, 3.13.1t, 3.13.2t]
|
python-version: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13
|
||||||
]
|
]
|
||||||
python-version: [3.13.0t, 3.13.1t, 3.13.2t]
|
python-version: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
@ -120,7 +120,7 @@ jobs:
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13
|
||||||
]
|
]
|
||||||
python-version: [3.13.0t, 3.13.1t, 3.13.2t]
|
python-version: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
@ -148,7 +148,7 @@ jobs:
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13
|
||||||
]
|
]
|
||||||
python-version: [3.13.0t, 3.13.1t, 3.13.2t]
|
python-version: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
|
18
.github/workflows/test-python-freethreaded.yml
vendored
18
.github/workflows/test-python-freethreaded.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
||||||
ubuntu-latest,
|
ubuntu-latest,
|
||||||
ubuntu-24.04-arm
|
ubuntu-24.04-arm
|
||||||
]
|
]
|
||||||
python: [3.13.0t, 3.13.1t, 3.13.2t]
|
python: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -67,7 +67,7 @@ jobs:
|
||||||
ubuntu-latest,
|
ubuntu-latest,
|
||||||
ubuntu-24.04-arm
|
ubuntu-24.04-arm
|
||||||
]
|
]
|
||||||
python: [3.13.0t, 3.13.1t, 3.13.2t]
|
python: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -107,7 +107,7 @@ jobs:
|
||||||
ubuntu-latest,
|
ubuntu-latest,
|
||||||
ubuntu-24.04-arm
|
ubuntu-24.04-arm
|
||||||
]
|
]
|
||||||
python: [3.13.0t, 3.13.1t, 3.13.2t]
|
python: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -227,7 +227,7 @@ jobs:
|
||||||
ubuntu-latest,
|
ubuntu-latest,
|
||||||
ubuntu-24.04-arm
|
ubuntu-24.04-arm
|
||||||
]
|
]
|
||||||
python: [3.13.0t, 3.13.1t, 3.13.2t, 3.14t-dev]
|
python: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t, 3.14t-dev]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -243,7 +243,7 @@ jobs:
|
||||||
python-version-file: .tool-versions
|
python-version-file: .tool-versions
|
||||||
|
|
||||||
setup-pre-release-version-from-manifest:
|
setup-pre-release-version-from-manifest:
|
||||||
name: Setup 3.14.0-alpha.6 ${{ matrix.os }}
|
name: Setup 3.14.0-beta.1 ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -262,11 +262,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: setup-python 3.14.0-alpha.6
|
- name: setup-python 3.14.0-beta.1
|
||||||
id: setup-python
|
id: setup-python
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: '3.14.0-alpha.6'
|
python-version: '3.14.0-beta.1'
|
||||||
freethreaded: true
|
freethreaded: true
|
||||||
|
|
||||||
- name: Check python-path
|
- name: Check python-path
|
||||||
|
@ -370,7 +370,7 @@ jobs:
|
||||||
ubuntu-latest,
|
ubuntu-latest,
|
||||||
ubuntu-24.04-arm
|
ubuntu-24.04-arm
|
||||||
]
|
]
|
||||||
python: [3.13.0t, 3.13.1t, 3.13.2t]
|
python: [3.13.0t, 3.13.1t, 3.13.2t, 3.13.3t]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -459,7 +459,7 @@ jobs:
|
||||||
ubuntu-latest,
|
ubuntu-latest,
|
||||||
ubuntu-24.04-arm
|
ubuntu-24.04-arm
|
||||||
]
|
]
|
||||||
python: [3.13.1, 3.13.2, 3.14-dev, 3.14.0-alpha.6]
|
python: [3.13.1, 3.13.2, 3.14-dev, 3.14.0-beta.1]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
10
.github/workflows/test-python.yml
vendored
10
.github/workflows/test-python.yml
vendored
|
@ -285,7 +285,7 @@ jobs:
|
||||||
python-version-file: .tool-versions
|
python-version-file: .tool-versions
|
||||||
|
|
||||||
setup-pre-release-version-from-manifest:
|
setup-pre-release-version-from-manifest:
|
||||||
name: Setup 3.14.0-alpha.6 ${{ matrix.os }}
|
name: Setup 3.14.0-beta.1 ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -304,11 +304,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: setup-python 3.14.0-alpha.6
|
- name: setup-python 3.14.0-beta.1
|
||||||
id: setup-python
|
id: setup-python
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: '3.14.0-alpha.6'
|
python-version: '3.14.0-beta.1'
|
||||||
|
|
||||||
- name: Check python-path
|
- name: Check python-path
|
||||||
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
||||||
|
@ -317,8 +317,8 @@ jobs:
|
||||||
- name: Validate version
|
- name: Validate version
|
||||||
run: |
|
run: |
|
||||||
$pythonVersion = (python --version)
|
$pythonVersion = (python --version)
|
||||||
if ("Python 3.14.0a6" -ne "$pythonVersion"){
|
if ("Python 3.14.0b1" -ne "$pythonVersion"){
|
||||||
Write-Host "The current version is $pythonVersion; expected version is 3.14.0a6"
|
Write-Host "The current version is $pythonVersion; expected version is 3.14.0b1"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
$pythonVersion
|
$pythonVersion
|
||||||
|
|
|
@ -62,7 +62,7 @@ steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.14.0-alpha.1'
|
python-version: '3.14.0-beta.1'
|
||||||
- run: python my_script.py
|
- run: python my_script.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue