voxpupuli / voxpupuli/puppet-python

Use default system Python if 'system' version is requested

Open
#721 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.