Skip to content

Problems with two-digit numbers in version #125

@kshpytsya

Description

@kshpytsya

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}?.?-?.?.?",
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions