diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3aaaf7639..7a7643869 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,5 +19,8 @@ repos: - gitpython - pycurl - python-magic + # Pin jinja until we have a release of salt + # that handles the new jinja + - jinja2<3.1.0 - salt - tabulate diff --git a/python3_x64.sls b/python3_x64.sls index c4da58c54..79f9d567d 100644 --- a/python3_x64.sls +++ b/python3_x64.sls @@ -1,37 +1,66 @@ -{% set EXE_VERSIONS = [('3.9.4', '3.9.4150.0'), - ('3.9.3', '3.9.3150.0'), - ('3.9.2', '3.9.2150.0'), - ('3.9.1', '3.9.1150.0'), - ('3.9.0', '3.9.150.0'), - ('3.8.9', '3.8.9150.0'), - ('3.8.8', '3.8.8150.0'), - ('3.8.7', '3.8.7150.0'), - ('3.8.6', '3.8.6150.0'), - ('3.8.5', '3.8.5150.0'), - ('3.8.4', '3.8.4150.0'), - ('3.8.3', '3.8.3150.0'), - ('3.8.2', '3.8.2150.0'), - ('3.8.1', '3.8.1150.0'), - ('3.8.0', '3.8.150.0'), - ('3.7.4', '3.7.4150.0'), - ('3.7.3', '3.7.3150.0'), - ('3.7.2', '3.7.2150.0'), - ('3.7.1', '3.7.1150.0'), - ('3.7.0', '3.7.150.0'), - ('3.6.8', '3.6.8150.0'), - ('3.6.6', '3.6.6150.0'), - ('3.5.4', '3.5.4150.0'), - ('3.5.2', '3.5.2150.0'), - ('3.5.1', '3.5.1150.0')] %} -{% set MSI_VERSIONS = [('3.4.4', '3.4.16789'), - ('3.4.3', '3.4.3150'), - ('3.4.2', '3.4.2150'), - ('3.4.1', '3.4.1150'), - ('3.3.3', '3.3.3150')] %} +{% set EXE_VERSIONS = [ + ('3.10.4', '3.10.4150.0'), + ('3.10.3', '3.10.3150.0'), + ('3.10.2', '3.10.2150.0'), + ('3.10.1', '3.10.1150.0'), + ('3.9.12', '3.9.12150.0'), + ('3.9.11', '3.9.11150.0'), + ('3.9.10', '3.9.10150.0'), + ('3.9.9', '3.9.9150.0'), + ('3.9.8', '3.9.8150.0'), + ('3.9.7', '3.9.7150.0'), + ('3.9.6', '3.9.6150.0'), + ('3.9.5', '3.9.5150.0'), + ('3.9.4', '3.9.4150.0'), + ('3.9.3', '3.9.3150.0'), + ('3.9.2', '3.9.2150.0'), + ('3.9.1', '3.9.1150.0'), + ('3.9.0', '3.9.150.0'), + ('3.8.10', '3.8.10150.0'), + ('3.8.9', '3.8.9150.0'), + ('3.8.8', '3.8.8150.0'), + ('3.8.7', '3.8.7150.0'), + ('3.8.6', '3.8.6150.0'), + ('3.8.5', '3.8.5150.0'), + ('3.8.4', '3.8.4150.0'), + ('3.8.3', '3.8.3150.0'), + ('3.8.2', '3.8.2150.0'), + ('3.8.1', '3.8.1150.0'), + ('3.8.0', '3.8.150.0'), + ('3.7.9', '3.7.9150.0'), + ('3.7.8', '3.7.8150.0'), + ('3.7.7', '3.7.7150.0'), + ('3.7.6', '3.7.6150.0'), + ('3.7.5', '3.7.5150.0'), + ('3.7.4', '3.7.4150.0'), + ('3.7.3', '3.7.3150.0'), + ('3.7.2', '3.7.2150.0'), + ('3.7.1', '3.7.1150.0'), + ('3.7.0', '3.7.150.0'), + ('3.6.8', '3.6.8150.0'), + ('3.6.7', '3.6.7150.0'), + ('3.6.6', '3.6.6150.0'), + ('3.6.5', '3.6.5150.0'), + ('3.6.4', '3.6.4150.0'), + ('3.6.3', '3.6.3150.0'), + ('3.6.2', '3.6.2150.0'), + ('3.6.1', '3.6.1150.0'), + ('3.5.4', '3.5.4150.0'), + ('3.5.3', '3.5.3150.0'), + ('3.5.2', '3.5.2150.0'), + ('3.5.1', '3.5.1150.0'), +]%} +{% set MSI_VERSIONS = [ + ('3.4.4', '3.4.16789'), + ('3.4.3', '3.4.3150'), + ('3.4.2', '3.4.2150'), + ('3.4.1', '3.4.1150'), + ('3.3.3', '3.3.3150'), +]%} python3_x64: {% for VER, RAW_VER in EXE_VERSIONS %} '{{ RAW_VER }}': - full_name: 'Python {{ VER }} Core Interpreter (64-bit)' + full_name: 'Python {{ VER }} (64-bit)' installer: 'https://www.python.org/ftp/python/{{ VER }}/python-{{ VER }}-amd64.exe' install_flags: '/quiet InstallAllUsers=1' uninstaller: 'https://www.python.org/ftp/python/{{ VER }}/python-{{ VER }}-amd64.exe' @@ -42,7 +71,7 @@ python3_x64: {% endfor %} {% for VER, RAW_VER in MSI_VERSIONS %} '{{ RAW_VER }}': - full_name: 'Python {{ VER }} Core Interpreter (64-bit)' + full_name: 'Python {{ VER }} (64-bit)' installer: 'https://www.python.org/ftp/python/{{ VER }}/python-{{ VER }}.amd64.msi' install_flags: '/qn ALLUSERS=1 /norestart' uninstaller: 'https://www.python.org/ftp/python/{{ VER }}/python-{{ VER }}.amd64.msi' diff --git a/python3_x86.sls b/python3_x86.sls index fed1d2a0b..f95c34cc9 100644 --- a/python3_x86.sls +++ b/python3_x86.sls @@ -1,33 +1,62 @@ -{% set EXE_VERSIONS = [('3.9.4', '3.9.4150.0'), - ('3.9.3', '3.9.3150.0'), - ('3.9.2', '3.9.2150.0'), - ('3.9.1', '3.9.1150.0'), - ('3.9.0', '3.9.150.0'), - ('3.8.9', '3.8.9150.0'), - ('3.8.8', '3.8.8150.0'), - ('3.8.7', '3.8.7150.0'), - ('3.8.6', '3.8.6150.0'), - ('3.8.5', '3.8.5150.0'), - ('3.8.4', '3.8.4150.0'), - ('3.8.3', '3.8.3150.0'), - ('3.8.2', '3.8.2150.0'), - ('3.8.1', '3.8.1150.0'), - ('3.8.0', '3.8.150.0'), - ('3.7.4', '3.7.4150.0'), - ('3.7.3', '3.7.3150.0'), - ('3.7.2', '3.7.2150.0'), - ('3.7.1', '3.7.1150.0'), - ('3.7.0', '3.7.150.0'), - ('3.6.8', '3.6.8150.0'), - ('3.6.6', '3.6.6150.0'), - ('3.5.4', '3.5.4150.0'), - ('3.5.2', '3.5.2150.0'), - ('3.5.1', '3.5.1150.0')] %} -{% set MSI_VERSIONS = [('3.4.4', '3.4.16789'), - ('3.4.3', '3.4.3150'), - ('3.4.2', '3.4.2150'), - ('3.4.1', '3.4.1150'), - ('3.3.3', '3.3.3150')] %} +{% set EXE_VERSIONS = [ + ('3.10.4', '3.10.4150.0'), + ('3.10.3', '3.10.3150.0'), + ('3.10.2', '3.10.2150.0'), + ('3.10.1', '3.10.1150.0'), + ('3.9.12', '3.9.12150.0'), + ('3.9.11', '3.9.11150.0'), + ('3.9.10', '3.9.10150.0'), + ('3.9.9', '3.9.9150.0'), + ('3.9.8', '3.9.8150.0'), + ('3.9.7', '3.9.7150.0'), + ('3.9.6', '3.9.6150.0'), + ('3.9.5', '3.9.5150.0'), + ('3.9.4', '3.9.4150.0'), + ('3.9.3', '3.9.3150.0'), + ('3.9.2', '3.9.2150.0'), + ('3.9.1', '3.9.1150.0'), + ('3.9.0', '3.9.150.0'), + ('3.8.10', '3.8.10150.0'), + ('3.8.9', '3.8.9150.0'), + ('3.8.8', '3.8.8150.0'), + ('3.8.7', '3.8.7150.0'), + ('3.8.6', '3.8.6150.0'), + ('3.8.5', '3.8.5150.0'), + ('3.8.4', '3.8.4150.0'), + ('3.8.3', '3.8.3150.0'), + ('3.8.2', '3.8.2150.0'), + ('3.8.1', '3.8.1150.0'), + ('3.8.0', '3.8.150.0'), + ('3.7.9', '3.7.9150.0'), + ('3.7.8', '3.7.8150.0'), + ('3.7.7', '3.7.7150.0'), + ('3.7.6', '3.7.6150.0'), + ('3.7.5', '3.7.5150.0'), + ('3.7.4', '3.7.4150.0'), + ('3.7.3', '3.7.3150.0'), + ('3.7.2', '3.7.2150.0'), + ('3.7.1', '3.7.1150.0'), + ('3.7.0', '3.7.150.0'), + ('3.6.8', '3.6.8150.0'), + ('3.6.7', '3.6.7150.0'), + ('3.6.6', '3.6.6150.0'), + ('3.6.5', '3.6.5150.0'), + ('3.6.4', '3.6.4150.0'), + ('3.6.3', '3.6.3150.0'), + ('3.6.2', '3.6.2150.0'), + ('3.6.1', '3.6.1150.0'), + ('3.5.4', '3.5.4150.0'), + ('3.5.3', '3.5.3150.0'), + ('3.5.2', '3.5.2150.0'), + ('3.5.1', '3.5.1150.0'), +]%} +{% set MSI_VERSIONS = [ + ('3.4.4', '3.4.16789'), + ('3.4.3', '3.4.3150'), + ('3.4.2', '3.4.2150'), + ('3.4.1', '3.4.1150'), + ('3.3.3', '3.3.3150'), +]%} python3_x86: {% for VER, RAW_VER in EXE_VERSIONS %} '{{ RAW_VER }}':