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

153 Commits

Author SHA1 Message Date
Konrad Pabjan
70e2063f71
Update test-python.yml (#246) 2021-09-29 11:05:36 -04:00
Brian Cristante
2d803e7fea
Create check-dist.yml (#236)
* Add check-dist.yml

* Fix triggers in licensed.yml
2021-08-25 11:47:15 -04:00
Konrad Pabjan
43c2dc443f
Recommendations for Python on GHES (#219)
* Recommendations for Python on GHES

* Update README.md

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2021-06-24 22:50:36 +02:00
Alena Sviridenko
dc73133d4d
Fix PyPy installation on Windows to adopt new parameters format (#201)
* test for pypy new version notation

* formatting

* uncommented condition

* test

* added pypy to test matrix

* test

* test

* restored all tests

* removed logs, added multiarch support for toolcache

* reduced test matrix

* removed extra condition about arch
2021-04-12 13:59:38 -04:00
Robin Neatherway
a1121449a2
Add on: pull_request trigger to CodeQL workflow (#180)
From February 2021, in order to provide feedback on pull requests, Code Scanning workflows must be configured with both `push` and `pull_request` triggers. This is because Code Scanning compares the results from a pull request against the results for the base branch to tell you only what has changed between the two.

Early in the beta period we supported displaying results on pull requests for workflows with only `push` triggers, but have discontinued support as this proved to be less robust.

See https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#scanning-pull-requests for more information on how best to configure your Code Scanning workflows.
2021-01-15 12:20:02 +01:00
Adam J. Stewart
66319ca9fa
Use quotes around Python versions in README (#175) 2021-01-04 11:14:24 +01:00
Dmitry Shibanov
3105fb18c0
fix is_windows (#172) 2020-12-18 15:05:24 +01:00
Dmitry Shibanov
8c5ea631b2
Adding support for more PyPy versions and installing them on-flight (#168)
* add support to install pypy

* resolved comments, update readme, add e2e tests.

* resolve throw error

* Add pypy unit tests to cover code

* add tests

* Update test-pypy.yml

* Update test-python.yml

* Update test-python.yml

* Update README.md

* fixing tests

* change order

Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>

* add pypy tests and fix issue with pypy-3-nightly

Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
2020-12-17 16:03:54 +01:00
Nikita Bykov
2831efe49a
Improve find-python to add "Scripts" folder to PATH on Windows machines (#169)
* added 'Scripts' folder to PATH on Windows

* add release code

* update index.js

* rebuild index.js

* remove duplicate block

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
Co-authored-by: Dmitry Shibanov <dmitry-shibanov@github.com>
2020-12-17 16:02:13 +01:00
Maxim Lobanov
3b3f2de1b1
update pypy3 to point to 3.6 (#164) 2020-12-07 16:59:14 -05:00
Brian Cristante
723e46dad7
CODEOWNERS needs the org name for teams 2020-12-07 15:56:31 -05:00
Brian Cristante
195f5c388b
Create CODEOWNERS 2020-11-25 16:04:11 -05:00
Prince
41b7212b16
Update README.md (#145) 2020-10-14 11:59:10 +02:00
Peter Mescalchin
878156f1de
Inject LD_LIBRARY_PATH library path into Python manifest install and setup (#144)
* Adding LD_LIBRARY_PATH env var to both setup and install tasks

* Rebuild dist/index.js

* Fixed some typos in contributors.md Markdown
2020-10-05 14:51:21 +02:00
Thomas Boop
c181ffa198
Add Environment Files (#138) 2020-09-30 15:45:43 +02:00
per1234
1ce870e10f
Fix links in documentation (#135)
The "Software installed on GitHub-hosted runners" link was broken.

The other changed links were redirecting from moved pages.
2020-09-24 00:28:07 +02:00
Thomas Boop
b9436a7e86
Add Licensed To Help Verify Prod Licenses (#128)
* Add Licensed Workflow and config

* manual validation of dependencies

* Ignore Generated Files in Git PR's

* update contributing.md
2020-09-23 23:22:43 +02:00
Daniel
51d2bf1911
Fix minor typo (#130) 2020-08-31 15:45:09 +02:00
jamielaux
24156c231c
fix: small typo in the docs (#127) 2020-08-11 15:47:33 +02:00
Thomas Boop
212e83ff58
Add Third Party Modules (#126) 2020-08-10 18:22:14 +02:00
Nikita Bykov
0c28554988
Fix path of extracted folder for Python (#118)
* fixed path for pythonExtractedFolder

* build on node v12

* updated index.js

* removed fileName variable

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2020-07-20 19:29:05 +03:00
dependabot[bot]
7010ec794f
Bump lodash from 4.17.15 to 4.17.19 (#116)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 12:06:59 +02:00
MaksimZhukov
306c473438
Add support of pre-release Python versions (#112)
* Add support of unstable Python versions

* Update README

* Get rid of stable boolean input

* Fix typo in the test.yml

* Update README

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2020-07-17 11:58:03 +02:00
Konrad Pabjan
7a69c2bc7d
Improved logging during setup (#113)
* Improved error output during setup

* Change from debug to info for normal output

* Apply suggestions from code review

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2020-07-15 19:13:43 +02:00
Konrad Pabjan
654aa00a6e
Update README.md 2020-07-15 11:28:54 +02:00
Maxim Lobanov
6f45e887f6
update MANIFEST_URL (#111) 2020-07-15 11:26:28 +02:00
Konrad Pabjan
2989dc4a1a
Update workflow.yml 2020-07-14 16:05:12 +02:00
Konrad Pabjan
a0a76c4ddb
Update test.yml 2020-07-14 16:04:57 +02:00
ferhat elmas
2241d846ba
Fix matrix value for non-default py version example (#100) 2020-06-19 15:49:00 +02:00
Konrad Pabjan
807b74f98c 2.0.1 2020-05-21 13:18:04 +02:00
Konrad Pabjan
5230712b36 Update issue templates 2020-05-21 13:06:50 +02:00
Konrad Pabjan
4dda7a3aa1
Support for GHES (#95) 2020-05-20 15:35:09 +02:00
Konrad Pabjan
9f521e1bf4 Add bug issue template 2020-05-20 14:32:55 +02:00
Konrad Pabjan
ee653cd47f
Updated self-hosted guidelines for Linux and Mac (#90)
* Updated self-hosted guidelines

* Apply suggestions from code review

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

* PR Feedback

* Apply suggestions from code review

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2020-05-11 15:15:31 +02:00
Konrad Pabjan
c23f4218be
Create codeql-analysis.yml 2020-05-08 12:42:28 +02:00
Konrad Pabjan
f129643215
Update README.md 2020-05-04 12:03:11 +02:00
Konrad Pabjan
6cbb9cfdfd
Improve workflows (#88)
* Improve workflows

* Update workflows

* Small fix
2020-05-01 18:52:58 +02:00
Konrad Pabjan
6c4e46d258
Update from v1 to v2 2020-04-30 11:57:41 +02:00
Konrad Pabjan
824e8a7e12
Add what's new section 2020-04-30 11:54:06 +02:00
Konrad Pabjan
8910d815ad
Update README.md 2020-04-30 11:17:58 +02:00
MaksimZhukov
e5af64b2df
Use GitHub releases to download python versions (#85)
This pull-request improves `setup-python` action to add ability to download specific version of Python on flight if it is not available by default.

**Details:**
`setup-python` action will download and install specific Python version from GitHub releases ([actions/python-versions](https://github.com/actions/python-versions/releases)) in case the version is not found in the local cache. All versions of Python available for installation are published in [actions/python-versions](https://github.com/actions/python-versions) repository.
All available versions are listed in the [version-manifest.json](https://github.com/actions/python-versions/blob/master/versions-manifest.json) file.

**Installation time:**

- Ubuntu / macOS: 10-20 seconds
- Windows: ~ 1 minute (mostly related to fact that we use MSI installer for Python on Windows)

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2020-04-29 20:57:02 +03:00
Konrad Pabjan
985150d1f6
Merge pull request #80 from SerVB/clarify-contrib-doc
Make contributors.md clearer
2020-04-17 11:53:29 +02:00
Sergei Bulgakov
c881de7f35
Use shorter command
Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
2020-04-16 22:30:26 +03:00
SerVB
b7d744ca11 Make contributors.md clearer 2020-04-14 15:54:39 +03:00
Konrad Pabjan
4ff1108c39
Update NPM packages (#75)
* Update NPM packages

* Format using prettier

* Update node version in workflow

* Add .gitattributes
2020-03-26 16:39:48 +01:00
Konrad Pabjan
a93e9d979a
Merge pull request #73 from actions/dependabot/npm_and_yarn/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4
2020-03-19 16:17:00 +01:00
dependabot[bot]
b67fc24ab8
Bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-16 11:17:33 +00:00
Konrad Pabjan
9ac730844c
Update action.yml 2020-03-09 10:34:49 +01:00
Konrad Pabjan
c4000d2828
Update action.yml 2020-03-09 10:31:20 +01:00
Konrad Pabjan
5d7d800988
Merge branch 'releases/v1' into master 2020-03-09 10:29:14 +01:00