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

[v6] Test version matching against univers #58

Open
prabhu opened this issue Jul 27, 2023 · 1 comment
Open

[v6] Test version matching against univers #58

prabhu opened this issue Jul 27, 2023 · 1 comment

Comments

@prabhu
Copy link
Contributor

prabhu commented Jul 27, 2023

https://github.com/nexB/univers

@prabhu prabhu changed the title Test version matching against univers [v6] Test version matching against univers Feb 8, 2024
@prabhu
Copy link
Contributor Author

prabhu commented Feb 8, 2024

Looks like univers is doing well.

>>> from univers.versions import * 
>>> a=DebianVersion("1.1.0j-1~deb9u1")
>>> b=DebianVersion("1.1.0f-3+deb9u1")
>>> a>b
True
>>> b>a
False
>>> c = DebianVersion("20210119~20.04.2")
>>> d = DebianVersion("20211016ubuntu0.20.04.1")
>>> c>d
False
>>> d>c
True

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