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 mdoc to 2.6.2 & metaconfig to 0.14.0 #2144

Merged
merged 3 commits into from
Dec 21, 2024
Merged

Update mdoc to 2.6.2 & metaconfig to 0.14.0 #2144

merged 3 commits into from
Dec 21, 2024

Conversation

scala-center-steward[bot]
Copy link
Contributor

About this PR

πŸ“¦ Updates

from 2.6.1 to 2.6.2

πŸ“œ 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" } ]

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

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

case Some(value) => ev.read(value)
case None => ConfError.missingField(conf, path).notOk
}
ConfGet.getOrElse(
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -17,7 +17,7 @@ object Dependencies {
val commontTextV = "1.12.0"
val googleDiffV = "1.3.0"
val jgitV = "5.13.3.202401111512-r"
val metaconfigV = "0.13.0"
val metaconfigV = "0.14.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

bumping this at the same time as doc to prevent

[error] 	* org.scalameta:metaconfig-typesafe-config_2.13:0.14.0 (early-semver) is selected over {0.13.0}
[error] 	    +- org.scalameta:mdoc_2.13:2.6.2                      (depends on 0.14.0)
[error] 	    +- org.scalameta:mdoc-cli_2.13:2.6.2                  (depends on 0.14.0)
[error] 	    +- org.scalameta:metaconfig-docs_2.13:0.13.0          (depends on 0.13.0)
[error] 	    +- ch.epfl.scala:scalafix-core_2.13:0.0.0+1-804f3a2e-SNAPSHOT (depends on 0.13.0)

@bjaglin bjaglin changed the title Update mdoc, sbt-mdoc to 2.6.2 Update mdoc to 2.6.2 & metaconfig to 0.14.0 Dec 18, 2024
@bjaglin
Copy link
Collaborator

bjaglin commented Dec 19, 2024

[error] sbt.librarymanagement.ResolveException: Error downloading org.scalameta:metaconfig-docs_2.13:0.14.0
[error]   Not found
[error]   Not found
[error]   not found: /home/runner/.ivy2/local/org.scalameta/metaconfig-docs_2.13/0.14.0/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/org/scalameta/metaconfig-docs_2.13/0.14.0/metaconfig-docs_2.13-0.14.0.pom
[error]   not found: https://oss.sonatype.org/content/repositories/snapshots/org/scalameta/metaconfig-docs_2.13/0.14.0/metaconfig-docs_2.13-0.14.0.pom
[error]   not found: https://s01.oss.sonatype.org/content/repositories/snapshots/org/scalameta/metaconfig-docs_2.13/0.14.0/metaconfig-docs_2.13-0.14.0.pom
[error]   not found: https://oss.sonatype.org/content/repositories/public/org/scalameta/metaconfig-docs_2.13/0.14.0/metaconfig-docs_2.13-0.14.0.pom
[error]   not found: https://s01.oss.sonatype.org/content/repositories/public/org/scalameta/metaconfig-docs_2.13/0.14.0/metaconfig-docs_2.13-0.14.0.pom
[error]   not found: /home/runner/.m2/repository/org/scalameta/metaconfig-docs_2.13/0.14.0/metaconfig-docs_2.13-0.14.0.pom

@tgodzik
Copy link
Contributor

tgodzik commented Dec 19, 2024

Och, that was my change in scalameta/metaconfig@737be1e

Why do we need to publish metaconfig-docs? I thought it's only for the website.

@tgodzik
Copy link
Contributor

tgodzik commented Dec 19, 2024

I can't see any usage of metaconfig-docs, maybe we can just remove it?

@tgodzik
Copy link
Contributor

tgodzik commented Dec 19, 2024

Looks like we used metaconfig-docs to get "com.lihaoyi" %% "scalatags" % "0.13.1"

@bjaglin
Copy link
Collaborator

bjaglin commented Dec 19, 2024

Good catch @tgodzik, thanks! I will remove metaconfig-docs

@@ -448,7 +448,7 @@ lazy val docs = projectMatrix
scalacOptions += "-Wconf:msg='match may not be exhaustive':s", // silence exhaustive pattern matching warning for documentation
scalacOptions += "-Xfatal-warnings",
mdoc := (Compile / run).evaluated,
libraryDependencies += metaconfigDoc,
Copy link
Collaborator

Choose a reason for hiding this comment

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

@bjaglin bjaglin force-pushed the update/mdoc-2.6.2 branch 2 times, most recently from 4f1ada4 to 9ee43c6 Compare December 21, 2024 12:21
Comment on lines -244 to -247
// https://github.com/scalacenter/scalafix/pull/2025#issuecomment-2264188708
"com.geirsson" %% "metaconfig-core",
"com.geirsson" %% "metaconfig-pprint",
"com.geirsson" %% "metaconfig-typesafe-config"
Copy link
Collaborator

Choose a reason for hiding this comment

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

this was dead conf since the org rename

Comment on lines +251 to +257
// metaconfig has no breaking change from 0.13.0 to 0.14.0
"org.scalameta" % "metaconfig-core_2.12" % VersionScheme.Always,
"org.scalameta" % "metaconfig-core_2.13" % VersionScheme.Always,
"org.scalameta" % "metaconfig-pprint_2.12" % VersionScheme.Always,
"org.scalameta" % "metaconfig-pprint_2.13" % VersionScheme.Always,
"org.scalameta" % "metaconfig-typesafe-config_2.12" % VersionScheme.Always,
"org.scalameta" % "metaconfig-typesafe-config_2.13" % VersionScheme.Always
Copy link
Collaborator

Choose a reason for hiding this comment

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

explicit binary suffix is required because libraryDependencySchemes does not honor for3Use2_13

@bjaglin bjaglin merged commit ec767bb into main Dec 21, 2024
9 checks passed
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