Skip to content
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 sbt-scala-module to 2.4.0 #548

Merged
merged 4 commits into from
Aug 25, 2021

Conversation

scala-steward
Copy link
Contributor

Updates org.scala-lang.modules:sbt-scala-module from 2.3.1 to 2.4.0.
GitHub Release Notes - Version Diff

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

Ignore future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "org.scala-lang.modules", artifactId = "sbt-scala-module" } ]

labels: sbt-plugin-update, semver-minor

@SethTisue SethTisue marked this pull request as draft August 3, 2021 21:28
@SethTisue
Copy link
Member

the new sbt-version-policy plugin needs to be configured

- remove `versionScheme` (already set by sbt-version-policy)
- scope `versionPolicyIntention` to projects, instead of to `ThisBuild`
- replace `versionPolicyDependencySchemes` with `libraryDependencySchemes`
- remove `scalaModuleMimaPreviousVersion` (already set by sbt-version-policy)
- remove invocation of `versionPolicyCheck` from CI (already invoked by `test`)
- add invocation of `versionCheck` before publishing a release
@julienrf julienrf marked this pull request as ready for review August 4, 2021 08:04
- remove invocation of `versionPolicyCheck` from CI (already invoked by `test`)
- add invocation of `versionCheck` before publishing a release
Copy link
Member

@SethTisue SethTisue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but @ashawley should probably check it

@ashawley
Copy link
Member

The version policy will flag more things in Mima and version-policy.

For instance, after this is merged, #549 will need to be rebased.

@SethTisue SethTisue merged commit 89bf9d1 into scala:main Aug 25, 2021
@ashawley
Copy link
Member

I guess the Scala.js build broke after this merged?

[error] (xmlJS / versionPolicyReportDependencyIssues) Dependencies of module scala-xml:2.0.1+9-89bf9d11-SNAPSHOT break the intended compatibility guarantees 'Compatibility.BinaryAndSourceCompatible' (see messages above). You have to relax your compatibility intention by changing the value of versionPolicyIntention.

@ashawley
Copy link
Member

Might have not been caught because it criss-crossed with the #547 merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants