You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/03/08 11:12:28 UTC

[PR] build: remove hardcoded Scala 2.12 version from gen-scala-server scripted tests; add scala-2_13 test suite [pekko-grpc]

He-Pin opened a new pull request, #649:
URL: https://github.com/apache/pekko-grpc/pull/649

   ## Motivation
   
   Multiple `gen-scala-server` scripted test `build.sbt` files contained a hardcoded `scalaVersion := "2.12.x"`. This prevented the sbt scripted plugin from running them under Scala 2.13, even when the CI matrix passed a 2.13 version.
   
   ## Modification
   
   - Removed `scalaVersion` settings from 11 `sbt-plugin/src/sbt-test/gen-scala-server/*/build.sbt` files
   - Added a new `sbt-plugin/src/sbt-test/scala-2_13/01-basic-client-server/` scripted test directory (mirrors the gen-scala-server/01-basic-client-server test but without any version pinning)
   
   ## Result
   
   The scripted tests are now version-agnostic and will run under the Scala version provided by sbt scripted, enabling cross-2.12/2.13 CI coverage.
   
   Upstream reference: https://github.com/akka/akka-grpc/commit/ff09d8fa


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] build: remove hardcoded Scala 2.12 version from gen-scala-server scripted tests; add scala-2_13 test suite [pekko-grpc]

Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on code in PR #649:
URL: https://github.com/apache/pekko-grpc/pull/649#discussion_r2901711878


##########
sbt-plugin/src/sbt-test/scala-2_13/01-basic-client-server/build.sbt:
##########
@@ -0,0 +1,18 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, which was derived from Akka.
+ */
+
+scalaVersion := "2.13.16"

Review Comment:
   why 2.13.16?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] build: remove hardcoded Scala 2.12 version from gen-scala-server scripted tests; add scala-2_13 test suite [pekko-grpc]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin commented on code in PR #649:
URL: https://github.com/apache/pekko-grpc/pull/649#discussion_r2901715333


##########
sbt-plugin/src/sbt-test/scala-2_13/01-basic-client-server/build.sbt:
##########
@@ -0,0 +1,18 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, which was derived from Akka.
+ */
+
+scalaVersion := "2.13.16"

Review Comment:
   need update the rules:) 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] build: remove hardcoded Scala 2.12 version from gen-scala-server scripted tests; add scala-2_13 test suite [pekko-grpc]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin closed pull request #649: build: remove hardcoded Scala 2.12 version from gen-scala-server scripted tests; add scala-2_13 test suite
URL: https://github.com/apache/pekko-grpc/pull/649


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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