setup-python
setup-python copied to clipboard
Set up your GitHub Actions workflow with a specific version of Python
**Description:** When trying to pass the token input to reduce rate limit error, we are getting "Bad Credentials" error; using previous versions of the action it works, but using the...
**Description:** Using the `token` parameter for the Github Action, the token is not used. **Action version:** v4 **Platform:** - [x] Ubuntu **Runner type:** - [x] Self-hosted **Tools version:** 3.x **Repro...
### Description Last ran successfully at Oct 20 3:10AM PST with `windows-latest-8-core_4cf9d486f7a5` First failed at 10:04AM PST with `windows-latest-8-core_81fb0be27f50` Both with runner version `2.309.0` This workflow began failing this morning...
**Description:** Describe your changes. **Related issue:** Add link to the related issue. **Check list:** - [ ] Mark if documentation changes are required. - [ ] Mark if tests were...
### Description While running a [brand-new image](https://github.com/ezio-melotti/cherry-picker/actions/runs/7386618932/job/20093604056?pr=2), there are two `.dist-info` dirs for `pip`: ```console $ ls -l /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages drwxrwxrwx+ 5 runner runneradmin 4096 Dec 17 22:19 pip drwxrwxrwx+ 2...
**Description:** I have this: ```yaml runs-on: 'ubuntu-latest' steps: - uses: actions/setup-python@v5 with: python-version: '3.10' cache: 'pip' ``` Bumping `python-version` from `'3.10'` to `'3.12'`, I am now getting this error during...
**Description:** Would be great if an arbirary path to a virtual environment could be cached, instead of / in addition to the default `pip` and `pipenv` caching behaviours. **Justification:** Using...
Enhance reading from .python-version file, matching the Pyenv behavior: - resolves multiple versions from multiple lines - handles pyenv-virtualenv pointers (e.g. `3.10/envs/virtualenv`) (see pyenv/pyenv-virtualenv#472) - ignores empty lines and lines...
**Description:** Add optional with flags that allow users of the action to setup a pip.conf or pip.ini file with a private registry and credentials. Example usage: ``` - name: Set...
**Description:** On a self-hosted runner, the install script requires that the user starting the runner to be an admin (due to the `sudo` commands). **Action version:** 4 **Platform:** - [...