You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by en...@apache.org on 2024/05/13 08:19:15 UTC

(pekko) branch main updated: Use more realistic version numbers (#1323)

This is an automated email from the ASF dual-hosted git repository.

engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 7ce4c0c5ff Use more realistic version numbers (#1323)
7ce4c0c5ff is described below

commit 7ce4c0c5ffe60427e92547a19e4e1b1a9a9d5412
Author: Philippus Baalman <ph...@gmail.com>
AuthorDate: Mon May 13 10:19:10 2024 +0200

    Use more realistic version numbers (#1323)
---
 .../org/apache/pekko/util/ManifestInfoSpec.scala   | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/actor-tests/src/test/scala/org/apache/pekko/util/ManifestInfoSpec.scala b/actor-tests/src/test/scala/org/apache/pekko/util/ManifestInfoSpec.scala
index 21005bfbaa..e50d28bff5 100644
--- a/actor-tests/src/test/scala/org/apache/pekko/util/ManifestInfoSpec.scala
+++ b/actor-tests/src/test/scala/org/apache/pekko/util/ManifestInfoSpec.scala
@@ -19,27 +19,27 @@ class ManifestInfoSpec extends PekkoSpec {
   "ManifestInfo" should {
     "produce a clear message" in {
       val versions = Map(
-        "pekko-actor" -> new ManifestInfo.Version("2.6.4"),
-        "pekko-persistence" -> new ManifestInfo.Version("2.5.3"),
-        "pekko-cluster" -> new ManifestInfo.Version("2.5.3"),
-        "unrelated" -> new ManifestInfo.Version("2.5.3"))
+        "pekko-actor" -> new ManifestInfo.Version("1.0.2"),
+        "pekko-persistence" -> new ManifestInfo.Version("1.0.1"),
+        "pekko-cluster" -> new ManifestInfo.Version("1.0.1"),
+        "unrelated" -> new ManifestInfo.Version("1.0.1"))
       val allModules = List("pekko-actor", "pekko-persistence", "pekko-cluster")
       ManifestInfo.checkSameVersion("Pekko", allModules, versions) shouldBe Some(
-        "You are using version 2.6.4 of Pekko, but it appears you (perhaps indirectly) also depend on older versions of related artifacts. " +
-        "You can solve this by adding an explicit dependency on version 2.6.4 of the [pekko-persistence, pekko-cluster] artifacts to your project. " +
-        "Here's a complete collection of detected artifacts: (2.5.3, [pekko-cluster, pekko-persistence]), (2.6.4, [pekko-actor]). " +
+        "You are using version 1.0.2 of Pekko, but it appears you (perhaps indirectly) also depend on older versions of related artifacts. " +
+        "You can solve this by adding an explicit dependency on version 1.0.2 of the [pekko-persistence, pekko-cluster] artifacts to your project. " +
+        "Here's a complete collection of detected artifacts: (1.0.1, [pekko-cluster, pekko-persistence]), (1.0.2, [pekko-actor]). " +
         "See also: https://pekko.apache.org/docs/pekko/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed")
     }
 
     "support dynver" in {
       val versions = Map(
-        "pekko-actor" -> new ManifestInfo.Version("2.6.4"),
-        "pekko-persistence" -> new ManifestInfo.Version("2.6.4+10-abababef"))
+        "pekko-actor" -> new ManifestInfo.Version("1.0.2"),
+        "pekko-persistence" -> new ManifestInfo.Version("1.0.2+10-abababef"))
       val allModules = List("pekko-actor", "pekko-persistence")
       ManifestInfo.checkSameVersion("Pekko", allModules, versions) shouldBe Some(
-        "You are using version 2.6.4+10-abababef of Pekko, but it appears you (perhaps indirectly) also depend on older versions of related artifacts. " +
-        "You can solve this by adding an explicit dependency on version 2.6.4+10-abababef of the [pekko-actor] artifacts to your project. " +
-        "Here's a complete collection of detected artifacts: (2.6.4, [pekko-actor]), (2.6.4+10-abababef, [pekko-persistence]). " +
+        "You are using version 1.0.2+10-abababef of Pekko, but it appears you (perhaps indirectly) also depend on older versions of related artifacts. " +
+        "You can solve this by adding an explicit dependency on version 1.0.2+10-abababef of the [pekko-actor] artifacts to your project. " +
+        "Here's a complete collection of detected artifacts: (1.0.2, [pekko-actor]), (1.0.2+10-abababef, [pekko-persistence]). " +
         "See also: https://pekko.apache.org/docs/pekko/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed")
     }
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org