-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
pyroute2 import fails if kernel local version does not start with a dash #885
Comments
Oh. To be fixed tonight, thanks |
Please check if it will work for you. Thank you again for the feedback. |
Awesome! Thanks for the super quick fix. Looks like this is working for me now:
|
NB: it's better to use
Instead of |
(Maybe it's better to publish the public API list on one page) |
Ah yes, that's what I normally do. Just directly imported the file you changed. This works as expected as well:
|
Any chance you could cut a new release with this change? Thanks! |
Sure thing. Expect it on Saturday. |
12a1aa8 changed how the kernel version gets parsed which seems to be a lot less lenient when it comes to parsing the version string.
trying to import pyroute2 0.6.7 on a host that is running a kernel with a version like
5.15.15.debug
causes an exception:Other people seem to run into the issues as well. e.g. https://bugs.launchpad.net/neutron/+bug/1961906
The text was updated successfully, but these errors were encountered: