-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Use major version if python installed in custom path #65
base: main
Are you sure you want to change the base?
Use major version if python installed in custom path #65
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I understand the need to address your current issue, I also see that this change contains no testing. Accepting it as such could easily translate into breaking the module for others.
We usually use containers for testing stuff like this. Can you please describe the distro/version/setup on which you encounter the issue, maybe we can see how to add a test for it.
If we can add a test that would fail before your change and pass with your change, we would clearly be more confident to merge it.
Why would the fix for issues related to #56 require testing when the original change did not require testing? Falling back to the original behavior seems like a safe and critical change for at least the mentioned Sophos folks. I've been digging through issues on this projects due to issues with pyenv and Python 3.9+ (though 3.8 seems to work just fine). I'm aware of #35 and #42, and how pyenv isn't a supported use case, but I have to point out that patching in The reason why I'm mentioning this completely separate use case is that I think a fallback pattern for selecting I'd love to see this change be expanded with an additional fallback so that |
@conn This package needs help, especially in testing area, so we would avoid future regressions. My time is very limited but I would be able to help if someone steps in and starts adding tests. As some regressions were reported, the first measure is to prevent merging new code that is not well tested, even if the change would mainly be a revert. I will have more work to do with molecule in the following months, so there is a small change I might need to add fixes myself here. Still, nobody should rely on me having the time. Shortly, I would LOVE to get others to help with project maintenance and this project is extremely small, it should not require too much of anyone's time to help with testing. |
Totally understandable. Do you know where this package is being used outside of Ansible and Molecule? My understanding is that this package isn't being used by Molecule anymore and is only being pulled in by Molecule-Plugins because it's still listed as a dependency. If I can muster some spare cycles, I'd be happy to add some tests but I'm admittedly ignorant about where this package is being used. |
I think that it could make sense to remove selinux from molecule-plugins and require the users to install it when needed. It can cause some headaches for them but at the same time it can same some for those that do not really need it. |
Thank you for that! |
Switch to using python major version if python is installed on a custom path. Fix recent issues that seem to have risen due to #56 for @sophos-rickc and @sophos-daniels.