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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Upgrade pip
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Install test dependencies
run: pip install --constraint=.github/workflows/constraints.txt ansible yamllint ansible-lint
Expand All @@ -45,7 +45,6 @@ jobs:
distro:
- debian12
- debian11
- debian10
# https://github.com/geerlingguy/docker-ubuntu2204-ansible/issues/6
# - ubuntu2204
- ubuntu2004
Expand All @@ -59,7 +58,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Upgrade pip
run: |
Expand Down
18 changes: 9 additions & 9 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_env.USER }}"`
- `pyenv_owner_group: "{{ pyenv_owner }}"`
- `pyenv_python_versions: [3.11.0]`
- `pyenv_virtualenvs: [{ venv_name: latest, py_version: 3.11.0 }]`
- `pyenv_global: [3.11.0]`
- `pyenv_python_versions: [3.11.4]`
- `pyenv_virtualenvs: [{ venv_name: latest, py_version: 3.11.4 }]`
- `pyenv_global: [3.11.4]`
- `pyenv_update_git_install: true` (get latest pyenv from git)
- `pyenv_enable_autocompletion: false`
- `pyenv_enable_virtualenvs: true`
Expand All @@ -54,17 +54,17 @@ None.
pyenvrc_path: "{{ ansible_env.HOME }}"
pyenv_owner: "{{ instance_owner }}"
pyenv_global:
- 3.11.0
- 3.10.6
- 3.11.4
- 3.10.12
pyenv_enable_autocompletion: false
pyenv_python_versions:
- 3.11.0
- 3.10.6
- 3.11.4
- 3.10.12
pyenv_virtualenvs:
- venv_name: latest_v311
py_version: 3.11.0
py_version: 3.11.4
- venv_name: latest_v310
py_version: 3.10.6
py_version: 3.10.12
```

## License
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.0
- 3.11.4
pyenv_global:
- 3.11.0
- 3.11.4
pyenv_virtualenvs:
[]
# - { venv_name: "latest", py_version: "3.11.0" }
# - { venv_name: "latest", py_version: "3.11.4" }
# 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
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ galaxy_info:

- name: Debian
versions:
- buster
- bookworm
- bullseye

- name: Ubuntu
Expand Down
6 changes: 3 additions & 3 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.9"
pyenv_virtualenv_version: "v1.1.5"
pyenv_update_version: "810db78"
pyenv_version: "v2.3.20"
pyenv_virtualenv_version: "v1.2.1"
pyenv_update_version: "38ac747"
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.9"
pyenv_virtualenv_version: "v1.1.5"
pyenv_update_version: "810db78"
pyenv_version: "v2.3.20"
pyenv_virtualenv_version: "v1.2.1"
pyenv_update_version: "38ac747"
pyenv_global:
- 3.11.0
- 3.10.6
- 3.11.4
- 3.10.12
pyenv_python_versions:
- 3.11.0
- 3.10.6
- 3.11.4
- 3.10.12
pyenv_virtualenvs:
- venv_name: latest_v311
py_version: 3.11.0
py_version: 3.11.4
- venv_name: latest_v310
py_version: 3.10.6
py_version: 3.10.12