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

Arch Linux compatibility for regex pattern to find version in openssl_wrapper.py #2823

Open
LukeLabrie opened this issue Nov 1, 2022 · 2 comments
Milestone

Comments

@LukeLabrie
Copy link

LukeLabrie commented Nov 1, 2022

The regex in openssl_wrapper.py assumes all solibs will have three numbers to represent their respective versions. Unfortunately on archlinux, sometimes they only have two. A fix (per @ebknudsen) could be:

full_version_regex = re.compile(r'[0-9]+\.[0-9]+(\.[0-9]+[a-z]?)*')

instead of

full_version_regex = re.compile(r'[0-9]+\.[0-9]+\.[0-9]+[a-z]?')
@boegel boegel changed the title archlinux compatibility for regex pattern to find version in openssl_wrapper.py Arch Linux compatibility for regex pattern to find version in openssl_wrapper.py Nov 9, 2022
@boegel boegel added this to the 4.x milestone Nov 9, 2022
@boegel
Copy link
Member

boegel commented Nov 9, 2022

@LukeLabrie Are you up for opening a pull request for that change, so we can test it easily on a variety of systems?

@LukeLabrie
Copy link
Author

@ebknudsen ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants