GitHub user raboof added a comment to the discussion: close 1.2 development and 
start 2.0 work

This sounds great.

> I would prefer if we don't do anything too drastic so that our Pekko 
> [modules](https://pekko.apache.org/modules.html) that were built with Pekko 
> 1.x would still work with Pekko 2.x. This avoids having to quickly release 
> 2.0 versions of all of the Pekko modules. Also helps the general Pekko lib 
> ecosystem.

I like this goal. We might need something to make sbt happy, though: with the 
following test project:

```
scalaVersion := "2.13.16"
libraryDependencies ++= Seq(
  "org.apache.pekko" %% "pekko-actor" % "2.0.0",
  "org.apache.pekko" %% "pekko-management" % "1.1.1"
)
```

sbt now gives:

```
[error] java.lang.RuntimeException: found version conflict(s) in library 
dependencies; some are suspected to be binary incompatible:
[error] 
[error]         * org.apache.pekko:pekko-actor_2.13:2.0.0 (semver-spec) is 
selected over {1.1.3}
[error]            +- default:pekko-deps_2.13:0.1.0-SNAPSHOT             
(depends on 2.0.0)
[error]            +- org.apache.pekko:pekko-stream_2.13:1.1.3           
(depends on 1.1.3)
[error]            +- org.apache.pekko:pekko-management_2.13:1.1.1       
(depends on 1.1.3)
[error] 
[error] 
[error] this can be overridden using libraryDependencySchemes or 
evictionErrorLevel
[error]         at scala.sys.package$.error(package.scala:30)
[error]         at 
sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:90)
[error]         at 
sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:142)
[error]         at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:74)
[error]         at 
sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:144)
[error]         at 
sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:131)
[error]         at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:220)
[error]         at 
sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:169)
[error]         at sbt.Classpaths$.$anonfun$updateTask0$1(Defaults.scala:3975)
[error]         at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error]         at 
sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error]         at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error]         at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error]         at 
sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error]         at sbt.Execute.work(Execute.scala:292)
[error]         at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error]         at 
sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error]         at 
sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error]         at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error]         at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[error]         at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error]         at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[error]         at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[error]         at java.base/java.lang.Thread.run(Thread.java:1583)
[error] (update) found version conflict(s) in library dependencies; some are 
suspected to be binary incompatible:
[error] 
[error]         * org.apache.pekko:pekko-actor_2.13:2.0.0 (semver-spec) is 
selected over {1.1.3}
[error]            +- default:pekko-deps_2.13:0.1.0-SNAPSHOT             
(depends on 2.0.0)
[error]            +- org.apache.pekko:pekko-stream_2.13:1.1.3           
(depends on 1.1.3)
[error]            +- org.apache.pekko:pekko-management_2.13:1.1.1       
(depends on 1.1.3)
[error] 
[error] 
[error] this can be overridden using libraryDependencySchemes or 
evictionErrorLevel
```

GitHub link: 
https://github.com/apache/pekko/discussions/1956#discussioncomment-13848849

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to