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

The published scala-partest refers to artifacts that are not published since in-sourcing #512

Closed
sjrd opened this issue May 14, 2018 · 2 comments
Assignees

Comments

@sjrd
Copy link
Member

sjrd commented May 14, 2018

Trying to resolve the "org.scala-lang" % "scala-partest" % "2.13.0-pre-68bad81" with scala-integration in the resolvers produces:

> partestSuite/testOnly -- --fastOpt --unknown
[info] Updating {file:/localhome/doeraene/projects/scalajs-0.6.x/}partest...
[info] Resolving org.scala-lang#scala-repl-frontend;2.13.0-pre-68bad81 ...
[info] Checking out Scala source version 2.13.0-pre-68bad81
[warn]  module not found: org.scala-lang#scala-repl-frontend;2.13.0-pre-68bad81
[warn] ==== local: tried
[warn]   /home/doeraene/.ivy2/local/org.scala-lang/scala-repl-frontend/2.13.0-pre-68bad81/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/scala-lang/scala-repl-frontend/2.13.0-pre-68bad81/scala-repl-frontend-2.13.0-pre-68bad81.pom
[warn] ==== scala-integration: tried
[warn]   https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/scala-repl-frontend/2.13.0-pre-68bad81/scala-repl-frontend-2.13.0-pre-68bad81.pom
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/org.scala-lang/scala-repl-frontend/2.13.0-pre-68bad81/ivys/ivy.xml
[info] Resolving org.scala-lang#scala-compiler-doc;2.13.0-pre-68bad81 ...
[warn]  module not found: org.scala-lang#scala-compiler-doc;2.13.0-pre-68bad81
[warn] ==== local: tried
[warn]   /home/doeraene/.ivy2/local/org.scala-lang/scala-compiler-doc/2.13.0-pre-68bad81/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/scala-lang/scala-compiler-doc/2.13.0-pre-68bad81/scala-compiler-doc-2.13.0-pre-68bad81.pom
[warn] ==== scala-integration: tried
[warn]   https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/scala-compiler-doc/2.13.0-pre-68bad81/scala-compiler-doc-2.13.0-pre-68bad81.pom
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/org.scala-lang/scala-compiler-doc/2.13.0-pre-68bad81/ivys/ivy.xml
[info] Resolving com.googlecode.json-simple#json-simple;1.1.1 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.scala-lang#scala-repl-frontend;2.13.0-pre-68bad81: not found
[warn]  :: org.scala-lang#scala-compiler-doc;2.13.0-pre-68bad81: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Unresolved dependencies path:
[warn]          org.scala-lang:scala-repl-frontend:2.13.0-pre-68bad81
[warn]            +- org.scala-lang:scala-partest:2.13.0-pre-68bad81 ((build.Build) Build.scala#L1798)
[warn]            +- org.scala-js:scalajs-partest_2.13.0-pre-68bad81:0.6.23-SNAPSHOT ()
[warn]          org.scala-lang:scala-compiler-doc:2.13.0-pre-68bad81
[warn]            +- org.scala-lang:scala-partest:2.13.0-pre-68bad81 ((build.Build) Build.scala#L1798)
[warn]            +- org.scala-js:scalajs-partest_2.13.0-pre-68bad81:0.6.23-SNAPSHOT ()
[trace] Stack trace suppressed: run last partest/*:update for the full output.
[error] (partest/*:update) sbt.ResolveException: unresolved dependency: org.scala-lang#scala-repl-frontend;2.13.0-pre-68bad81: not found
[error] unresolved dependency: org.scala-lang#scala-compiler-doc;2.13.0-pre-68bad81: not found
[error] Total time: 2 s, completed May 14, 2018 5:11:57 PM

Apparently the scala-partest artifact refers to scala-repl-frontend and scala-compiler-doc, which are not published to scala-integration.

This is not technically a blocker for Scala.js, but it prevents us from running the partest suite. Since we managed to run it to completion a few days ago, I'm not really worried about this, but eventually we'll need to enable partest again for 2.13.x

@SethTisue
Copy link
Member

@sjrd give 2.13.0-pre-0d961ff a try once it builds (it's building now)

@sjrd
Copy link
Member Author

sjrd commented May 20, 2018

Thanks. 2.13.0-pre-0d961ff works :) The fix also gave me an idea to make our build work with vanilla 2.13.0-M4, which is quite important for our CI:

"org.scala-lang" % "scala-partest" % "2.13.0-M4" exclude("org.scala-lang", "scala-repl-frontend") exclude("org.scala-lang", "scala-compiler-doc")

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

3 participants