-
Notifications
You must be signed in to change notification settings - Fork 476
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 minimal versions #458
Fix minimal versions #458
Conversation
Merged, thank you for the PR! How did you notice that Just doesn't build with 2.0.0? Do you test with minimal versions as part of the packaging process? |
The special thing about Debian is that all dependencies have to be individually packaged. And obviously the Debian repositories can't be 100% up to date with crates.io. This means that quite often it won't be possible to build executables according to their checked in |
Gotcha, that makes sense. I created #459, and I'll try to work out a process so as to prevent In the screenshot, what does "invalid in debian" mean? |
It means that there is currently no version in Debian that satisfies what is required. For example |
Okay, interesting. This makes me think that I should attempt to lower all of just's dependency requirements in Is that reasonable? All things being equal, I would like packaged versions of just to be built with the latest versions of dependencies, but it seems like enforcing that via |
Right, if you can lower it to 3.0.0 and it still builds that would simplify a lot for packagers. Because eventually one of 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.3, 3.0.2, 3.0.1, 3.0.0 will be packaged by debian and/or fedora and they probably won't even package the same version. (I assume that fedora has a similar packaging policy as debian.) Obviously the distributions want to use as recent versions as possible, but there is simply more work to do than maintainers can keep up with. I'm not an expert in this, but I guess that to push out a new |
I suspect a good practice is to never depend on |
That seems reasonable. I opened #461, which minimizes required versions as much as possible. |
Just doesn't actually compile with clap 2.0.0. I bumped it to 2.33.0 which is the current one in debian.
You can run the following command to generate a lockfile with minimal-versions: