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

Question: How to prevent upgrading Scala? #3153

Open
candeemis opened this issue Sep 4, 2023 · 2 comments
Open

Question: How to prevent upgrading Scala? #3153

candeemis opened this issue Sep 4, 2023 · 2 comments

Comments

@candeemis
Copy link

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?

@fthomas
Copy link
Member

fthomas commented Dec 5, 2023

Scala Steward's PRs contain a update.ignore config in the Adjust future updates details that should prevent further updates of the dependency. See #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?

@mzuehlke
Copy link
Member

new FAQ entry in #3253

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

No branches or pull requests

3 participants