Skip to content

Conversation

@Gedochao
Copy link
Contributor

@Gedochao Gedochao commented Apr 28, 2025

Note: this will drop support for using the current runner and test-runner modules on the JVM with Scala version <3.3.
When the runners would be used for Scala <3.3, the appropriate modules for Scala CLI 1.7.1 would be used as fallback, with a warning being printed.

scala-cli -e 'println("Hello")' --runner -S 3.1
# [warn] Scala 3.1.3 is no longer supported by the runner module.
# [warn] Defaulting to a legacy runner module version: 1.7.1.
# [warn] To use the latest runner, upgrade Scala to at least Scala 3.3.
# Compiling project (Scala 3.1.3, JVM (17))
# Compiled project (Scala 3.1.3, JVM (17))
# Hello
scala-cli test . -S 3.2
# [warn] Scala 3.2.2 is no longer supported by the test-runner module.
# [warn] Defaulting to a legacy test-runner module version: 1.7.1.
# [warn] To use the latest test-runner, upgrade Scala to at least 3.3.
# Compiling project (test, Scala 3.2.2, JVM (17))
# Compiled project (test, Scala 3.2.2, JVM (17))
# Test run started
# Test MyTests.foo started
# Hello, world!
# Test MyTests.foo finished, took 0.001 sec
# Test run finished: 0 failed, 0 ignored, 1 total, 0.003s

@Gedochao Gedochao added needs-minor-release This change should require a minor version bump. needs decision labels Apr 28, 2025
@Gedochao Gedochao changed the title [WIP] Update runner & test-runner to Scala 3.3 LTS [WIP] Update runner & test-runner to Scala 3.3.5 LTS (was 3.0.2) Apr 28, 2025
@Gedochao Gedochao force-pushed the maintenance/bump-runners-to-3.3-lts branch 3 times, most recently from 3f3a86c to 9d18d02 Compare May 5, 2025 07:24
@Gedochao Gedochao added this to the v1.8.0 milestone May 5, 2025
@Gedochao Gedochao force-pushed the maintenance/bump-runners-to-3.3-lts branch 2 times, most recently from 7693c93 to dc5cc72 Compare May 5, 2025 08:58
@Gedochao Gedochao changed the title [WIP] Update runner & test-runner to Scala 3.3.5 LTS (was 3.0.2) Update runner & test-runner to Scala 3.3.5 LTS (was 3.0.2) May 5, 2025
@Gedochao Gedochao force-pushed the maintenance/bump-runners-to-3.3-lts branch from dc5cc72 to 083b2c3 Compare May 5, 2025 09:48
@Gedochao Gedochao marked this pull request as ready for review May 5, 2025 10:49
@Gedochao Gedochao requested a review from tgodzik May 5, 2025 10:49
@Gedochao Gedochao merged commit 5fcc579 into VirtusLab:main May 7, 2025
54 checks passed
@Gedochao Gedochao deleted the maintenance/bump-runners-to-3.3-lts branch May 7, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-minor-release This change should require a minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants