Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Here is the list of all variables and their default values:
- `pyenvrc_path: "{{ pyenv_path }}"`
- `pyenv_owner: "{{ ansible_facts.user_id }}"`
- `pyenv_owner_group: "{{ pyenv_owner }}"`
- `pyenv_python_versions: [3.11.4]`
- `pyenv_virtualenvs: [{ venv_name: latest, py_version: 3.11.4 }]`
- `pyenv_global: [3.11.4]`
- `pyenv_python_versions: [3.12.1]`
- `pyenv_virtualenvs: [{ venv_name: latest, py_version: 3.12.1 }]`
- `pyenv_global: [3.12.1]`
- `pyenv_update_git_install: true` (get latest pyenv from git)
- `pyenv_enable_autocompletion: false`
- `pyenv_enable_virtualenvs: true`
Expand Down Expand Up @@ -68,25 +68,28 @@ None.
roles:
- role: staticdev.pyenv
vars:
pyenv_version: "v2.3.9"
pyenv_virtualenv_version: "v1.1.5"
pyenv_update_version: "810db78"
# from https://github.com/pyenv/pyenv/releases
pyenv_version: "v2.3.35"
# from https://github.com/pyenv/pyenv-virtualenv/releases
pyenv_virtualenv_version: "v1.2.1"
# from https://github.com/pyenv/pyenv-update/commits/master/
pyenv_update_version: "172a0ed"
pyenv_shellrc_file: "{{ ansible_env.HOME }}/.shrc"
pyenv_path: "{{ ansible_env.HOME }}/.pyenv"
pyenvrc_path: "{{ ansible_env.HOME }}"
pyenv_owner: "{{ instance_owner }}"
pyenv_global:
- 3.11.4
- 3.10.12
- 3.12.1
- 3.11.7
pyenv_enable_autocompletion: false
pyenv_python_versions:
- 3.11.4
- 3.10.12
- 3.12.1
- 3.11.7
pyenv_virtualenvs:
- venv_name: latest_v312
py_version: 3.12.1
- venv_name: latest_v311
py_version: 3.11.4
- venv_name: latest_v310
py_version: 3.10.12
py_version: 3.11.7
pyenv_make_opts: "-j4"
pyenv_python_configure_opts: "--enable-optimizations --with-lto --with-ensurepip=upgrade"
pyenv_python_cflags: "-march=native -mtune=native"
Expand Down
6 changes: 3 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ pyenv_update_git_install: true
pyenv_enable_autocompletion: false
pyenv_enable_virtualenvs: true
pyenv_python_versions:
- 3.11.4
- 3.12.1
pyenv_global:
- 3.11.4
- 3.12.1
pyenv_virtualenvs:
[]
# - { venv_name: "latest", py_version: "3.11.4" }
# - { venv_name: "latest", py_version: "3.12.1" }
# For a system install, the shims dir will not be writable by users, disable rehashing
pyenv_init_options: "{% if pyenv_env != 'user' %}--no-rehash{% endif %}"

Expand Down
4 changes: 2 additions & 2 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
ansible.builtin.include_role:
name: "staticdev.pyenv"
vars:
pyenv_version: "v2.3.20"
pyenv_version: "v2.3.35"
pyenv_virtualenv_version: "v1.2.1"
pyenv_update_version: "38ac747"
pyenv_update_version: "172a0ed"
18 changes: 9 additions & 9 deletions molecule/multi-version/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
ansible.builtin.include_role:
name: "staticdev.pyenv"
vars:
pyenv_version: "v2.3.20"
pyenv_version: "v2.3.35"
pyenv_virtualenv_version: "v1.2.1"
pyenv_update_version: "38ac747"
pyenv_update_version: "172a0ed"
pyenv_global:
- 3.11.4
- 3.10.12
- 3.12.1
- 3.11.7
pyenv_python_versions:
- 3.11.4
- 3.10.12
- 3.12.1
- 3.11.7
pyenv_virtualenvs:
- venv_name: latest_v312
py_version: 3.12.1
- venv_name: latest_v311
py_version: 3.11.4
- venv_name: latest_v310
py_version: 3.10.12
py_version: 3.11.7