Skip to content

Commit 1fa5dcc

Browse files
Upgrade Scala to 3.7.3 (was 3.7.2) (#1769)
Signed-off-by: Wojciech Mazur <wmazur@virtuslab.com>
1 parent 72ee942 commit 1fa5dcc

File tree

12 files changed

+26
-22
lines changed

12 files changed

+26
-22
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SCALA_3_VERSIONS = [
2222
"3.3.6",
2323
"3.5.2",
2424
"3.6.4",
25-
"3.7.2",
25+
"3.7.3",
2626
]
2727

2828
SCALA_VERSIONS = SCALA_2_VERSIONS + SCALA_3_VERSIONS

dt_patches/dt_patch_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ $runner test_compiler_patch 3.3.6
118118
$runner test_compiler_patch 3.4.3
119119
$runner test_compiler_patch 3.5.2
120120
$runner test_compiler_patch 3.6.4
121-
$runner test_compiler_patch 3.7.2
121+
$runner test_compiler_patch 3.7.3
122122

123123
$runner test_compiler_srcjar_error 2.12.11
124124
$runner test_compiler_srcjar_error 2.12.12
@@ -151,4 +151,4 @@ $runner test_compiler_srcjar_nonhermetic 3.3.6
151151
$runner test_compiler_srcjar 3.4.3
152152
$runner test_compiler_srcjar_nonhermetic 3.5.2
153153
$runner test_compiler_srcjar_nonhermetic 3.6.4
154-
$runner test_compiler_srcjar_nonhermetic 3.7.2
154+
$runner test_compiler_srcjar_nonhermetic 3.7.3

dt_patches/test_dt_patches_user_srcjar/MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ scala_deps.compiler_srcjar(
170170
version = "3.6.4",
171171
)
172172
scala_deps.compiler_srcjar(
173-
url = "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.2/scala3-compiler_3-3.7.2-sources.jar",
174-
version = "3.7.2",
173+
url = "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.3/scala3-compiler_3-3.7.3-sources.jar",
174+
version = "3.7.3",
175175
)
176176

177177
scala_protoc = use_extension(

dt_patches/test_dt_patches_user_srcjar/WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ srcjars_by_version = {
142142
"3.6.4": {
143143
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.6.4/scala3-compiler_3-3.6.4-sources.jar",
144144
},
145-
"3.7.2": {
146-
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.2/scala3-compiler_3-3.7.2-sources.jar",
145+
"3.7.3": {
146+
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.3/scala3-compiler_3-3.7.3-sources.jar",
147147
},
148148
}
149149

examples/scala3/WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ scala_protoc_toolchains(name = "rules_scala_protoc_toolchains")
5757

5858
load("@rules_scala//:scala_config.bzl", "scala_config")
5959

60-
scala_config(scala_version = "3.7.2")
60+
scala_config(scala_version = "3.7.3")
6161

6262
load(
6363
"@rules_scala//scala:toolchains.bzl",

scala/private/macros/compiler_sources_integrity.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,8 @@ COMPILER_SOURCES = {
277277
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.2/scala3-compiler_3-3.7.2-sources.jar",
278278
"integrity": "sha256-OTs9ZH2xRRy074xVBiFgxnm56RmOQ+gfnyv3BiL1JDQ=",
279279
},
280+
"3.7.3": {
281+
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.3/scala3-compiler_3-3.7.3-sources.jar",
282+
"integrity": "sha256-NKSflC15KDDBJ/GLEr0BCSVr7FnxX20VF9VyrbhbGXQ=",
283+
},
280284
}

scripts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ options:
5151
Scala version for which to update repository
5252
information; if not provided, updates all supported
5353
versions: 2.11.12, 2.12.20, 2.13.16, 3.1.3, 3.2.2,
54-
3.3.6, 3.4.3, 3.5.2, 3.6.4, 3.7.2
54+
3.3.6, 3.4.3, 3.5.2, 3.6.4, 3.7.3
5555
--output_dir OUTPUT_DIR
5656
Directory in which to generate or update repository
5757
files (default: .../third_party/repositories)

scripts/create_repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"3.4.3",
2525
"3.5.2",
2626
"3.6.4",
27-
"3.7.2",
27+
"3.7.3",
2828
]
2929
PARSER_COMBINATORS_VERSION = '1.1.2'
3030
SBT_COMPILER_INTERFACE_VERSION = '1.10.8'

scripts/update_compiler_sources_integrity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
] + [
3838
f'3.6.{patch}' for patch in range(0, 5) # 3.6.0 to 3.6.4
3939
] + [
40-
f'3.7.{patch}' for patch in range(0, 3) # 3.7.0 to 3.7.2
40+
f'3.7.{patch}' for patch in range(0, 4) # 3.7.0 to 3.7.3
4141
]
4242

4343
DATA_MARKER = "COMPILER_SOURCES = "

test/shell/test_examples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ test_scala3_6_example() {
5858
}
5959

6060
test_scala3_7_example() {
61-
run_in_example_dir scala3 bazel build --repo_env=SCALA_VERSION=3.7.2 //...
61+
run_in_example_dir scala3 bazel build --repo_env=SCALA_VERSION=3.7.3 //...
6262
}
6363

6464
test_semanticdb_example() {

0 commit comments

Comments
 (0)