-
Notifications
You must be signed in to change notification settings - Fork 56
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
Update nscplugin, sbt-scala-native to 0.5.1 and scalacheck to 1.18.0 #450
Update nscplugin, sbt-scala-native to 0.5.1 and scalacheck to 1.18.0 #450
Conversation
This task
is failing with
but it succeeds on my local machine. Any idea where can it come from? |
I was hesitant to manually upgrade to scalacheck 1.18.0 since I expected Scala Steward to open the PR, but strangely its logs mention the update but not open the PR. The deprecation of I'll try to run it locally and see if I debug it. |
Looks like sbt-scala-native and scalacheck have to be updated together in a single PR. |
Yeah, I see now, thanks. But I cannot find out where (and whether) it is defined. I guess it may be related to typelevel/sbt-typelevel#695 |
It seems that we'll need to manually declare sbt-scala-native in our builds now, as sbt-tl won't include any more, but we're still relying on the last version that includes it and we're also declaring the plugin explicitly. I still can't see any big difference between this build and the scalacheck one, that successfully compiled with temurin8, scala 2.13 and sn 0.5.x. I'll keep up with the investigation. |
Btw, in order to publish we'll need to tweak the |
So, @keynmol understood that this specific warning is a compiler warning, and we have fatal-warnings enabled in our build (in Scalacheck, it was deactivated). Fatal warnings are turned off by default locally and that's why we aren't seeing it. We can either wait for a new version of sbt-tl getting published to fix this (it's just a matter of releasing it, the commit is already included in main) or temporary disable fatal-warnings to make it compile again. |
The .disablePlugins(TypelevelScalaNativeGitHubPlugin) to your |
@mzuehlke , right, we're just thinking that since TypelevelScalaNativeGitHubPlugin is already removed from sbt-typelevel, perhaps it makes sense to await until the next release and fix the issue simply by upgrading to it. |
If the release is around the corner, and it looks like it is. Then waiting for is a good idea 👍 |
The release has landed: https://github.com/typelevel/sbt-typelevel/releases/tag/v0.7.0 |
And I've merged it here in discipline, if we rebase this we should get it green finally |
7e05cc5
to
68f527b
Compare
🎉 |
@mpilquist , it builds now with scala-native v0.5. But you also bumped up cc @TonioGela @armanbilge (whoever can help please) |
Yes. This PR includes the change that is causing us to bump the minor. The PR that causes the minor-encoding change should encode that in |
Should fix #446 and resolve #449.