-
Notifications
You must be signed in to change notification settings - Fork 48
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
fix: adjust liboqs pkgconfig version detection to new scheme #246
fix: adjust liboqs pkgconfig version detection to new scheme #246
Conversation
Do we need to do a patch release for this or are we good? Relatedly I'm thinking we should probably split out the vendored stuff in its own crate, because I suppose we might want to separately bump |
The old code tries to match pkgconfig with a nonsense version range, which doesn't break anything AFAIU, but also plain doesn't work as intended, so a patch seems desirable. As for your second point, I'm not sure I follow, or maybe I don't see the benefit of separating the vendored code. |
Imagine liboqs publishes version Moving the vendored code into a separate crate would allow Cargo's dependency resolver to resolve such conflicts. I suppose that alternatively we could get rid of the version autodetection but that means we have yet another version code point to keep track of when updating... |
Huh, I haven't thought about that, but my reasoning was if we declare liboqs-0.9.1 we should vendor or accept via pkgconfig only versions that include at least fixes from that baseline version, so patch numbers |
Patch releases could also include improvements, such as new implementations, though. It's a bit tricky. Anyway I don't care about this too much, we'll see if the OS vendors yell at us down the line. |
Looks like 0.9.1 wasn't released on crates.io, presumably a simple omission? |
I was waiting on the merge queue and then entered my weekend. I have just released it. (I should ideally set up CI to do all of this for me... but that's a bunch of engineering effort.) |
Noticed this part wasn't touched after the versioning update, this works correctly with it.