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

Problems with two-digit numbers in version #125

Open
kshpytsya opened this issue Dec 8, 2022 · 0 comments
Open

Problems with two-digit numbers in version #125

kshpytsya opened this issue Dec 8, 2022 · 0 comments

Comments

@kshpytsya
Copy link

pythonfinder.Finder().find_all_python_versions() fails to find python versions with two digit numbers in minor version.
This is probably due to this check:

return any(fnmatch(name, rule) for rule in MATCH_RULES)

and the fact that these contain ? and not *:

RULES_BASE = [
"*{0}",
"*{0}?",
"*{0}?.?",
"*{0}?.?m",
"{0}?-?.?",
"{0}?-?.?.?",
"{0}?.?-?.?.?",
]

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

No branches or pull requests

1 participant