Skip to content

Conversation

@scala-center-steward
Copy link
Contributor

About this PR

πŸ“¦ Updates com.lihaoyi:pprint from 0.9.0 to 0.9.4

πŸ“œ GitHub Release Notes - Version Diff

Usage

βœ… Please merge!

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!

βš™ Adjust future updates

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

updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "pprint" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.lihaoyi", artifactId = "pprint" }
}]
labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

@github-actions github-actions bot added the dependencies Relates to dependency updates label Sep 27, 2025
Copy link
Collaborator

@danicheg danicheg left a comment

Choose a reason for hiding this comment

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

CI is failing with

[error] java.lang.RuntimeException: Expected `plugin / scalaVersion` to be 2.13.15 or later, but found 2.13.14.
[error] To support backwards-only binary compatibility (SIP-51), the Scala 2.13 compiler
[error] should not be older than scala-library on the dependency classpath.
[error] 
[error] Upgrade the `scalaVersion` to fix the build. If upgrading the Scala compiler version is
[error] not possible (for example due to a regression in the compiler or a missing dependency),
[error] this error can be demoted by setting `allowUnsafeScalaLibUpgrade := true`.
[error] 
[error] See `plugin / evicted` to know why scala-library 2.13.15 is getting pulled in.

So there are two options β€” either give up on pprint or drop support for older scalac versions. Will evaluate both options. Maybe giving up on pprint is achievable.

@lrytz
Copy link

lrytz commented Oct 17, 2025

Another option is to stay on the old pprint version, or even make the pprint version depend on the Scala version.

The SIP-51 restriction seems to be fine generally, but it is really annoying for compiler plugins using dependencies that want to back-publish new releases for old Scala versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Relates to dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants