From 6c0f7fb33010f5e6c06d346bc2c791289399d28a Mon Sep 17 00:00:00 2001 From: Federico Jaureguialzo Date: Mon, 22 Dec 2025 22:47:54 +0100 Subject: [PATCH] Upgrade python versions --- CHANGELOG.md | 2 ++ docs/configuration/index.md | 8 ++++---- playbooks/macos.yml | 3 ++- roles/pyenv/README.md | 2 +- roles/pyenv/defaults/main.yml | 8 ++++---- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0ab9c2f..c0d9d7ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Python default versions instaled with pyenv to (`3.11`, `3.12`, `3.13`, `3.14`). ## [1.4.0] - 2025-05-31 ### Added diff --git a/docs/configuration/index.md b/docs/configuration/index.md index a98033bf..f1bb14e0 100644 --- a/docs/configuration/index.md +++ b/docs/configuration/index.md @@ -315,10 +315,10 @@ a `.config.yml` file and setting the overrides in that file. e.g.: - inkscape pyenv_python_versions: - - 3.10.16 - - 3.11.11 - - 3.12.8 - - 3.13.1 + - 3.11.14 + - 3.12.12 + - 3.13.11 + - 3.14.2 ``` !!! tip "Advanced Role Configuration" diff --git a/playbooks/macos.yml b/playbooks/macos.yml index 9f47565c..86965d65 100644 --- a/playbooks/macos.yml +++ b/playbooks/macos.yml @@ -26,7 +26,8 @@ environment: # Fix first run path PATH: "{{ homebrew_brew_bin_path }}:{{ homebrew_brew_sbin_path }}:/usr/local/bin:{{ ansible_env.PATH }}" - when: mas_installed_apps or mas_installed_app_ids + when: (mas_installed_apps | default([]) | length > 0) or + (mas_installed_app_ids | default([]) | length > 0) tags: ['mas'] - role: geerlingguy.mac.dock environment: diff --git a/roles/pyenv/README.md b/roles/pyenv/README.md index ae339786..4fe49a21 100644 --- a/roles/pyenv/README.md +++ b/roles/pyenv/README.md @@ -16,7 +16,7 @@ This role provides several variables for configuration. Below are the key variab - `pyenv_root`: (Default: `"{{ ansible_env.HOME }}/.pyenv"`) The directory where pyenv will be installed. -- `pyenv_python_versions`: (Default: `[3.10, 3.11, 3.12, 3.13]`) +- `pyenv_python_versions`: (Default: `[3.11, 3.12, 3.13, 3.14]`) A list of Python versions to be installed by pyenv. - `pyenv_update`: (Default: `false`) diff --git a/roles/pyenv/defaults/main.yml b/roles/pyenv/defaults/main.yml index b14c7449..7a1947ff 100644 --- a/roles/pyenv/defaults/main.yml +++ b/roles/pyenv/defaults/main.yml @@ -2,10 +2,10 @@ pyenv_root: "{{ ansible_env.HOME }}/.pyenv" pyenv_python_versions: - - 3.10.16 - - 3.11.11 - - 3.12.8 - - 3.13.1 + - 3.11.14 + - 3.12.12 + - 3.13.11 + - 3.14.2 pyenv_update: false