diff --git a/README.rst b/README.rst index 6fbc06a..ad425f2 100644 --- a/README.rst +++ b/README.rst @@ -29,10 +29,10 @@ Here is the list of all variables and their default values: - `pyenv_env: "user"` (should be either `"user"` or `"system"`) - `pyenv_path: "{% if pyenv_env == 'user' %}{{ ansible_env.HOME }}/pyenv{% else %}/usr/local/pyenv{% endif %}"` - `pyenv_owner: "{{ ansible_env.USER }}"` -- `pyenv_python_versions: [3.9.1]` -- `pyenv_virtualenvs: [{ venv_name: latest, py_version: 3.9.1 }]` -- `pyenv_global: [3.9.1]` -- `pyenv_update_git_install: false` +- `pyenv_python_versions: [3.10.0]` +- `pyenv_virtualenvs: [{ venv_name: latest, py_version: 3.10.0 }]` +- `pyenv_global: [3.10.0]` +- `pyenv_update_git_install: true` (get latest pyenv from git) - `pyenv_enable_autocompletion: false` - `pyenv_setting_path: "{% if pyenv_env == 'user' %}~/.bashrc{% else %}/etc/profile.d/pyenv.sh{% endif %}"` @@ -54,17 +54,17 @@ Example Playbook pyenv_path: "{{ home }}/pyenv" pyenv_owner: "{{ instance_owner }}" pyenv_global: - - 3.7.11 - pyenv_update_git_install: false + - 3.10.0 + - 3.9.9 pyenv_enable_autocompletion: false pyenv_python_versions: - - 3.8.11 - - 3.9.6 + - 3.10.0 + - 3.9.9 pyenv_virtualenvs: + - venv_name: latest_v310 + py_version: 3.10.0 - venv_name: latest_v39 - py_version: 3.9.6 - - venv_name: latest_v38 - py_version: 3.8.11 + py_version: 3.9.9 Contributing ------------ diff --git a/defaults/main.yml b/defaults/main.yml index 09254a9..c8fee97 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -4,15 +4,15 @@ pyenv_env: "user" pyenv_path: "{% if pyenv_env == 'user' %}{{ ansible_env.HOME }}/pyenv{% else %}/usr/local/pyenv{% endif %}" pyenv_owner: "{{ ansible_env.USER }}" pyenv_setting_path: "{% if pyenv_env == 'user' %}~/.bashrc{% else %}/etc/profile.d/pyenv.sh{% endif %}" -pyenv_update_git_install: false +pyenv_update_git_install: true pyenv_enable_autocompletion: false pyenv_python_versions: - - 3.9.6 + - 3.10.0 pyenv_global: - - 3.9.6 + - 3.10.0 pyenv_virtualenvs: [] - # - { venv_name: "latest", py_version: "3.9.6" } + # - { venv_name: "latest", py_version: "3.10.0" } # 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 %}" @@ -24,9 +24,6 @@ pyenv_uninstall_python_w_wrong_configure_opts: false pyenv_debian_packages: - build-essential - # On Ubuntu 12.04 build may fail with the following error: - # python-build: wget (< 1.14) doesn't support Server Name Indication. - # Please install curl (>= 7.18.1) and try again - curl - git - llvm diff --git a/molecule/multi-version/converge.yml b/molecule/multi-version/converge.yml index 7ae3a93..16b5373 100644 --- a/molecule/multi-version/converge.yml +++ b/molecule/multi-version/converge.yml @@ -6,13 +6,13 @@ roles: - role: staticdev.pyenv pyenv_global: - - 3.9.6 - - 3.8.11 + - 3.10.0 + - 3.9.9 pyenv_python_versions: - - 3.9.6 - - 3.8.11 + - 3.10.0 + - 3.9.9 pyenv_virtualenvs: + - venv_name: latest_v310 + py_version: 3.10.0 - venv_name: latest_v39 - py_version: 3.9.6 - - venv_name: latest_v38 - py_version: 3.8.11 + py_version: 3.9.9