Compare commits

...

3 Commits

Author SHA1 Message Date
MaksimZhukov
5c48eb00d0 Merge pull request #76 from dmitry-shibanov/v-dmshib/fix-warning-location
Add flag to skip warnings location of pip
2021-01-13 10:54:39 +03:00
Dmitry Shibanov
f102cb2a16 add flag to skip warnings of location of pip 2021-01-11 11:29:39 +03:00
github-actions[bot]
dc6698e2f1 Update versions-manifest (#74)
Co-authored-by: Service account <no-reply@microsoft.com>
2021-01-06 12:04:57 +03:00
3 changed files with 48 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR pyth
echo "Upgrading PIP..."
./python -m ensurepip
./python -m pip install --ignore-installed pip
./python -m pip install --ignore-installed pip --no-warn-script-location
echo "Create complete file"
touch $PYTHON_TOOLCACHE_VERSION_PATH/x64.complete

View File

@@ -123,7 +123,7 @@ if ($LASTEXITCODE -ne 0) {
Write-Host "Install and upgrade Pip"
$PythonExePath = Join-Path -Path $PythonArchPath -ChildPath "python.exe"
cmd.exe /c "$PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade pip"
cmd.exe /c "$PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade pip --no-warn-script-location"
Write-Host "Create complete file"
New-Item -ItemType File -Path $PythonVersionPath -Name "$Architecture.complete" | Out-Null

View File

@@ -1,4 +1,50 @@
[
{
"version": "3.10.0-alpha.4",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.0-alpha.4-94572",
"files": [
{
"filename": "python-3.10.0-alpha.4-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.4-94572/python-3.10.0-alpha.4-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.0-alpha.4-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.4-94572/python-3.10.0-alpha.4-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-alpha.4-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.4-94572/python-3.10.0-alpha.4-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-alpha.4-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.4-94572/python-3.10.0-alpha.4-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-alpha.4-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.4-94572/python-3.10.0-alpha.4-win32-x64.zip"
},
{
"filename": "python-3.10.0-alpha.4-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.4-94572/python-3.10.0-alpha.4-win32-x86.zip"
}
]
},
{
"version": "3.10.0-alpha.3",
"stable": false,