Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upVersion 1.1.0 bumps minimum compiler version #114
Comments
This comment has been minimized.
This comment has been minimized.
|
There is no consensus on whether bumping the MSRV is a semver incompatible change or not. |
This comment has been minimized.
This comment has been minimized.
jethrogb
commented
Aug 6, 2018
|
My CI started failing overnight because of this release even though I employ lockfiles everywhere. |
This comment has been minimized.
This comment has been minimized.
|
What does "employing lockfiles everywhere" mean? If your versions are locked, then you wouldn't pick up a new version with a higher compiler version requirement. |
This comment has been minimized.
This comment has been minimized.
jethrogb
commented
Aug 6, 2018
|
Yeah, I suppose that's quite puzzling. I've narrowed it down to an optional dependency that only gets activated through a particular feature. This dependency is not in the lockfile. |
This comment has been minimized.
This comment has been minimized.
jethrogb
commented
Aug 6, 2018
•
|
Caused by rust-lang/cargo#3629 |
This comment has been minimized.
This comment has been minimized.
|
Yeh the |
This comment has been minimized.
This comment has been minimized.
jethrogb
commented
Aug 8, 2018
•
|
That might not be working correctly then:
I don't get this error on 1.0.2 |
This comment has been minimized.
This comment has been minimized.
|
@jethrogb Oh are you compiling |
This comment has been minimized.
This comment has been minimized.
jethrogb
commented
Aug 8, 2018
|
I'm on 1.18
Documented where exactly? |
This comment has been minimized.
This comment has been minimized.
It's documented as the explicit version we test in Travis through our Maybe we should adopt the approach some other crates take and stick a badge in the readme with our minimum version? |
This comment has been minimized.
This comment has been minimized.
|
Digging a little deeper here...
There are no rigid policies on how to handle all of this, but it is a bit of a mess. This also means regex's documented minimum version is technically wrong because it is less than lazy_static's documented minimum version (a dependency of regex). I don't really know what to do about it. I'm not sure it's worth this amount of fuss at this point, at least until we get some sort of LTS release that core crates can rally around. |
This comment has been minimized.
This comment has been minimized.
|
Hm it is a bit of a mess... I think we've made a few assumptions that lead to this specific case:
Some sort of LTS release would nicely cut through those assumptions in the future. It seems like our efforts right now across the ecosystem to manage minimum versions are a bit too ad-hoc to scale. |
This comment has been minimized.
This comment has been minimized.
I agree. I watch the repos of (almost?) every dependency I use, including this one, and specifically look out for this and I still missed it. :-( |
jethrogb commentedAug 6, 2018
Version 1.1.0 bumps the minimum compiler version because of the use of associated constants. This is not a semver-compatible change and should be reverted.