mirror of
https://github.com/actions/setup-python.git
synced 2026-11-12 19:28:57 +00:00
Fix pip version and format issues
This commit is contained in:
@@ -38,8 +38,6 @@ jobs:
|
||||
python-version: pypy-3.11-v7.x
|
||||
- os: windows-11-arm
|
||||
python-version: pypy-3.11-v7.x
|
||||
- os: windows-11-arm
|
||||
python-version: '3.10'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
@@ -67,7 +65,8 @@ jobs:
|
||||
macos-15-intel,
|
||||
macos-latest
|
||||
]
|
||||
python-version: ['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||
python-version:
|
||||
['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||
exclude:
|
||||
- os: windows-latest
|
||||
python-version: pypy-3.11-v7.x
|
||||
@@ -197,7 +196,8 @@ jobs:
|
||||
macos-15-intel,
|
||||
macos-latest
|
||||
]
|
||||
python-version: ['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||
python-version:
|
||||
['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||
exclude:
|
||||
- os: windows-latest
|
||||
python-version: pypy-3.11-v7.x
|
||||
@@ -258,7 +258,7 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
pip-version: '25.0.1'
|
||||
pip-version: '26.2.2'
|
||||
- name: Install dependencies
|
||||
run: pip install numpy pandas requests
|
||||
|
||||
@@ -287,6 +287,6 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
cache-dependency-path: __tests__/data/requirements.txt
|
||||
pip-version: '25.0.1'
|
||||
pip-version: '26.2.2'
|
||||
- name: Install dependencies
|
||||
run: pip install numpy pandas requests
|
||||
|
||||
@@ -32,26 +32,28 @@ jobs:
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Run with setup-python 3.15.2
|
||||
if: matrix.operating-system != 'windows-11-arm'
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.15.2
|
||||
- name: Verify 3.15.2
|
||||
if: matrix.operating-system != 'windows-11-arm'
|
||||
run: python __tests__/verify-python.py 3.15.2
|
||||
|
||||
- name: Run with setup-python 3.11.9
|
||||
if: matrix.operating-system != 'ubuntu-latest'
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.11.9
|
||||
- name: Verify 3.11.9
|
||||
if: matrix.operating-system != 'ubuntu-latest'
|
||||
run: python __tests__/verify-python.py 3.11.9
|
||||
|
||||
- name: Run with setup-python 3.12.10
|
||||
if: matrix.operating-system != 'ubuntu-latest'
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.12.10
|
||||
- name: Verify 3.12.10
|
||||
if: matrix.operating-system != 'ubuntu-latest'
|
||||
run: python __tests__/verify-python.py 3.12.10
|
||||
|
||||
- name: Run with setup-python 3.13.14
|
||||
|
||||
@@ -163,7 +163,7 @@ jobs:
|
||||
macos-15-intel,
|
||||
macos-latest
|
||||
]
|
||||
python: [ 3.11.9, '==3.12.10', 3.13.14, 3.14.6, 3.15.2]
|
||||
python: [3.11.9, '==3.12.10', 3.13.14, 3.14.6, 3.15.2]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
@@ -161,8 +161,8 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- 'pypy3.10' # the latest available version of PyPy that supports Python 3.10
|
||||
- 'pypy3.10-v7.3.17' # Python 3.10 and PyPy 7.3.17
|
||||
- 'pypy3.11' # the latest available version of PyPy that supports Python 3.10
|
||||
- 'pypy3.11-v7.3.23' # Python 3.10 and PyPy 7.3.17
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-python@v7
|
||||
@@ -260,12 +260,11 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
python-version: ['3.9', '3.10', '3.11', 'pypy3.9']
|
||||
python-version: ['3.11','3.14', 'pypy3.9']
|
||||
exclude:
|
||||
- os: macos-latest
|
||||
python-version: '3.9'
|
||||
- os: windows-latest
|
||||
python-version: '3.9'
|
||||
- os: ubuntu-latest
|
||||
python-version: '3.11'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- name: Set up Python
|
||||
|
||||
Reference in New Issue
Block a user