Skip to content

Conversation

@scala-steward
Copy link
Contributor

About this PR

📦 Updates org.scalameta:scalafmt-core from 3.10.0 to 3.10.1

📜 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 = "org.scalameta", artifactId = "scalafmt-core" } ]

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

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]
labels: library-update, early-semver-patch, semver-spec-patch, commit-count:n:3

@raboof
Copy link
Contributor

raboof commented Oct 20, 2025

 [info] [launcher] getting Scala 2.12.13 (for sbt)...
Error:  WARNING: A terminally deprecated method in java.lang.System has been called
Error:  WARNING: System::setSecurityManager has been called by sbt.TrapExit$ (file:/var/folders/q0/wmf37v850txck86cpnvwm_zw0000gn/T/sbt_5da3d8c8/global/boot/scala-2.12.13/org.scala-sbt/sbt/1.5.2/run_2.12-1.5.2.jar)
Error:  WARNING: Please consider reporting this to the maintainers of sbt.TrapExit$
Error:  WARNING: System::setSecurityManager will be removed in a future release

🤔

@raboof
Copy link
Contributor

raboof commented Oct 20, 2025

oh:

[info] [error] /tmp/sbt_f348a669/project/Dependencies.scala:13:21: value %% is not a member of String
[info] [error]     "io.circe"      %% "circe-core"    % circeVersion,
[info] [error]                     ^

Apparently the sbt.* import doesn't import the .%% import on the Scala 2.12.20 scripted tests? Not sure I fully understand.

@raboof
Copy link
Contributor

raboof commented Oct 20, 2025

@xuwei-k do you know what's going on here, given you contributed #180 ?

@xuwei-k
Copy link
Member

xuwei-k commented Oct 21, 2025

@raboof
Copy link
Contributor

raboof commented Oct 21, 2025

That brings me no closer to understanding what's going on but fixes the immediate problem I suppose 😄 👍

@xuwei-k
Copy link
Member

xuwei-k commented Oct 21, 2025

sbt add "-Xsource:3" options by default since sbt 1.6.0

But sbt-sbom scriptedSbt version is 1.5.2

@raboof
Copy link
Contributor

raboof commented Oct 21, 2025

Aha, great find! I think it's no problem to update the expected sbt version to 1.6.0, let me test and amend this PR.

So we can scalafmt the scripted tests as well
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.

3 participants