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 Scala 3.1.0 #568

Merged
merged 2 commits into from
Nov 17, 2021
Merged

Conversation

scala-steward
Copy link
Contributor

Updates

from 3.0.2 to 3.1.0.
GitHub Release Notes - Version Diff - 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!

Files still referring to the old version number

The following files still refer to the old version number (3.0.2).
You might want to review and update them manually.

.circleci/config.yml
build.sbt
Ignore future updates

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

updates.ignore = [ { groupId = "org.scala-lang" } ]

labels: library-update, semver-minor, old-version-remains

@ashawley
Copy link
Member

This isn't reverse binary compatible, so we need to relax the version policy setting.

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

@ashawley ashawley changed the title Update scala3-library, ... to 3.1.0 Update Scala 3.1.0 Oct 18, 2021
@ashawley
Copy link
Member

Actually, we are doing that:

versionPolicyIntention := Compatibility.BinaryCompatible,

@ashawley
Copy link
Member

Oh, it's because of upstream Scala?

[error] Incompatibilities with dependencies of scala-xml:2.0.1
[error]   org.scala-lang:scala3-library_3: incompatible version change from 3.0.1 to 3.1.0 (compatibility: package versioning policy)

@ashawley ashawley force-pushed the update/scala3-library-3.1.0 branch from 78fa642 to f0604d3 Compare November 3, 2021 01:19
@ashawley ashawley force-pushed the update/scala3-library-3.1.0 branch from f0604d3 to 6caef03 Compare November 3, 2021 01:27
@ashawley ashawley force-pushed the update/scala3-library-3.1.0 branch from 6caef03 to c8aca30 Compare November 3, 2021 01:32
@ashawley
Copy link
Member

ashawley commented Nov 3, 2021

I've added 3.1.0 to the build but disabled the publish step to avoid the versionPolicy error, but also because that is what is intended.

    publish / skip := (CrossVersion.partialVersion(scalaVersion.value) match {
      case Some((3, x)) if x > 0 => true
      case _                     => false
    }),

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.

2 participants