Remove EOL Python code, set 3.9 as base, add 3.14 stdlib module (#317)

* Remove redundant Python 2 code

* Use Python 3.2 as base version

* Use Python 3.3 as base version

* Use Python 3.4 as base version

* Use Python 3.5 as base version

* Use Python 3.6 as base version

* Use Python 3.7 as base version

* Use Python 3.8 as base version

* Use Python 3.9 as base version

* Add annotationlib for Python 3.14

* Fix syntax error
This commit is contained in:
Hugo van Kemenade
2025-04-24 23:29:21 +03:00
committed by GitHub
parent 5c01d17435
commit d5e8ad6406
8 changed files with 39 additions and 155 deletions

View File

@@ -61,8 +61,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
}