Skip to content

Commit 714163c

Browse files
author
Vladimir Safonkin
authored
Disable universal2 macOS builds (#175)
* Disable universal2 macOS builds * Debug * Disable universal build and tcl test
1 parent eaa180e commit 714163c

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

builders/macos-python-builder.psm1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ class macOSPythonBuilder : NixPythonBuilder {
5050
### will never be used itself by a Github Actions runner but using a universal2 Python is the only way to build
5151
### universal2 C extensions and wheels. This is supported by Python >= 3.10 and was backported to Python >=
5252
### 3.9.1 and >= 3.8.10.
53-
if ($this.Version -ge "3.8.10" -and $this.Version -ne "3.8.13" -and $this.Version -ne "3.9.0" ) {
54-
$configureString += " --enable-universalsdk --with-universal-archs=universal2"
55-
}
53+
### Disabled, discussion: https://github.com/actions/python-versions/pull/114
54+
# if ($this.Version -ge "3.8.10" -and $this.Version -ne "3.8.13" -and $this.Version -ne "3.9.0" ) {
55+
# $configureString += " --enable-universalsdk --with-universal-archs=universal2"
56+
# }
5657

5758
### OS X 10.11, Apple no longer provides header files for the deprecated system version of OpenSSL.
5859
### Solution is to install these libraries from a third-party package manager,

tests/python-tests.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ Describe "Tests" {
5050
}
5151

5252
# linux has no display name and no $DISPLAY environment variable - skip tk test
53-
if (-not (($Platform -match "ubuntu") -or ($Platform -match "linux"))) {
54-
It "Check if tcl/tk has the same headed and library versions" {
55-
"python ./sources/tcltk.py" | Should -ReturnZeroExitCode
56-
}
57-
}
53+
# if (-not (($Platform -match "ubuntu") -or ($Platform -match "linux"))) {
54+
# It "Check if tcl/tk has the same headed and library versions" {
55+
# "python ./sources/tcltk.py" | Should -ReturnZeroExitCode
56+
# }
57+
# }
5858

5959
if (($Version -ge "3.2.0") -and -not ([semver]"$($Version.Major).$($Version.Minor)" -eq [semver]"3.11" -and $Version.PreReleaseLabel)) {
6060
It "Check if sqlite3 module is installed" {

0 commit comments

Comments
 (0)