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

Fix OpenSuse >= 15 support #319

Merged
merged 2 commits into from
Oct 27, 2021

Conversation

rpluem-vf
Copy link
Contributor

Make distro.id() report newer versions of OpenSuSE (at least >=15) also report as opensuse. They report themselves as opensuse-leap.

Make distro.id() report newer versions of OpenSuSE (at least >=15) also report
as opensuse. They report themselves as opensuse-leap.
Copy link
Member

@HorlogeSkynet HorlogeSkynet left a comment

Choose a reason for hiding this comment

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

Thanks for your very good patch @rpluem-vf, bye 👋

@HorlogeSkynet HorlogeSkynet changed the title Fix opensuse distro Fix OpenSuse >= 15 support Oct 27, 2021
@HorlogeSkynet HorlogeSkynet merged commit dd1a802 into python-distro:master Oct 27, 2021
@rpluem-vf rpluem-vf deleted the fix_opensuse_distro_id branch October 27, 2021 19:08
HorlogeSkynet pushed a commit that referenced this pull request Jun 7, 2022
HorlogeSkynet pushed a commit that referenced this pull request Jun 21, 2022
jmellorcrummey pushed a commit to HPCToolkit/hpctoolkit that referenced this pull request Apr 9, 2023
We aren't using Spack (heavily) in these images, all we use it for is to
install from the buildcache. Spack doesn't need to know about *all* the
compilers we installed to do that much.

This also fixes an issue regarding the Spack code for OpenSUSE Leap 15,
it used to be called `os=opensuse_leap15` but now is `os=opensuse15`.
Bisection reveals the difference appeared when the distro vendered
dependency was updated in spack/spack#33951 to
include python-distro/distro#319.

The change in Spack occured in January 2023, years after the change in
distro was merged in October 2021, over a year after OpenSUSE Leap 15.2
was released in July 2020. Sigh.
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.

3 participants