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