-
-
Notifications
You must be signed in to change notification settings - Fork 16
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 encore and use non-deprecated encore fn #35
Conversation
actually
(I looked at the link but it didn't help me get unstuck) |
@philomates Hi Philip, please don't try pin to an older version of Encore - that's never a good idea. You should always try use the newest version of Encore required by your dependencies. It sounds like the practical issue here is that a deprecation warning is somehow triggering a Shadow build error. That's not expected, so I'd start by trying to get to the bottom of that. A deprecation warning shouldn't generally be fatal. Is it possible there's something in your Shadow config to indicate that warnings should be fatal? Edit to add: I'm happy to cut a new version of Tempura now if really necessary, but it'd be nice to know why this is necessary. Otherwise the usual plan would be to just update all dependencies as usual on the next release. |
Ah, looking closer at your posted excerpt I notice this:
I suspect that may be the culprit |
we indeed have |
You're welcome, no problem. Apologies for any confusion.
Just let me know if that's somehow a problem for you (e.g. if there's a reason you prefer/need warnings as errors) and I'll cut a maintenance release sooner.
In general that shouldn't be a problem. Encore releases are always backwards compatible, so the only downside should be the warning. Tempura's been pretty stable - no new releases since Oct 2022. |
Thanks, I appreciate you taking the time to dig into this with me |
BTW in case it's helpful - I've just pushed https://github.com/taoensso/tempura/releases/tag/v1.5.4 which updates dependencies and cleans up the documentation a bit. |
I have a project the uses
nippy
andtempura
. In bumpingnippy
to the latest I now get the following failure (not sure why it isn't just a warning) due totempura
's usage of a deprecatedencore
function. I guessnippy
acceptsencore
as low as3.58.0
and it looks like3.66.0
is the version that deprecateskw-identical?
.Regardless, I figured I'd bump it here so others don't need to do such git spelunking and version gymnastics.