mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
7 Commits
3.0.1-8810
...
3.5.9-9018
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
650a155a9a | ||
|
|
28d23216d1 | ||
|
|
6468490367 | ||
|
|
4be9a4cca1 | ||
|
|
89a619f4b9 | ||
|
|
ac42875cb8 | ||
|
|
280f63ac35 |
@@ -7,7 +7,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
# We need this temporary step to have a consistent version of PowerShell on all images.
|
||||||
|
- task: PowerShell@2
|
||||||
|
displayName: 'Update PowerShell version for macOS'
|
||||||
|
condition: eq(variables['Platform'], 'darwin')
|
||||||
|
inputs:
|
||||||
|
TargetType: inline
|
||||||
|
script: |
|
||||||
|
brew update
|
||||||
|
brew cask upgrade powershell
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Build Python $(VERSION)'
|
displayName: 'Build Python $(VERSION)'
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ jobs:
|
|||||||
archiveFilePatterns: '$(Build.BinariesDirectory)/python-$(VERSION)-$(Platform)-$(Architecture).*'
|
archiveFilePatterns: '$(Build.BinariesDirectory)/python-$(VERSION)-$(Platform)-$(Architecture).*'
|
||||||
destinationFolder: $(Build.BinariesDirectory)
|
destinationFolder: $(Build.BinariesDirectory)
|
||||||
cleanDestinationFolder: false
|
cleanDestinationFolder: false
|
||||||
|
overwriteExistingFiles: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Apply build artifact to the local machines'
|
displayName: 'Apply build artifact to the local machines'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using module "./builders/win-python-builder.psm1"
|
using module "./win-python-builder.psm1"
|
||||||
using module "./builders/ubuntu-python-builder.psm1"
|
using module "./ubuntu-python-builder.psm1"
|
||||||
using module "./builders/macos-python-builder.psm1"
|
using module "./macos-python-builder.psm1"
|
||||||
|
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using module "./builders/nix-python-builder.psm1"
|
using module "./nix-python-builder.psm1"
|
||||||
|
|
||||||
class macOSPythonBuilder : NixPythonBuilder {
|
class macOSPythonBuilder : NixPythonBuilder {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using module "./builders/python-builder.psm1"
|
using module "./python-builder.psm1"
|
||||||
|
|
||||||
class NixPythonBuilder : PythonBuilder {
|
class NixPythonBuilder : PythonBuilder {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using module "./builders/nix-python-builder.psm1"
|
using module "./nix-python-builder.psm1"
|
||||||
|
|
||||||
class UbuntuPythonBuilder : NixPythonBuilder {
|
class UbuntuPythonBuilder : NixPythonBuilder {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using module "./builders/python-builder.psm1"
|
using module "./python-builder.psm1"
|
||||||
|
|
||||||
class WinPythonBuilder : PythonBuilder {
|
class WinPythonBuilder : PythonBuilder {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import distutils.sysconfig
|
import distutils.sysconfig
|
||||||
from distutils.version import StrictVersion
|
from distutils.version import LooseVersion
|
||||||
import sysconfig
|
import sysconfig
|
||||||
import sys
|
import sys
|
||||||
import platform
|
import platform
|
||||||
@@ -43,7 +43,7 @@ else:
|
|||||||
### Validate macOS
|
### Validate macOS
|
||||||
if os_type == 'Darwin':
|
if os_type == 'Darwin':
|
||||||
### Validate openssl links
|
### Validate openssl links
|
||||||
if StrictVersion(nativeVersion) < StrictVersion("3.7.0"):
|
if LooseVersion(nativeVersion) < LooseVersion("3.7.0"):
|
||||||
expected_ldflags = '-L/usr/local/opt/openssl@1.1/lib'
|
expected_ldflags = '-L/usr/local/opt/openssl@1.1/lib'
|
||||||
ldflags = sysconfig.get_config_var('LDFLAGS')
|
ldflags = sysconfig.get_config_var('LDFLAGS')
|
||||||
|
|
||||||
|
|||||||
@@ -1232,19 +1232,19 @@
|
|||||||
{
|
{
|
||||||
"version": "3.4.4",
|
"version": "3.4.4",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.4.4-87823",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.4.4-88098",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.4.4-win32-x64.zip",
|
"filename": "python-3.4.4-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.4.4-87823/python-3.4.4-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.4.4-88098/python-3.4.4-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.4.4-win32-x86.zip",
|
"filename": "python-3.4.4-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.4.4-87823/python-3.4.4-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.4.4-88098/python-3.4.4-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -1265,76 +1265,76 @@
|
|||||||
{
|
{
|
||||||
"version": "3.3.5",
|
"version": "3.3.5",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.3.5-87822",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.3.5-88104",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.3.5-win32-x64.zip",
|
"filename": "python-3.3.5-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.3.5-87822/python-3.3.5-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.3.5-88104/python-3.3.5-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.3.5-win32-x86.zip",
|
"filename": "python-3.3.5-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.3.5-87822/python-3.3.5-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.3.5-88104/python-3.3.5-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "3.2.5",
|
"version": "3.2.5",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.2.5-87821",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.2.5-88105",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.2.5-win32-x64.zip",
|
"filename": "python-3.2.5-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.2.5-87821/python-3.2.5-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.2.5-88105/python-3.2.5-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.2.5-win32-x86.zip",
|
"filename": "python-3.2.5-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.2.5-87821/python-3.2.5-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.2.5-88105/python-3.2.5-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "3.1.4",
|
"version": "3.1.4",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.1.4-87820",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.1.4-88106",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.1.4-win32-x64.zip",
|
"filename": "python-3.1.4-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.1.4-87820/python-3.1.4-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.1.4-88106/python-3.1.4-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.1.4-win32-x86.zip",
|
"filename": "python-3.1.4-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.1.4-87820/python-3.1.4-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.1.4-88106/python-3.1.4-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "3.0.1",
|
"version": "3.0.1",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.0.1-87819",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.0.1-88107",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.0.1-win32-x64.zip",
|
"filename": "python-3.0.1-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.0.1-87819/python-3.0.1-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.0.1-88107/python-3.0.1-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.0.1-win32-x86.zip",
|
"filename": "python-3.0.1-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.0.1-87819/python-3.0.1-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.0.1-88107/python-3.0.1-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user