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

scala-xml version incompatible with scala 2.12.17 #2003

Open
lvitaly opened this issue Feb 1, 2023 · 4 comments
Open

scala-xml version incompatible with scala 2.12.17 #2003

lvitaly opened this issue Feb 1, 2023 · 4 comments

Comments

@lvitaly
Copy link
Contributor

lvitaly commented Feb 1, 2023

scala-compiler's dependency on scala-xml was updated to 2.1.0 in Scala 2.12.17 (see release notes and scala/scala#10108). It leads to an error during sbt update stage.

[error] stack trace is suppressed; run last jvm / update for the full output
[error] (jvm / update) found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error]
[error] 	* org.scala-lang.modules:scala-xml_2.12:2.1.0 (early-semver) is selected over {1.3.0}
[error] 	    +- org.scala-lang:scala-compiler:2.12.17              (depends on 2.1.0)
[error] 	    +- net.liftweb:lift-markdown_2.12:3.5.0               (depends on 1.3.0)
[error] 	    +- net.liftweb:lift-json_2.12:3.5.0                   (depends on 1.3.0)
[error] 	    +- net.liftweb:lift-common_2.12:3.5.0                 (depends on 1.3.0)
[error] 	    +- org.scala-lang.modules:scala-xml_2.12:1.3.0        (depends on 1.3.0)
[error]
[error]
[error] this can be overridden using libraryDependencySchemes or evictionErrorLevel
@lvitaly
Copy link
Contributor Author

lvitaly commented Feb 1, 2023

Here is a discussion about this change in scala-compiler scala/bug#12632

@andreak
Copy link
Member

andreak commented Feb 2, 2023

Has anyone tried changing scala-xml deps to point to version 2.1.0? Does it break anything?

@lvitaly
Copy link
Contributor Author

lvitaly commented Feb 2, 2023

@andreak, I have no chance to try it yet, but I will give it a try in the nearest future for sure.

@andreak
Copy link
Member

andreak commented Feb 22, 2023

@lvitaly I'm using Lift with scala-xml-2.12_2.1.0 and Scala-2.12.7 and it seems to be working fine.

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

2 participants