Commit ffc38b7
committed
fix(roles/python_venv): install python3-packaging on EL10
EL10 ships Python 3.12, which dropped the stdlib distutils, so Ansible's
pip module needs the external packaging library to run. Without it,
creating a venv (e.g. during setup_basic) failed with
ModuleNotFoundError: No module named 'packaging'.1 parent f5caf02 commit ffc38b7
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments