diff --git a/builders/macos-python-builder.psm1 b/builders/macos-python-builder.psm1 index c437eff1..8eb44bd6 100644 --- a/builders/macos-python-builder.psm1 +++ b/builders/macos-python-builder.psm1 @@ -50,10 +50,6 @@ class macOSPythonBuilder : NixPythonBuilder { ### 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. - ### Disabled, discussion: https://github.com/actions/python-versions/pull/114 - # 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, diff --git a/builders/ubuntu-python-builder.psm1 b/builders/ubuntu-python-builder.psm1 index 35b159c5..d83b2bc5 100644 --- a/builders/ubuntu-python-builder.psm1 +++ b/builders/ubuntu-python-builder.psm1 @@ -53,8 +53,8 @@ class UbuntuPythonBuilder : NixPythonBuilder { Prepare system environment by installing dependencies and required packages. #> - if ($this.Version -lt "3.5.3") { - Write-Host "Python versions lower than 3.5.3 are not supported" + if ($this.Version -lt "3.9.0") { + Write-Host "Python versions lower than 3.9.0 are not supported" exit 1 } diff --git a/tests/sources/python-modules.py b/tests/sources/python-modules.py index 3b6873d2..8871d9ca 100644 --- a/tests/sources/python-modules.py +++ b/tests/sources/python-modules.py @@ -6,7 +6,7 @@ import importlib import sys -# The Python standard library as of Python 3.8 +# The Python standard library as of Python 3.9 standard_library = [ 'abc', 'aifc', @@ -51,7 +51,6 @@ 'dis', 'distutils', 'doctest', - 'dummy_threading', 'email', 'encodings', 'ensurepip', @@ -198,10 +197,6 @@ # Add new modules # See https://docs.python.org/3/whatsnew/index.html -# 'dummy_threading' module has been removed from Python 3.9 -if sys.version_info > (3, 8): - standard_library.remove('dummy_threading') - # 'symbol' and 'formatter' modules have been removed from Python 3.10 if sys.version_info >= (3, 10): standard_library.remove('symbol')