Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: actions/setup-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.0
Choose a base ref
...
head repository: actions/setup-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.1.1
Choose a head ref
  • 3 commits
  • 10 files changed
  • 5 contributors

Commits on Jun 26, 2024

  1. Bump braces from 3.0.2 to 3.0.3 (#893)

    * Bump braces from 3.0.2 to 3.0.3
    
    Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
    - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
    - [Commits](micromatch/braces@3.0.2...3.0.3)
    
    ---
    updated-dependencies:
    - dependency-name: braces
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Bump undici from 5.28.3 to 5.28.4
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
    dependabot[bot] and HarithaVattikuti authored Jun 26, 2024
    Copy the full SHA
    4eb7dbc View commit details

Commits on Jun 27, 2024

  1. fix(ci): update all failing workflows (#863)

    * fix(ci): update all failing workflows
    
    With `macos-latest` moving to `macos-14`, most workflows are currently failing.
    Update them to be able to run on `macos-latest`
    
    Don't test python 3.5 on ubuntu. It's been EOL for almost 4 years and there are now some certificate issues with pip.
    
    * review: remove test with python 3.5, 3.6 & 3.7
    
    * add latest versions to e2e-tests.yml
    mayeut authored Jun 27, 2024
    Copy the full SHA
    a0d74c0 View commit details

Commits on Jul 10, 2024

  1. Documentation update for cache (#873)

    * updated doc
    
    * added note
    
    * modify1
    
    * Update advanced-usage.md
    
    * Update 0000-caching-dependencies.md
    
    ---------
    
    Co-authored-by: gowridurgad <gowridurga@github.com>
    gowridurgad and gowridurgad authored Jul 10, 2024
    Copy the full SHA
    39cd149 View commit details
11 changes: 6 additions & 5 deletions .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ on:
- releases/*
paths-ignore:
- '**.md'
workflow_dispatch:

permissions:
contents: read
@@ -21,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.7-v7.x']
python-version: ['3.9', 'pypy-3.9-v7.x']
steps:
- uses: actions/checkout@v4
- name: Setup Python
@@ -75,7 +76,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.8']
python-version: ['3.9', 'pypy-3.9']
steps:
- uses: actions/checkout@v4
- name: Install poetry
@@ -91,13 +92,13 @@ jobs:
run: poetry install

python-pip-dependencies-caching-path:
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.7-v7.x']
python-version: ['3.9', 'pypy-3.9-v7.x']
steps:
- uses: actions/checkout@v4
- name: Setup Python
@@ -110,7 +111,7 @@ jobs:
run: pip install numpy pandas requests

python-pipenv-dependencies-caching-path:
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }})
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
56 changes: 25 additions & 31 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ on:
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
test-setup-python:
@@ -21,54 +22,47 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Run with setup-python 3.5
uses: ./
with:
python-version: 3.5
- name: Verify 3.5
run: python __tests__/verify-python.py 3.5

- name: Run with setup-python 3.6
- name: Run with setup-python 3.8
uses: ./
with:
python-version: 3.6
- name: Verify 3.6
run: python __tests__/verify-python.py 3.6
python-version: 3.8
- name: Verify 3.8
run: python __tests__/verify-python.py 3.8

- name: Run with setup-python 3.7
- name: Run with setup-python 3.8.10
uses: ./
with:
python-version: 3.7
- name: Verify 3.7
run: python __tests__/verify-python.py 3.7
python-version: 3.8.10
- name: Verify 3.8.10
run: python __tests__/verify-python.py 3.8.10

- name: Run with setup-python 3.8
- name: Run with setup-python 3.9.13
uses: ./
with:
python-version: 3.8
- name: Verify 3.8
run: python __tests__/verify-python.py 3.8
python-version: 3.9.13
- name: Verify 3.9.13
run: python __tests__/verify-python.py 3.9.13

- name: Run with setup-python 3.7.5
- name: Run with setup-python 3.9.13
uses: ./
with:
python-version: 3.7.5
- name: Verify 3.7.5
run: python __tests__/verify-python.py 3.7.5
python-version: 3.10.11
- name: Verify 3.10.11
run: python __tests__/verify-python.py 3.10.11

- name: Run with setup-python 3.6.7
- name: Run with setup-python 3.11.9
uses: ./
with:
python-version: 3.6.7
- name: Verify 3.6.7
run: python __tests__/verify-python.py 3.6.7
python-version: 3.11.9
- name: Verify 3.11.9
run: python __tests__/verify-python.py 3.11.9

- name: Run with setup-python 3.8.1
- name: Run with setup-python 3.12.4
uses: ./
with:
python-version: 3.8.1
- name: Verify 3.8.1
run: python __tests__/verify-python.py 3.8.1
python-version: 3.12.4
- name: Verify 3.12.4
run: python __tests__/verify-python.py 3.12.4

- name: Run with setup-python 3.10
id: cp310
1 change: 1 addition & 0 deletions .github/workflows/test-graalpy.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ on:
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
setup-graalpy:
33 changes: 17 additions & 16 deletions .github/workflows/test-pypy.yml
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ on:
- '**.md'
schedule:
- cron: 30 3 * * *
workflow_dispatch:

jobs:
setup-pypy:
@@ -22,16 +23,16 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest]
pypy:
- 'pypy-2.7'
- 'pypy-3.7'
- 'pypy-3.10'
- 'pypy3.9'
- 'pypy-2.7-v7.3.4'
- 'pypy-3.7-v7.3.5'
- 'pypy-3.7-v7.3.4'
- 'pypy-3.7-v7.3.x'
- 'pypy-3.7-v7.x'
- 'pypy-2.7-v7.3.4rc1'
- 'pypy-3.8-nightly'
- 'pypy3.8-v7.3.7'
- 'pypy-2.7-v7.3.14'
- 'pypy-3.10-v7.3.15'
- 'pypy-3.10-v7.3.14'
- 'pypy-3.10-v7.3.x'
- 'pypy-3.10-v7.x'
- 'pypy-2.7-v7.3.12rc1'
- 'pypy-3.10-nightly'
- 'pypy3.10-v7.3.15'

steps:
- name: Checkout
@@ -74,7 +75,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest]
pypy: ['pypy2.7', 'pypy3.7', 'pypy3.8', 'pypy3.9-nightly']
pypy: ['pypy2.7', 'pypy3.9', 'pypy3.10-nightly']

steps:
- name: Checkout
@@ -104,7 +105,7 @@ jobs:
- name: Setup PyPy and check latest
uses: ./
with:
python-version: 'pypy-3.7-v7.3.x'
python-version: 'pypy-3.10-v7.3.x'
check-latest: true
- name: PyPy and Python version
run: python --version
@@ -120,7 +121,7 @@ jobs:

- name: Assert expected binaries (or symlinks) are present
run: |
EXECUTABLE="pypy-3.7-v7.3.x"
EXECUTABLE="pypy-3.10-v7.3.x"
EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
${EXECUTABLE} --version
@@ -138,8 +139,8 @@ jobs:
uses: ./
with:
python-version: |
pypy-3.7-v7.3.x
pypy3.8
pypy-3.10-v7.3.x
pypy3.9
check-latest: true
- name: PyPy and Python version
run: python --version
@@ -155,14 +156,14 @@ jobs:

- name: Assert expected binaries (or symlinks) are present
run: |
EXECUTABLE="pypy-3.7-v7.3.x"
EXECUTABLE="pypy-3.10-v7.3.x"
EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
${EXECUTABLE} --version
shell: bash
- name: Assert expected binaries (or symlinks) are present
run: |
EXECUTABLE='pypy3.8'
EXECUTABLE='pypy3.9'
EXECUTABLE=${EXECUTABLE/pypy-/pypy} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
${EXECUTABLE} --version
Loading