scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

Question: How to prevent upgrading Scala?

Open candeemis opened this issue 2 years ago • 2 comments

Hi Scala-Steward team,

This may seem a silly question, but let me ask anyway. I got a situation where a dependency depends upon an old version of Scala. Hence upgrading Scala itself is not an option for me. I was trying to use updates.pin and updates.ignore to disable upgrading scalaVersion but to no luck. Is there a way I could configure a specific Scala version and ignore it from the upgrade PRs?

candeemis avatar Sep 04 '23 14:09 candeemis

Scala Steward's PRs contain a update.ignore config in the Adjust future updates details that should prevent further updates of the dependency. See https://github.com/scala-steward-org/scala-steward/pull/3165 for example.

updates.ignore to disable upgrading scalaVersion but to no luck

I'm wondering why this didn't work. What exactly did you add to update.ignore and what did Scala Steward did afterwards?

fthomas avatar Dec 05 '23 07:12 fthomas

new FAQ entry in #3253

mzuehlke avatar Dec 26 '23 09:12 mzuehlke