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

Python 3.10 edge case #12673

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Python 3.10 edge case #12673

merged 1 commit into from
Oct 29, 2021

Conversation

rincebrain
Copy link
Contributor

Motivation and Context

I missed a fallback case, which was also flawed at Python version checks and someone got bitten in #12045.

Description

Just take their suggested version extractor fix.

In the future, I should probably try merging this with upstream's other fixes (though they still try using string comparison for versions...).

How Has This Been Tested?

Commented out all the "only run this in the fallback case" lines, tried running it, verified it shook the correct version out at a quick glance, uncommented everything and pushed.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

@behlendorf behlendorf added the Status: Code Review Needed Ready for review and testing label Oct 25, 2021
There was a fallback case I overlooked in the initial patch, with
a similarly imperfect version extractor.

Closes: openzfs#12045

Signed-off-by: Rich Ercolani <[email protected]>
@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels Oct 29, 2021
@behlendorf behlendorf merged commit adeccfe into openzfs:master Oct 29, 2021
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request May 2, 2022
There was a fallback case I overlooked in the initial patch, with
a similarly imperfect version extractor.

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes openzfs#12045 
Closes openzfs#12673
behlendorf pushed a commit that referenced this pull request May 4, 2022
There was a fallback case I overlooked in the initial patch, with
a similarly imperfect version extractor.

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes #12045 
Closes #12673
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants