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

Deprecate modularity on Fedora 41 #491

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

marusak
Copy link
Contributor

@marusak marusak commented May 6, 2024

No description provided.

@jkonecny12
Copy link
Collaborator

I'm not sure now but I have a feeling that we shouldn't inherit RHEL classes from Fedora ones. @bcl will know better than me.

@marusak
Copy link
Contributor Author

marusak commented May 6, 2024

@bcl
Copy link
Collaborator

bcl commented May 6, 2024

Usually we want to avoid doing that, changes should always be upstream first when possible but looking at older commits I see we haven't always done that.

(I take back what I said about this being ok in this case, see review...)

@@ -188,3 +188,7 @@ def _getParser(self):

""" % versionToLongString(RHEL10))
return op

class F41_Module(RHEL10_Module):
Copy link
Collaborator

Choose a reason for hiding this comment

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

This can't inherit from RHEL10, if it does then the deprecation message is going to be wrong.
RHEL messages can reference Fedora since they are based on them, but Fedora cannot reference RHEL, it needs to say it was deprecated in Fedora 41.

To make sure we don't base Fedora off the RHEL, switch it around and
define F41 as base where modularity is deprecated and then inherit
RHEL10 from it.
@marusak
Copy link
Contributor Author

marusak commented May 9, 2024

Fair points, so I change it around. Now F41 is the base where modularity is deprecated and RHEL10 just inherits it.

Copy link
Collaborator

@bcl bcl left a comment

Choose a reason for hiding this comment

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

Thanks!

@bcl bcl merged commit e7feb71 into pykickstart:master May 9, 2024
7 checks passed
KKoukiou added a commit to KKoukiou/kickstart-tests that referenced this pull request May 14, 2024
These are already not running as they are disabled,
and modularity is deprecated on Fedora-41. So let's just stop running
these to clean up the disabled stack.

pykickstart/pykickstart#491

Fixes: rhinstaller#769
KKoukiou added a commit to KKoukiou/kickstart-tests that referenced this pull request May 15, 2024
These are already not running as they are disabled,
and modularity is deprecated on Fedora-41. So let's just stop running
these to clean up the disabled stack.

pykickstart/pykickstart#491

Fixes: rhinstaller#769
jikortus pushed a commit to jikortus/kickstart-tests that referenced this pull request Jun 11, 2024
These are already not running as they are disabled,
and modularity is deprecated on Fedora-41. So let's just stop running
these to clean up the disabled stack.

pykickstart/pykickstart#491

Fixes: rhinstaller#769
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.

None yet

3 participants