Repository navigation
Conversation
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.1.0 to 6.2.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@83679a8...a309ff8) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.2.0 to 6.3.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@a309ff8...ece7cb0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.3.0 to 7.0.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@ece7cb0...5fda3b9) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
dirkf
commented
Nov 1, 2026
dirkf
left a comment
Collaborator
Author
There was a problem hiding this comment.
Remove pip-install input of setup-python.
Collaborator
Author
There was a problem hiding this comment.
Suggested change
| $Version = $env:PYTHON_VERSION | |
| $PythonPath = $env:SETUP_PYTHON_PATH | |
| $Semver = $Version.Split('.') | |
| Write-Output "Setting up pip for python $Version in path $PythonPath" | |
| if (!($Semver[0] -like 'pypy*') -and ([int]$Semver[0] -eq 3 -and [int]$Semver[1] -lt 5)) { | |
| if ([int]$Semver[1] -gt 2) { | |
| Write-Output "Using get_pip.py..." | |
| $VersionNumber = $Semver[0] | |
| $Major = $Semver[1] | |
| $GetPipFile = New-TemporaryFile | |
| Invoke-WebRequest -Uri "https://bootstrap.pypa.io/pip/$VersionNumber.$Major/get-pip.py" -OutFile $GetPipFile | |
| Invoke-Expression -Command "$PythonPath $GetPipFile" | |
| Write-Output "Installing typing for old Python versions..." | |
| Invoke-Expression -Command "$PythonPath -m pip install typing" | |
| Remove-Item $GetPipFile | |
| if ([int]$Semver[1] -eq 4) { | |
| Invoke-Expression -Command "$PythonPath -m pip install --upgrade wheel setuptools" | |
| } | |
| } else { | |
| Write-Output "Pip is not available for version $Version" | |
| Write-Output "Proceed with manual installation at own risk" | |
| } | |
| } else { | |
| Write-Output "Using ensurepip..." | |
| Invoke-Expression -Command "$PythonPath -m ensurepip" | |
| Invoke-Expression -Command "$PythonPath -m pip install --upgrade pip" | |
| Write-Output "Installing wheel and setuptools..." | |
| Invoke-Expression -Command "$PythonPath -m pip install --upgrade wheel setuptools" | |
| } |
dirkf
commented
Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pip-installinput was removed from actions/setup-python (v7+)See actions/setup-python#1336 and associated issue.