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

73 commits

Author SHA1 Message Date
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
Patrick Arminio
415c3568c9
Reduce test matrix 2022-03-25 22:53:31 -05:00
Patrick Arminio
18c67b44e4
Initial preparation to add support for poetry 2022-03-25 22:53:30 -05:00
Brian Cristante
bbebfafece
Run CodeQL only on pushes to main 2022-03-24 09:48:15 -04:00
Dmitry Shibanov
0ebf233433
Remove legacy PyPy input (#342) 2022-02-28 10:19:48 +03:00
Dmitry Shibanov
93cb78f17b
Update to node16 (#340) 2022-02-25 12:31:18 +03:00
Dmitry Shibanov
dc9de69ff3
Update node-fetch from 2.6.6 to 2.6.7 (#327) 2022-02-01 14:17:23 +03:00
Dmitry Shibanov
156361d073
Fix ci for pipenv and reduce test matrix (#323) 2022-01-26 18:54:54 +03:00
Dmitry Shibanov
2b732b899c
Removing a non-existent command from the documentation (#293) 2021-12-13 18:51:02 +03:00
Dmitry Shibanov
0066b88440
Add a workflow to release a new version of the action (#274) 2021-11-17 15:52:32 +03:00