-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Bump uPickle to 2.0.0 together with Ammonite 2.5.4 #1866
Conversation
Yes, I can try! |
Mill 0.10.4 is already released. |
@lihaoyi Yes updating uPickle and ammonite solves the problem for me as well. |
Nice. I'd like to wait a little bit longer so we can use a proper Ammonite release, though. In the past, snapshot releases of Ammonite made it hard for me to reason about the changes and the steps of action needed to update. |
We need to be sure that plugins compiled with Mill |
@lolgab I believe they should. This is a format change, but it is backwards compatible and should not break, and regardless Mill doesn't care about compatibility of the format because we flush all caches when classpath changes. w.r.t. Binary compatibility, I believe it should be compatible unless you're writing custom |
@lihaoyi I also believe this should work just fine, but let's manual-test some plugins to check if we don't get weird cache invalidations as we got with the build when there were two different versions of uPickle in the build. |
@lolgab I don't have any plugins myself, if you have some in mind feel free to test them :) |
@lolgab any updates here? If not I feel like we can merge this as is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lihaoyi Sorry for the big late. I tried it on one project of mine and updating mill without updating any plugins doesn't create any cache invalidation problems.
LGTM! 👍
Second attempt at landing #1854. Let's see if keeping the uPickle version consistent between Ammonite and Mill helps
I tried to repro the original problem using the locally-built
target/mill-release
binary, and am able to reproduce the problem (unwanted re-compilation of build.sc) without the Ammonite update, and am unable to reproduce the problem with the Ammonite update. I don't know what the problem is, but I can only conclude that the Ammonite update fixed it.@lolgab could you help try this out see if it works properly for you too?