Compare commits

...

2 Commits

Author SHA1 Message Date
Dmitry Shibanov
ab4e944c0f Add fixes for 3.7.17 (#233) 2023-06-08 15:24:29 +02:00
github-actions[bot]
7693cef346 Update versions-manifest (#228)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-05-25 16:09:27 +02:00
3 changed files with 69 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ class macOSPythonBuilder : NixPythonBuilder {
# For Python 3.7.2 and 3.7.3 we need to provide PATH for zlib to pack it properly. Otherwise the build will fail
# with the error: zipimport.ZipImportError: can't decompress data; zlib not available
if ($this.Version -eq "3.7.2" -or $this.Version -eq "3.7.3") {
if ($this.Version -eq "3.7.2" -or $this.Version -eq "3.7.3" -or $this.Version -eq "3.7.17") {
$env:LDFLAGS = "-L/usr/local/opt/zlib/lib"
$env:CFLAGS = "-I/usr/local/opt/zlib/include"
}

View File

@@ -248,6 +248,11 @@ if sys.version_info >= (3, 7):
'dataclasses',
])
if (sys.version_info.major, sys.version_info.minor, sys.version_info.micro) == (3, 7, 17):
standard_library.remove('bz2')
standard_library.remove('curses')
standard_library.remove('readline')
# 'macpath' module has been removed from Python 3.8
if sys.version_info > (3, 7):
standard_library.remove('macpath')

View File

@@ -1,9 +1,60 @@
[
{
"version": "3.12.0-beta.1",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.0-beta.1-5076755295",
"files": [
{
"filename": "python-3.12.0-beta.1-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.1-5076755295/python-3.12.0-beta.1-darwin-arm64.tar.gz"
},
{
"filename": "python-3.12.0-beta.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.1-5076755295/python-3.12.0-beta.1-darwin-x64.tar.gz"
},
{
"filename": "python-3.12.0-beta.1-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.12.0-beta.1-5076755295/python-3.12.0-beta.1-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.12.0-beta.1-linux-22.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "22.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.1-5076755295/python-3.12.0-beta.1-linux-22.04-x64.tar.gz"
},
{
"filename": "python-3.12.0-beta.1-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.1-5076755295/python-3.12.0-beta.1-win32-x64.zip"
},
{
"filename": "python-3.12.0-beta.1-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.1-5076755295/python-3.12.0-beta.1-win32-x86.zip"
}
]
},
{
"version": "3.12.0-alpha.7",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.0-alpha.7-4618531320",
"files": [
{
"filename": "python-3.12.0-alpha.7-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.7-4618531320/python-3.12.0-alpha.7-darwin-arm64.tar.gz"
},
{
"filename": "python-3.12.0-alpha.7-darwin-x64.tar.gz",
"arch": "x64",
@@ -319,6 +370,12 @@
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.3-4626642838",
"files": [
{
"filename": "python-3.11.3-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.3-4626642838/python-3.11.3-darwin-arm64.tar.gz"
},
{
"filename": "python-3.11.3-darwin-x64.tar.gz",
"arch": "x64",
@@ -1091,6 +1148,12 @@
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.11-4626646535",
"files": [
{
"filename": "python-3.10.11-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.11-4626646535/python-3.10.11-darwin-arm64.tar.gz"
},
{
"filename": "python-3.10.11-darwin-x64.tar.gz",
"arch": "x64",