mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 23:36:44 +00:00
Compare commits
2 Commits
3.12.0-bet
...
3.7.17-535
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c1cf5de988 | ||
|
|
5a451d6492 |
@@ -31,6 +31,14 @@ class macOSPythonBuilder : NixPythonBuilder {
|
|||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Prepare system environment by installing dependencies and required packages.
|
Prepare system environment by installing dependencies and required packages.
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
if ($this.Version -eq "3.7.17") {
|
||||||
|
# We have preinstalled ncurses and readLine on the hoster runners. But we need to install bzip2 for
|
||||||
|
# setting up an environemnt
|
||||||
|
# If we get any issues realted to ncurses or readline we can try to run this command
|
||||||
|
# brew install ncurses readline
|
||||||
|
Execute-Command -Command "brew install bzip2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[void] Configure() {
|
[void] Configure() {
|
||||||
@@ -74,7 +82,12 @@ class macOSPythonBuilder : NixPythonBuilder {
|
|||||||
|
|
||||||
if ($this.Version -gt "3.7.12") {
|
if ($this.Version -gt "3.7.12") {
|
||||||
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
|
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this.Version -eq "3.7.17") {
|
||||||
|
$env:LDFLAGS += " -L$(brew --prefix bzip2)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix ncurses)/lib"
|
||||||
|
$env:CFLAGS += " -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(brew --prefix ncurses)/include"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
### Compile with support of loadable sqlite extensions. Unavailable for Python 2.*
|
### Compile with support of loadable sqlite extensions. Unavailable for Python 2.*
|
||||||
|
|||||||
@@ -248,11 +248,6 @@ if sys.version_info >= (3, 7):
|
|||||||
'dataclasses',
|
'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
|
# 'macpath' module has been removed from Python 3.8
|
||||||
if sys.version_info > (3, 7):
|
if sys.version_info > (3, 7):
|
||||||
standard_library.remove('macpath')
|
standard_library.remove('macpath')
|
||||||
|
|||||||
@@ -1,4 +1,49 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"version": "3.12.0-beta.3",
|
||||||
|
"stable": false,
|
||||||
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.0-beta.3-5331639816",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "python-3.12.0-beta.3-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.3-5331639816/python-3.12.0-beta.3-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.12.0-beta.3-darwin-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.3-5331639816/python-3.12.0-beta.3-darwin-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.12.0-beta.3-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.3-5331639816/python-3.12.0-beta.3-linux-20.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.12.0-beta.3-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.3-5331639816/python-3.12.0-beta.3-linux-22.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.12.0-beta.3-win32-x64.zip",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.3-5331639816/python-3.12.0-beta.3-win32-x64.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.12.0-beta.3-win32-x86.zip",
|
||||||
|
"arch": "x86",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-beta.3-5331639816/python-3.12.0-beta.3-win32-x86.zip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "3.12.0-beta.2",
|
"version": "3.12.0-beta.2",
|
||||||
"stable": false,
|
"stable": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user