-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
tester version conflict in scala 2.12 but not 2.11. #1229
Comments
@andreasWallner @Dolu1990 have you met this while use scala 2.12? |
This does not appear in scala 2.13 also. |
Didn't see that before but it might be caused by the old scala 2.12 that we are depending on - did you try switching to the latest 2.12.18? |
No, the version has to be changed first on SpinalHDL's repos. Or it will still depends on 2.12.13 which is now the building compiler of SpinalHDL itself. |
We did change the version of few days ago, not released yet though |
But spinal.tester isn't released, right ? I had much pain in general with the second option. |
it is released since 1.8.0. I suppose. |
Ahhh right XD I think we can release a new SpinalHDL version. Seems good to you ? |
It's ok, in new release the project can depends on spinal.tester only. so that no extra scalatest import is required. |
Just released 1.9.4 |
i noticed that and just updated the msys-installer. |
It seems caused by scala 2.12.13, after upgrade to 2.12.18, it works. So the lib version below 1.9.3 would cause this error. |
I am trying on update the SpinalWorkshop and SpinalTemplateSbt to depends on spinal.tester only but import scalatest directly.
So I add below line into build.sbt
it works when I use scala 2.11 as default scala version.
However, when I switched scalaVersion to 2.12, the
sbt test
would report error thatWhere the "org.scala:scalatest-core_2.12:3.2.14" package is required by spinalhdl-tester for testing.
It means that package "org.scala:scalatest-core_2.11:3.2.14" do not have this constraints.
I have also checked that it seems that we need to depend on old package of scalatest to support scala 2.12.
The text was updated successfully, but these errors were encountered: