voxpupuli / voxpupuli/puppet-python
Use default system Python if 'system' version is requested
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 196
- Forks
- 372
- Avg merge
- 1d 18m
- Merged PRs (30d)
- 4
Description
Info on the default version of Python a system uses was added in #716, but when the 'system' version of Python is requested, the package name is still python, hard-coded and non-changeable. In CentOS 9, there isn't even a package available named python. If the 'system' Python is requested, use the newly-added default_system_version information, at least for RedHat-family operating systems, instead of relying on every OS to provide a python package (which traditionally referred specifically to Python 2.x, so few distros seem willing to treat the name python as a safe default name for the intended system Python package).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how a requested 'system' Python version selects its package name, then review the default_system_version information added in issue #716. Check the RedHat-family handling, including CentOS 9, and confirm that the selected package corresponds to the system Python rather than assuming a package named python.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100