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

Upgrade version of scala in build.sbt to 2.12.10 #635

Open
metterklume opened this issue Apr 22, 2020 · 7 comments
Open

Upgrade version of scala in build.sbt to 2.12.10 #635

metterklume opened this issue Apr 22, 2020 · 7 comments

Comments

@metterklume
Copy link

On Mac Os running 'sbt test' gave me a
[error] java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI

Suggested Fix
In build.sbt:

scalaVersion := "2.12.8"
--> scalaVersion := "2.12.10"

System details

sbt --version
sbt version in this project: 1.3.8
sbt script version: 1.3.8
java --version
  java 12 2019-03-19
  Java(TM) SE Runtime Environment (build 12+33)
  Java HotSpot(TM) 64-Bit Server VM (build 12+33, mixed mode, sharing)
@anne-turpaud
Copy link

I wanted to give this issue a shoutout, because I had the exact same issue and the suggested fix worked wonders for me. Thanks !

@ErikSchierboom
Copy link
Member

@metterklume @anne-turpaud Would one of you be interested in doing a PR to update the exercises to the suggested sbt version?

@anne-turpaud
Copy link

I can't promise I'll do it extremely quickly because I've just discovered these Scala exercices, but yes, I can have a look into it.

@ErikSchierboom
Copy link
Member

@anne-turpaud No rush! Take your time :)

@LarsWestergren
Copy link
Contributor

Does this only refer to the exercises themselves? If so, scala version in all tests seem to have been updated in
commit 582a3f5
to 2.13.6

If so, this can be closed. There is however in this project itself, a reference to scala 2.12.8:
./project/Build.scala

Should this be updated too?

@LarsWestergren
Copy link
Contributor

These files look unused since they are so out of date?
https://github.com/exercism/scala/tree/main/project

I can update them if required, otherwise I will add PR to delete them, then this issue can be closed since the scala version for exercises have been updated to 2.13.6 (and a Scala 3 update is on the way).

@ErikSchierboom
Copy link
Member

I think those files are no longer used. They used to be used in CI, but that now runs https://github.com/exercism/scala/blob/main/bin/test in which I don't see any reference to that project. Feel free to send a PR to remove those files.

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

4 participants