Compare commits

..

12 Commits

Author SHA1 Message Date
Mikhail Koliada
34c0e9a4d6 [macOS] fix 3.8.13 build (#172) 2022-06-20 16:09:51 +02:00
Mikhail Timofeev
bf3c64f950 Merge pull request #170 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 06/07/2022
2022-06-07 11:10:20 +04:00
Service account
f59a9522eb Update versions-manifest 2022-06-07 06:59:43 +00:00
github-actions[bot]
290229025b Update versions-manifest (#169)
Co-authored-by: Service account <no-reply@microsoft.com>
2022-06-06 14:29:55 +02:00
Vladimir Safonkin
5aad86b0d9 Merge pull request #167 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 06/02/2022
2022-06-02 20:52:19 +02:00
Vladimir Safonkin
52b4d85b8e Merge pull request #114 from bwoodsend/universal2
Compile in universal2 mode for macOS Python >= 3.9.1.
2022-06-02 16:28:49 +02:00
Service account
34e7ffccfb Update versions-manifest 2022-06-02 10:36:23 +00:00
Vladimir Safonkin
c3505cc6ce Merge pull request #166 from vsafonkin/v-vsafonkin/update-action-version
Bump setup-python action to v3 in the builder and test workflow.
2022-06-02 12:02:26 +02:00
Vladimir Safonkin
15394f2e9d Bump setup-python action to v3 2022-06-02 11:11:55 +02:00
Marko Zivic
22f110545c Merge pull request #165 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 06/02/2022
2022-06-02 10:07:33 +02:00
Service account
46959ea985 Update versions-manifest 2022-06-02 07:42:15 +00:00
bwoodsend
3c5fa6de18 Compile in universal2 mode for macOS Python >= 3.9.1.
Using `universal2` Python environments is currently the only way to build Python
wheels which support macOS M1.
2022-05-15 19:04:56 +01:00
5 changed files with 108 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ jobs:
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Setup Python ${{ env.VERSION }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ env.VERSION }}
architecture: ${{ matrix.arch }}

View File

@@ -18,7 +18,7 @@ jobs:
python: [3.5.4, 3.6.7, 3.7.5, 3.8.1]
steps:
- name: setup-python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}

View File

@@ -42,6 +42,14 @@ class macOSPythonBuilder : NixPythonBuilder {
$configureString += " --enable-shared"
$configureString += " --with-lto"
### For Python versions which support it, compile a universal2 (arm64 + x86_64 hybrid) build. The arm64 slice
### will never be used itself by a Github Actions runner but using a universal2 Python is the only way to build
### universal2 C extensions and wheels. This is supported by Python >= 3.10 and was backported to Python >=
### 3.9.1 and >= 3.8.10.
if ($this.Version -ge "3.8.10" -and $this.Version -ne "3.8.13" -and $this.Version -ne "3.9.0" ) {
$configureString += " --enable-universalsdk --with-universal-archs=universal2"
}
### OS X 10.11, Apple no longer provides header files for the deprecated system version of OpenSSL.
### Solution is to install these libraries from a third-party package manager,
### and then add the appropriate paths for the header and library files to configure command.
@@ -62,6 +70,9 @@ class macOSPythonBuilder : NixPythonBuilder {
$env:CPPFLAGS += "-I$(brew --prefix sqlite3)/include"
}
Write-Host "The passed configure options are: "
Write-Host $configureString
Execute-Command -Command $configureString
}
}

View File

@@ -48,6 +48,9 @@ class UbuntuPythonBuilder : NixPythonBuilder {
$configureString += " --enable-loadable-sqlite-extensions"
}
Write-Host "The passed configure options are: "
Write-Host $configureString
Execute-Command -Command $configureString
}

View File

@@ -1,4 +1,50 @@
[
{
"version": "3.11.0-beta.3",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.0-beta.3-2426427485",
"files": [
{
"filename": "python-3.11.0-beta.3-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-beta.3-2426427485/python-3.11.0-beta.3-darwin-x64.tar.gz"
},
{
"filename": "python-3.11.0-beta.3-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.11.0-beta.3-2426427485/python-3.11.0-beta.3-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.11.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.11.0-beta.3-2426427485/python-3.11.0-beta.3-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.11.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.11.0-beta.3-2426427485/python-3.11.0-beta.3-linux-22.04-x64.tar.gz"
},
{
"filename": "python-3.11.0-beta.3-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-beta.3-2426427485/python-3.11.0-beta.3-win32-x64.zip"
},
{
"filename": "python-3.11.0-beta.3-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-beta.3-2426427485/python-3.11.0-beta.3-win32-x86.zip"
}
]
},
{
"version": "3.11.0-beta.2",
"stable": false,
@@ -364,6 +410,52 @@
}
]
},
{
"version": "3.10.5",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.5-2452607758",
"files": [
{
"filename": "python-3.10.5-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.5-2452607758/python-3.10.5-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.5-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.5-2452607758/python-3.10.5-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.5-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.5-2452607758/python-3.10.5-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.10.5-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.10.5-2452607758/python-3.10.5-linux-22.04-x64.tar.gz"
},
{
"filename": "python-3.10.5-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.5-2452607758/python-3.10.5-win32-x64.zip"
},
{
"filename": "python-3.10.5-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.5-2452607758/python-3.10.5-win32-x86.zip"
}
]
},
{
"version": "3.10.4",
"stable": true,