Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 9dd285f

Browse files
authored
Merge pull request #253 from staticdev/feature/update-defaults-py312
Update defaults py3.12
2 parents f238dc2 + 3588dbc commit 9dd285f

File tree

4 files changed

+30
-27
lines changed

4 files changed

+30
-27
lines changed

README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Here is the list of all variables and their default values:
2828
- `pyenvrc_path: "{{ pyenv_path }}"`
2929
- `pyenv_owner: "{{ ansible_facts.user_id }}"`
3030
- `pyenv_owner_group: "{{ pyenv_owner }}"`
31-
- `pyenv_python_versions: [3.11.4]`
32-
- `pyenv_virtualenvs: [{ venv_name: latest, py_version: 3.11.4 }]`
33-
- `pyenv_global: [3.11.4]`
31+
- `pyenv_python_versions: [3.12.1]`
32+
- `pyenv_virtualenvs: [{ venv_name: latest, py_version: 3.12.1 }]`
33+
- `pyenv_global: [3.12.1]`
3434
- `pyenv_update_git_install: true` (get latest pyenv from git)
3535
- `pyenv_enable_autocompletion: false`
3636
- `pyenv_enable_virtualenvs: true`
@@ -68,25 +68,28 @@ None.
6868
roles:
6969
- role: staticdev.pyenv
7070
vars:
71-
pyenv_version: "v2.3.9"
72-
pyenv_virtualenv_version: "v1.1.5"
73-
pyenv_update_version: "810db78"
71+
# from https://github.com/pyenv/pyenv/releases
72+
pyenv_version: "v2.3.35"
73+
# from https://github.com/pyenv/pyenv-virtualenv/releases
74+
pyenv_virtualenv_version: "v1.2.1"
75+
# from https://github.com/pyenv/pyenv-update/commits/master/
76+
pyenv_update_version: "172a0ed"
7477
pyenv_shellrc_file: "{{ ansible_env.HOME }}/.shrc"
7578
pyenv_path: "{{ ansible_env.HOME }}/.pyenv"
7679
pyenvrc_path: "{{ ansible_env.HOME }}"
7780
pyenv_owner: "{{ instance_owner }}"
7881
pyenv_global:
79-
- 3.11.4
80-
- 3.10.12
82+
- 3.12.1
83+
- 3.11.7
8184
pyenv_enable_autocompletion: false
8285
pyenv_python_versions:
83-
- 3.11.4
84-
- 3.10.12
86+
- 3.12.1
87+
- 3.11.7
8588
pyenv_virtualenvs:
89+
- venv_name: latest_v312
90+
py_version: 3.12.1
8691
- venv_name: latest_v311
87-
py_version: 3.11.4
88-
- venv_name: latest_v310
89-
py_version: 3.10.12
92+
py_version: 3.11.7
9093
pyenv_make_opts: "-j4"
9194
pyenv_python_configure_opts: "--enable-optimizations --with-lto --with-ensurepip=upgrade"
9295
pyenv_python_cflags: "-march=native -mtune=native"

defaults/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ pyenv_update_git_install: true
1313
pyenv_enable_autocompletion: false
1414
pyenv_enable_virtualenvs: true
1515
pyenv_python_versions:
16-
- 3.11.4
16+
- 3.12.1
1717
pyenv_global:
18-
- 3.11.4
18+
- 3.12.1
1919
pyenv_virtualenvs:
2020
[]
21-
# - { venv_name: "latest", py_version: "3.11.4" }
21+
# - { venv_name: "latest", py_version: "3.12.1" }
2222
# For a system install, the shims dir will not be writable by users, disable rehashing
2323
pyenv_init_options: "{% if pyenv_env != 'user' %}--no-rehash{% endif %}"
2424

molecule/default/converge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
ansible.builtin.include_role:
99
name: "staticdev.pyenv"
1010
vars:
11-
pyenv_version: "v2.3.20"
11+
pyenv_version: "v2.3.35"
1212
pyenv_virtualenv_version: "v1.2.1"
13-
pyenv_update_version: "38ac747"
13+
pyenv_update_version: "172a0ed"

molecule/multi-version/converge.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
ansible.builtin.include_role:
99
name: "staticdev.pyenv"
1010
vars:
11-
pyenv_version: "v2.3.20"
11+
pyenv_version: "v2.3.35"
1212
pyenv_virtualenv_version: "v1.2.1"
13-
pyenv_update_version: "38ac747"
13+
pyenv_update_version: "172a0ed"
1414
pyenv_global:
15-
- 3.11.4
16-
- 3.10.12
15+
- 3.12.1
16+
- 3.11.7
1717
pyenv_python_versions:
18-
- 3.11.4
19-
- 3.10.12
18+
- 3.12.1
19+
- 3.11.7
2020
pyenv_virtualenvs:
21+
- venv_name: latest_v312
22+
py_version: 3.12.1
2123
- venv_name: latest_v311
22-
py_version: 3.11.4
23-
- venv_name: latest_v310
24-
py_version: 3.10.12
24+
py_version: 3.11.7

0 commit comments

Comments
 (0)