-
Notifications
You must be signed in to change notification settings - Fork 947
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
Set minimum x11-dl version to include Z #484
Conversation
Without this pin, an existing cargo.lock for an older winit will not update the x11-dl dependency, and thus will select a version that is missing required new XIM features.
Thanks! This is definitely a good idea. However, shouldn't it be When I tested this locally, it wouldn't pull in the new version. Constraining with @daggerbot in the future, could you please follow semver more closely? Cargo seems to make assumptions wrt semver. |
That issue is related to Cargo pulling in a newer version of a package when you specify an older one, which is the documented behavior. It doesn't totally ignore Zs, it just treats them as a minimum. I don't see any reason to hard-pin to a specific Z here - we just want to be sure that winit is on a new enough version to include the bits it needs. In my local testing this behaved correctly. I just rolled back to my pre-winit-update commit and tried the process again, to be sure nothing else I did accidentally fixed it
|
Alright, I tried again, and it works as expected. I'm not sure what I was doing wrong the first time. |
Thanks! Please let me know when this fix is released so I can update vulkano-rs/vulkano#953 |
Do you want a release now? While I'll feel slightly embarrassed to need to release 0.13.1 a day after 0.13.0, it seems like the best thing to do. |
I'm not in any rush, personally. I've got my local environment sorted. That said, I think it's good to keep the ecosystem as up-to-date as possible, and I think 0.13.1 is necessary for that. Adding 0.13.0 dependencies to other crates is just going to cause trouble for people. It's up to you how urgent that is for your release schedule, though ¯\_(ツ)_/¯ |
Well, I want to get winit 0.13 in as many hands as possible, so here we go: #486 |
Without this pin, an existing cargo.lock for an older winit will not
update the x11-dl dependency, and thus will select a version that is
missing required new XIM features.