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: v4.0.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: v4.1.0
Choose a head ref

Commits on Jun 9, 2022

  1. Update docs to v4 version

    Vladimir Safonkin committed Jun 9, 2022
    Copy the full SHA
    775367d View commit details
  2. Merge pull request #423 from vsafonkin/v-vsafonkin/update-docs-v4

    Update docs to v4 version
    marko-zivic-93 authored Jun 9, 2022
    Copy the full SHA
    813f9b1 View commit details

Commits on Jun 13, 2022

  1. Pass the token input through on GHES (#427)

    * Pass the`token` input through on GHES
    
    * Update the description for `token`
    
    * Fix dist files
    
    * Update package-lock.json
    
    * Update README
    
    * Fix indent level in YAML snippet
    
    * secret names can't start with GITHUB_
    brcrista authored Jun 13, 2022
    Copy the full SHA
    7e4abae View commit details

Commits on Jun 15, 2022

  1. Copy the full SHA
    8fb4cbf View commit details

Commits on Jun 16, 2022

  1. Revert "Pass the token input through on GHES (#427)" (#437)

    This reverts commit 7e4abae.
    brcrista authored Jun 16, 2022
    Copy the full SHA
    cf86e08 View commit details

Commits on Jun 20, 2022

  1. Copy the full SHA
    ffcd000 View commit details

Commits on Jun 28, 2022

  1. Update cache-save.ts to support @actions/cache v3.0.0 lib

    Made package.json and package-lock.json to use @actions/cache v3.0.0,
    updated logic of the cache-save operation and added unit-tests
    IvanZosimov committed Jun 28, 2022
    Copy the full SHA
    01408ce View commit details
  2. Update licenses

    IvanZosimov committed Jun 28, 2022
    Copy the full SHA
    c61bc3d View commit details

Commits on Jun 29, 2022

  1. Copy the full SHA
    a8da2a6 View commit details
  2. Change README

    dsame committed Jun 29, 2022
    Copy the full SHA
    5ad7902 View commit details
  3. Fix dist folder

    dsame committed Jun 29, 2022
    Copy the full SHA
    7199395 View commit details
  4. Handle each OS in its own way

    dsame committed Jun 29, 2022
    Copy the full SHA
    5d9fdca View commit details
  5. Exclude windows from the fix

    dsame committed Jun 29, 2022
    Copy the full SHA
    9588973 View commit details
  6. Build after rebase

    dsame committed Jun 29, 2022
    Copy the full SHA
    9c76df2 View commit details
  7. feature: add update-environment input (#411)

    This option allows to specify if the action shall update environment variables (default) or not.
    This allows to use the setup-python action in a composite action without side effect (except downloading/installing python if version is missing).
    mayeut authored Jun 29, 2022
    Copy the full SHA
    00a5248 View commit details
  8. Fixing pipenv CI (#444)

    * work on fixing pipenv
    
    * change installation of pipenv to curl
    
    * add different logs
    
    * regenerate pipefile.lock
    
    * change pipenv ci
    dmitry-shibanov authored Jun 29, 2022
    Copy the full SHA
    766e8c6 View commit details
  9. add --python 3

    dmitry-shibanov committed Jun 29, 2022
    Copy the full SHA
    2a20d9b View commit details
  10. fixing pipenv

    dmitry-shibanov committed Jun 29, 2022
    Copy the full SHA
    1e52de4 View commit details
  11. fix check

    dmitry-shibanov committed Jun 29, 2022
    Copy the full SHA
    d358f9e View commit details
  12. minor fix

    dmitry-shibanov committed Jun 29, 2022
    Copy the full SHA
    27091d5 View commit details
  13. update pypy versions

    dmitry-shibanov committed Jun 29, 2022
    Copy the full SHA
    d7db825 View commit details

Commits on Jun 30, 2022

  1. Add CMake hints

    dsame committed Jun 30, 2022
    Copy the full SHA
    69b9446 View commit details
  2. rebase main

    dsame committed Jun 30, 2022
    Copy the full SHA
    63086c6 View commit details
  3. Fix failed check

    dsame committed Jun 30, 2022
    Copy the full SHA
    e629242 View commit details
  4. Copy the full SHA
    ab6deb3 View commit details
  5. Fix bug in resolveVersionInput()

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    afd3e72 View commit details
  6. Fix typo

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    6733fc4 View commit details
  7. Merge branch 'main' into CacheLibVersionUpdate

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    161c3a6 View commit details
  8. Rebuild action

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    0811650 View commit details
  9. Rebuild action

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    41b9110 View commit details
  10. Merge pull request #448 from IvanZosimov/CacheLibVersionUpdate

    Add support for the @actions/cache library 3.0.0
    marko-zivic-93 authored Jun 30, 2022
    Copy the full SHA
    5407bf6 View commit details
  11. Merge branch 'main' into ResolveVersionFix

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    e29a7c8 View commit details
  12. Fix naming

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    56f6060 View commit details
  13. Rearrange logic

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    84087f5 View commit details
  14. Rebuild action with new changes

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    a6b01c4 View commit details
  15. Fix typos

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    d97b6ed View commit details
  16. Add warning in case the versionFile isn't found

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    82eddc4 View commit details
  17. Optimize logic, rebuild action

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    5fbb819 View commit details
  18. Change warning handler to default

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    ccb7da8 View commit details
  19. Optimize code

    IvanZosimov committed Jun 30, 2022
    Copy the full SHA
    099ed89 View commit details

Commits on Jul 1, 2022

  1. trigger checks

    dsame committed Jul 1, 2022
    Copy the full SHA
    96f494e View commit details
  2. Copy the full SHA
    78a2330 View commit details

Commits on Jul 2, 2022

  1. Copy the full SHA
    412091c View commit details
  2. Remove duplicate code introduced in #440

    #440 duplicated a block of code outside of `if (updateEnvironment) {` condition. This was probably an oversight when merging `main` back on the PR branch. The tests should have seen that `core.exportVariable` was being called and should have failed.
    mayeut committed Jul 2, 2022
    Copy the full SHA
    2c9de4e View commit details

Commits on Jul 4, 2022

  1. Merge pull request #450 from IvanZosimov/ResolveVersionFix

    Rearranged logic of the ResolveVersionInput()
    marko-zivic-93 authored Jul 4, 2022
    Copy the full SHA
    782f81b View commit details
  2. Merge pull request #394 from akv-platform/v-sedoli/set-env-by-default

    Assign default value of AGENT_TOOLSDIRECTORY if not set
    marko-zivic-93 authored Jul 4, 2022
    Copy the full SHA
    364e819 View commit details
  3. doc: Add multiple wildcards example to readme

    Based on https://www.npmjs.com/package/@actions/glob (the library used for cache file globbing), newline-separating multiple patterns is accepted.
    akx authored Jul 4, 2022
    Copy the full SHA
    af97157 View commit details

Commits on Jul 5, 2022

  1. Merge pull request #456 from akx/patch-1

    doc: Add multiple wildcards example to readme
    marko-zivic-93 authored Jul 5, 2022
    Copy the full SHA
    f0bcf8b View commit details

Commits on Jul 6, 2022

  1. Merge pull request #452 from mayeut/fix-env

    Remove duplicate code introduced in #440
    marko-zivic-93 authored Jul 6, 2022
    Copy the full SHA
    0ad0f6a View commit details

Commits on Jul 7, 2022

  1. Copy the full SHA
    c4e89fa View commit details
28 changes: 20 additions & 8 deletions .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
@@ -39,7 +39,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@v3
- name: Setup Python
@@ -48,11 +48,17 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'
- name: Install pipenv
run: pipx install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Install dependencies
shell: pwsh
run: |
cd __tests__/data
pipenv install --verbose
mv ./__tests__/data/Pipfile.lock .
mv ./__tests__/data/Pipfile .
if ("${{ matrix.python-version }}" -Match "pypy") {
pipenv install --keep-outdated --python pypy
} else {
pipenv install --keep-outdated --python ${{ matrix.python-version }}
}
python-poetry-dependencies-caching:
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
@@ -102,7 +108,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@v3
- name: Setup Python
@@ -112,8 +118,14 @@ jobs:
cache: 'pipenv'
cache-dependency-path: '**/pipenv-requirements.txt'
- name: Install pipenv
run: pipx install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Install dependencies
shell: pwsh
run: |
cd __tests__/data
pipenv install --verbose
mv ./__tests__/data/Pipfile.lock .
mv ./__tests__/data/Pipfile .
if ("${{ matrix.python-version }}" -Match "pypy") {
pipenv install --keep-outdated --python pypy
} else {
pipenv install --keep-outdated --python ${{ matrix.python-version }}
}
26 changes: 26 additions & 0 deletions .github/workflows/test-pypy.yml
Original file line number Diff line number Diff line change
@@ -65,3 +65,29 @@ jobs:
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
${EXECUTABLE} --version
shell: bash

setup-pypy-noenv:
name: Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-latest]
pypy: ['pypy2.7', 'pypy3.7', 'pypy3.8', 'pypy3.9-nightly']

steps:
- name: Checkout
uses: actions/checkout@v3

- name: setup-python ${{ matrix.pypy }}
id: setup-python
uses: ./
with:
python-version: ${{ matrix.pypy }}
update-environment: false

- name: PyPy and Python version
run: ${{ steps.setup-python.outputs.python-path }} --version

- name: Run simple code
run: ${{ steps.setup-python.outputs.python-path }} -c 'import math; print(math.factorial(5))'
25 changes: 25 additions & 0 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
@@ -147,3 +147,28 @@ jobs:

- name: Run simple code
run: python -c 'import math; print(math.factorial(5))'

setup-versions-noenv:
name: Setup ${{ matrix.python }} ${{ matrix.os }} (noenv)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
python: ["3.7", "3.8", "3.9", "3.10"]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: setup-python ${{ matrix.python }}
id: setup-python
uses: ./
with:
python-version: ${{ matrix.python }}
update-environment: false

- name: Python version
run: ${{ steps.setup-python.outputs.python-path }} --version

- name: Run simple code
run: ${{ steps.setup-python.outputs.python-path }} -c 'import math; print(math.factorial(5))'
2 changes: 1 addition & 1 deletion .licenses/npm/@actions/cache.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .licenses/npm/@actions/core.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions .licenses/npm/@actions/http-client.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading