Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting RHEL type in supported_dists to support Python > 3.7 #1624

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CoolZeroNL
Copy link

RHEL 8 is using rhel as ID, so adding support for that in the list.

The function platform.dist & platform.linux_distribution are been removed in python 3.7. So the DSC will use the Fallback to use /etc/os-release. This is working fine, only that RHEL is using a other name as is then is listed in the suppored_list

# cat /etc/os-release 

NAME="Red Hat Enterprise Linux"
VERSION="8.6 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.6"

Issue related: #1612

@CoolZeroNL
Copy link
Author

@Bhargava-Chary-Chollaty can u review ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant