1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-25 09:58:36 +00:00
Commit graph

82 commits

Author SHA1 Message Date
Felix Seifert
04a4441b05
ci: remove prerelease version 2024-10-10 10:18:43 +02:00
Felix Seifert
ec7d9fbc17
ci: add usage of Python version 3.13 2024-10-10 10:18:35 +02:00
Joel Ambass
3226af69c0
Upgrade IA publish 2024-09-16 17:18:49 +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
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
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
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
Dmitry Shibanov
0a5c615913
Update action to node20 (#772) 2023-12-05 14:52:09 +01:00
Dmitry Shibanov
b64ffcaf5b
update actions/checkout to v4 (#761) 2023-11-08 11:16:06 +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
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
Dmitry Shibanov
65d7f2d534
Add range validation for toml files (#726) 2023-09-07 15:45:09 +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
d1244c8404
Remove ubuntu-18.04 from e2e (#641) 2023-04-04 16:18:24 +02:00
IvanZosimov
0ffa49cfca Add update-config-files.yml 2023-03-09 11:47:39 +01:00
Ivan
ec365b4eba
Add and configure ESLint and update configuration for Prettier (#617)
* Add ESLint, update Prettier

* Update docs

* Update tests

* Update licenses

* Fix review points
2023-03-09 12:44:56 +02:00
Matthieu Darbois
2652534ead
feature: fallback to pre-release when no stable version is found (#414)
This allows to specify version like `3.11` or `pypy3.10` in workflows before those versions are released.
This lessen the burden for users of `setup-python` by not having to modify their workflow twice: once when a pre-release is available (e.g. `3.11-dev`) and once when the first stable release is published (e.g. `3.11`)
2023-01-27 16:19:31 -05:00
MaksimZhukov
f60fe39c45
Update release-new-action-version.yml (#584) 2023-01-12 13:52:32 +01:00
Dmitry Shibanov
5ccb29d877
Install multiple python versions (#567) 2022-12-22 13:02:09 +01:00
Ivan
c3e033939c
Update action to use reusable workflows (#569)
* Update workflows to use reusable-workflows

* Update licensed.yml

* Update workflows

* Add links to reusable workflows

* Update action to use reusable-workflows repo

* Fix review points
2022-12-22 11:17:13 +02:00
James M. Greene
b80efd6bc5
Update to latest actions/publish-action (#546)
To avoid Actions core deprecation messages.

https://github.com/actions/publish-action/releases/tag/v0.2.1
2022-11-24 12:14:51 +01:00
Matthieu Darbois
47c4a7af1d
fix(ci): run .github/workflows/workflow.yml on ubuntu-20.04 (#535) 2022-11-07 13:10:21 +01:00
Dmitry Shibanov
2f06e9da25
Add check-latest functionality (#406) 2022-07-25 16:54:04 +02:00
Dmitry Shibanov
49a521fa06
Fix poetry version (#445) 2022-07-25 15:02:06 +02:00
Sven Serlier
b318cecd93
Update actions/checkout to v3 2022-07-03 20:15:21 +02:00
Sven Serlier
4a7ca55b40
Update actions 2022-07-03 20:14:29 +02:00
Sven Serlier
d08a9d79f1
Update actions 2022-07-03 20:13:56 +02:00
Sven Serlier
7d9c63da1b
Update actions/checkout to v3 2022-07-03 20:13:21 +02:00
Sven Serlier
5a1dd6b34d
Update actions 2022-07-03 20:11:27 +02:00
Sven Serlier
f4b85ae24e
Update actions 2022-07-03 20:10:08 +02:00
Dmitry Shibanov
d7db8259d9 update pypy versions 2022-06-29 23:41:39 +02:00
Dmitry Shibanov
27091d50ca minor fix 2022-06-29 20:38:02 +02:00
Dmitry Shibanov
d358f9e3d7 fix check 2022-06-29 20:28:20 +02:00
Dmitry Shibanov
1e52de40a4 fixing pipenv 2022-06-29 20:16:07 +02:00
Dmitry Shibanov
2a20d9b5e0 add --python 3 2022-06-29 19:36:35 +02:00
Dmitry Shibanov
766e8c6088
Fixing pipenv CI (#444)
* work on fixing pipenv

* change installation of pipenv to curl

* add different logs

* regenerate pipefile.lock

* change pipenv ci
2022-06-29 13:09:14 -04:00
Matthieu Darbois
00a5248c77
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).
2022-06-29 11:00:51 -04:00
Matthieu Darbois
d09bd5e600
fix: 3.x-dev can install a 3.y version (#417)
* fix: 3.x-dev can install a 3.y version

* Update README section for `-dev`
2022-06-08 14:58:05 +02:00
Andrew DiLosa
53e15292cd
add support for python-version-file (#336)
* add support for python-version-file

* Update action.yml

* update to v4, remove python-version default

* python-version overrides python-version-file, like setup-node
* checks '.python-version' by default if nothing else specified

* update tests, update to checkout@v3

* update build

* appease the linter

* remove old test for default python version

* revert readme changes

* update build
2022-06-02 16:37:57 +02:00
Vladimir Safonkin
22c6af91ce Change PyPy version to rebuild cache 2022-05-30 15:02:04 +02:00
mayeut
ff706563d7
feature: add a python-path output
Expose a `python-path` output containing the chosen Python executable path.
2022-05-24 21:02:03 +02:00
Matthieu Darbois
fff15a21cc
Use pypyX.Y for PyPy python-version input (#349)
This versioning scheme is consistent with other
tools in the python ecosystem so it feels more natural
and allows better interaction with other tools.

fixes #346
2022-05-18 15:20:53 +02:00
Matthieu Darbois
1ce308808a
Create missing pypyX.Y symlinks (#347)
`pypyX.Y.exe` executables are missing from PyPy archives on Windows before v7.3.9 (X.Y < 3.9)
`pypy2.7` symlinks are also missing from macOS/Linux PyPy archives before v7.3.9

relates to #346
2022-04-28 09:26:17 -04:00
Oscar Dominguez
5d6f0c8a87
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#379) 2022-04-07 12:16:24 +02:00
Vladimir Safonkin
7885ec3539 Rework pipenv caching test (#375)
* Rework python-pipenv-dependencies-caching test

* Update Pipfile.lock hash in the tests

* Rework python-pipenv-dependencies-caching-path test

* Set location for pipenv test

* Remove requests package from tests

* Test pipenv without caching

* Enable pipenv cache
2022-04-04 09:12:24 -04:00
Brian Cristante
6c566026c0
Merge pull request #281 from patrick91/feature/poetry-caching
Add poetry caching support
2022-03-31 13:27:09 -04:00
Patrick Arminio
e4be7a40b0
Initialise pyproject.toml 2022-03-28 13:42:47 -05:00