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 coursier/dependency to 0.3.1 #3292

Closed

Conversation

scala-steward
Copy link
Contributor

About this PR

πŸ“¦ Updates io.get-coursier:dependency from 0.2.5 to 0.3.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!

πŸ” Files still referring to the old version number

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

website/docs/guides/advanced/internals.md
website/package.json
website/static/img/complete-install.svg
website/static/img/dark/complete-install.svg
website/yarn.lock
βš™ Adjust future updates

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

updates.ignore = [ { groupId = "io.get-coursier", artifactId = "dependency" } ]

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

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.get-coursier", artifactId = "dependency" }
}]
labels: library-update, early-semver-major, semver-spec-minor, old-version-remains, commit-count:1

@Gedochao
Copy link
Contributor

Gedochao commented Nov 18, 2024

Exception in thread "main" java.lang.NoSuchMethodError: 'dependency.DependencyLike dependency.DependencyLike$.apply(dependency.ModuleLike, java.lang.String, dependency.CovariantSet, scala.collection.immutable.Map)'
        at scala.cli.commands.new.New$.<clinit>(New.scala:18)
        at scala.cli.ScalaCliCommands.allCommands(ScalaCliCommands.scala:45)
        at scala.cli.ScalaCliCommands.commands(ScalaCliCommands.scala:67)
        at scala.cli.doc.GenerateReferenceDoc$.run(GenerateReferenceDoc.scala:649)
        at scala.cli.doc.GenerateReferenceDoc$.run(GenerateReferenceDoc.scala:642)
        at caseapp.core.app.CaseApp.main(CaseApp.scala:178)
        at caseapp.core.app.CaseApp.main(CaseApp.scala:149)

This looks like something could be wrong with the dep macro πŸ€”

pops up on:

val giter8Dependency =
    Seq(dep"${Constants.giter8Organization}::${Constants.giter8Name}:${Constants.giter8Version}")

which looks valid to me...

EDIT:
Seems like it's a class initialization issue.
It's sufficient to change it to a def.

cc @alexarchambault

@Gedochao Gedochao changed the title Update dependency to 0.3.1 Update coursier/dependency to 0.3.1 Nov 18, 2024
@Gedochao
Copy link
Contributor

Superseded by #3297

@Gedochao Gedochao closed this Nov 18, 2024
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