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

Rocky does not have a separate venv package #665

Closed
wants to merge 1 commit into from

Conversation

Heidistein
Copy link

@Heidistein Heidistein commented Jul 3, 2023

This PR fixes the ensure => present on the python-venv package on rocky linux. It does, like CentOS, not have a seperate venv package.

@Heidistein Heidistein force-pushed the master branch 2 times, most recently from 9d4bef8 to 6266172 Compare July 3, 2023 08:04
@@ -35,7 +35,7 @@
##
## CentOS has no extra package for venv
##
unless $facts['os']['name'] == 'CentOS' {
unless $facts['os']['name'] in ['CentOS', 'Rocky'] {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably true for Alma as well? Can't we check for os family RedHat instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have currently no way to check Alma nor RH. I suspect it is true, but I have no way to find out.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I must not lie. It is also true for alma. Redhat has recently closed its source, unable to check them. Do you know the familyname for alma?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding "AlmaLinux" and "Rocky" to metadata.json (using version "8" I guess?) will run the acceptance tests against these OS and report success / failure.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggesting to use OS family instead
unless $facts['os']['family'] == 'RedHat'
should work for RHEL, CentOS Stream, AlmaLinux, RockyLinux,...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. will fix, update, change today or friday.

@kenyon kenyon changed the title Rocky does as weel not have a seperate venv package. Rocky does not have a separate venv package Jul 3, 2023
@olifre
Copy link

olifre commented Nov 27, 2023

It seems that this is superseded by #677, correct?

@JakeTRogers
Copy link
Contributor

that is correct @olifre. I raised #677 because this PR seemed abandoned and I wanted to cover the whole RedHat family. I think this PR should be closed.

@olifre
Copy link

olifre commented Nov 28, 2023

Thanks for the confirmation, then I'll close this one, as #677 is already merged and fixes the issues described here in a general manner for the whole RedHat family. Thanks a lot for your contribution!

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

Successfully merging this pull request may close these issues.

6 participants