1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00
Commit Graph

448 Commits

Author SHA1 Message Date
Ed Morley
61ad7de14c
Merge db62d43a24 into 55aad42e46 2024-11-13 10:46:41 -06:00
aparnajyothi-y
55aad42e46
Update error message for no dependencies to cache (#968) 2024-11-04 19:27:40 -06:00
priya-kinthali
0b93645e9f
Enhance workflows: Add macOS 13 support, upgrade publish-action, and update documentation for arm64 and latest versions (#965)
* update ci workflows with latest versions and added macos-13

* updated document with latest versions
2024-10-24 08:38:22 -05:00
aparnajyothi-y
9c76e71650
Bump pillow from 7.2 to 10.2.0 in /__tests__/data (#956)
* Update e2e-cache.yml

* Update basic-validation.yml

* Pyinstaller upgrade to 5.13.1

* pyinstaller-update

* Update basic-validation.yml

* Update e2e-cache.yml

* fix-db-alert-164-165-166

* upgrade pillow
2024-10-21 15:39:11 -05:00
John Wesley Walker III
f4c5a1183d
Revise isGhes logic (#963)
* Revise `isGhes` logic

* ran `npm run format`

* add unit test

* ran `npm run format`
2024-10-21 11:42:17 -05:00
Jeff Widman
19dfb7b659
Bump default versions to latest (#905)
People copy/paste these values all the time... might as well start them off on the right foot with a modern default.
2024-10-04 11:28:10 -05:00
Joel Ambass
e9675cc634
Merge pull request #943 from actions/Jcambass-patch-1
Upgrade IA publish
2024-09-26 08:24:10 +02:00
Joel Ambass
3226af69c0
Upgrade IA publish 2024-09-16 17:18:49 +02:00
Joel Ambass
70dcb22d26
Merge pull request #941 from actions/Jcambass-patch-1
Add workflow file for publishing releases to immutable action package
2024-09-10 17:03:13 +02:00
Joel Ambass
65b48c7115
Create publish-immutable-actions.yml
This workflow file publishes new action releases to the immutable action package of the same name as this repo.

This is part of the Immutable Actions project which is not yet fully released to the public. First party actions like this one are part of our initial testing of this feature.
2024-09-10 16:54:46 +02:00
priya-kinthali
29a37be0a3
initial commit (#938) 2024-09-06 11:40:29 -05:00
aparnajyothi-y
f677139bbe
Bump pyinstaller from 3.6 to 5.13.1 in /__tests__/data (#923)
* Update e2e-cache.yml

* Update basic-validation.yml

* Pyinstaller upgrade to 5.13.1

* pyinstaller-update

* Update basic-validation.yml

* Update e2e-cache.yml
2024-08-13 14:03:23 -05:00
gowridurgad
2bd53f9a4d
Documentation update for caching poetry dependencies (#908)
* Create testing.yml

* Update testing.yml

* Fix for parsing version number from TOML 1.0.0 pyproject.toml file

* Delete .github/workflows/testing.yml

* fixed license issue

* updated the Note

* updated doc

* updated the doc

* npm run build

* Mark up corrections

---------

Co-authored-by: gowridurgad <gowridurga@github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
2024-08-08 12:54:56 -05:00
Zxilly
80b49d3ed8
fix: add arch to cache key (#896)
* fix: add arch to cache key

* test: update tests accordingly
2024-08-07 15:12:32 -05:00
Priya Gupta
036a523674
Fix: Add .zip extension to Windows package downloads for Expand-Archive Compatibility (#916)
* Fix: specify filename during Windows package download

* Changed unit test download urls
2024-08-05 12:23:34 -05:00
sciencewhiz
04c1311429
Fix display of emojis in contributors doc (#899) 2024-07-23 09:16:08 -05:00
priya-kinthali
cb68456441
Updated @iarna/toml version to 3.0.0 (#912) 2024-07-22 13:50:49 -05:00
gowridurgad
39cd14951b
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>
2024-07-10 08:48:13 -05:00
Ed Morley
db62d43a24
Skip the post run step entirely if the cache is disabled
Previously if the `cache: false` (the default for this Action), the
Action's "post run" step would still be executed.

Whilst this step was fast (since it returned early if the cache was
disabled), it still causes unnecessary noise in the job's steps list.

For example as seen in:
https://github.com/pypa/get-pip/actions/runs/8679713478/job/23798960684

Now, the post run step is skipped if the cache is disabled, thanks
to the `post-if` syntax supporting the `github.events.inputs.*`
context.

See:
https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-if
0c45773b62/action.yml (L40)
2024-07-08 09:49:29 +01:00
Matthieu Darbois
a0d74c0c42
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
2024-06-27 13:18:32 -05:00
dependabot[bot]
4eb7dbcb95
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](https://github.com/micromatch/braces/compare/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>
2024-06-26 12:13:45 -05:00
priya-kinthali
82c7e631bb
Documentation changes for avoiding rate limit issues on GHES (#835)
* initial commit for documentation changes related to rawapi

* documentation changes and added check for validating raw api

* documenation changes for pr
2024-03-26 08:56:51 -05:00
Tobias
10aa35afd7
feat: fallback to raw endpoint for manifest when rate limit is reached (#766) 2024-03-26 08:56:00 -05:00
dependabot[bot]
9a7ac94420
Bump undici from 5.27.2 to 5.28.3 (#817)
* Bump undici from 5.27.2 to 5.28.3

Bumps [undici](https://github.com/nodejs/undici) from 5.27.2 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.27.2...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* license check fix

* dependency fix

* nightly version issue fix

---------

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>
2024-03-11 10:03:54 -05:00
Aliaksei Urbanski
871daa956c
Fix the "Specifying multiple Python/PyPy versions" link (#782)
The link was broken due to inconsistency between a table of content and
an actual title of a corresponding section of the Advanced Usage guide.
2024-01-24 14:44:08 -06:00
Russell Smith
2f078955e4
Fix broken README.md link (#793) 2024-01-18 11:33:07 +05:30
Bas Nijholt
e9d6f99097
Replace setup-python@v4 by setup-python@v5 in README (#776) 2023-12-14 16:28:18 +01:00
Dmitry Shibanov
0a5c615913
Update action to node20 (#772) 2023-12-05 14:52:09 +01:00
Dmitry Shibanov
0ae58361cd
Add example of GraalPy to docs (#773) 2023-12-05 11:40:46 +01:00
Dmitry Shibanov
b64ffcaf5b
update actions/checkout to v4 (#761) 2023-11-08 11:16:06 +01:00
Simon Willison
8d2896179a
Examples now use checkout@v4 (#738) 2023-11-08 10:25:26 +01:00
Christian Clauss
7bc6abb01e
advanced-usage.md: Encourage the use actions/checkout@v4 (#729) 2023-11-08 09:52:55 +01:00
dependabot[bot]
e8111cec9d
Bump @babel/traverse from 7.9.0 to 7.23.2 (#743) 2023-10-26 13:33:26 +02:00
Dmitry Shibanov
a00ea43da6
add fix for graalpy ci (#741) 2023-10-16 11:57:32 +02:00
Jeff Widman
8635b1ccc5
Change deprecation comment to past tense (#723) 2023-10-16 11:19:29 +02:00
Jeff Widman
f6cc428f53
Use non-deprecated versions in examples (#724) 2023-10-16 11:01:43 +02:00
Tim Felgentreff
5f2af211d6
Add GraalPy support (#694)
* Add support for graalpy

* add graalpy test workflow

* format, lint and build

* symlink graalpy binaries names

* fix macos names for graalpy

* Don't attempt to update pip for graalpy

* Remove test schedule

* Extract common getBinaryDirectory function for PyPy and GraalPy

* Clean up and format

* Pass GitHub token to GraalPy queries

* Utilize pagination when querying GraalPy GitHub releases

* Build

* Fix lint errors

* Deal with possible multiple artifacts for a single releases

* Skip few GraalPy tests on windows - we don't have a windows release yet

* Fix GraalPy test on Mac OS

* Build

* Skip one more GraalPy test on windows

---------

Co-authored-by: Michael Simacek <michael.simacek@oracle.com>
2023-10-10 14:59:54 +02:00
Ferran Parés
3467d92d48
Trim python version to get rid of '\n' (#628) 2023-10-06 12:34:33 +02:00
Dmitry Shibanov
65d7f2d534
Add range validation for toml files (#726) 2023-09-07 15:45:09 +02:00
dependabot[bot]
f97b83114c
Bump word-wrap from 1.2.3 to 1.2.4 (#702)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-04 09:55:40 +02:00
Dimitri Papadopoulos Orfanos
61a6322f88
Fix typos found by codespell (#650) 2023-07-13 15:35:02 +02:00
dependabot[bot]
ea5b57fccc
Bump semver from 7.3.8 to 7.5.2 (#692) 2023-07-13 15:25:58 +02:00
dependabot[bot]
014d32a830
Bump tough-cookie and @azure/ms-rest-js (#697) 2023-07-13 15:02:04 +02:00
Dmitry Shibanov
c16c4b8d18
Fix pipenv jobs (#699) 2023-07-13 14:11:40 +02:00
Dario Curreri
0d5da6a89a
Read python version from pyproject.toml (fix #542) (#669) 2023-06-28 22:02:44 +02:00
Dmitry Shibanov
3f824b7ca6
remove python 2.7 from the tests (#687) 2023-06-19 13:20:44 +02:00
Dmitry Shibanov
bd6b4b6205
Add warning for python 2.7 (#673) 2023-05-24 14:37:35 +02:00
Marko Zivic
0cbcb9a3d7
Merge pull request #668 from akv-platform/disallow-implicit-dependencies
Remove implicit dependency
2023-05-23 12:48:06 +02:00
Nikolai Laevskii
669664dac1 Merge branch 'tool-config-auto-update' into disallow-implicit-dependencies 2023-05-23 10:33:18 +02:00
github-actions[bot]
9cbf792a3c Update configuration files 2023-05-23 08:23:56 +00:00