-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
specs2-commons depends on parser-combinators 2.0.0 #980
Comments
Thanks for reporting this. I'm thinking that we should apply the same treatment as for |
It makes a lot of sense, since then a minor (patch) release such as 4.12.1 -> 4.12.x would not cause disruptions. |
fixed now with |
Yeah, scala-parser-combinators is the same story like scala-xml, we should stay on 1.x for specs 4.12.x |
Ever since 4.12.2, specs2-commons is depending on scala-parser-combinators 2.x:
https://mvnrepository.com/artifact/org.specs2/specs2-common_2.13/4.12.2
I'm raising this in light of the recent scala-xml revert to 1.3.x line in 4.12.5 as it might be something to reconsider.
Also, the code mentions that combinators 2.x are a requirement for
scala-matcher-extra
(https://github.com/etorreborre/specs2/blob/master/project/depends.scala#L18), but as you can see above it's being used within commons, so everywherescala-parser-combinators 2.x seems to be binary incompatible with 1.x as posted here:
https://github.com/scala/scala-parser-combinators/releases/tag/v2.0.0
This causes issues when adding specs2 to e.g. Play projects.
Perhaps explicitly overriding the version to either 2.x or 1.x would work in this type of setup. Will test on our CI.
I don't have a suggestion on how to proceed, raising for awareness.
The text was updated successfully, but these errors were encountered: