diff --git a/scala/scalafmt/toolchain/setup_scalafmt_toolchain.bzl b/scala/scalafmt/toolchain/setup_scalafmt_toolchain.bzl index 63d127c90..9ff4aac97 100644 --- a/scala/scalafmt/toolchain/setup_scalafmt_toolchain.bzl +++ b/scala/scalafmt/toolchain/setup_scalafmt_toolchain.bzl @@ -10,6 +10,7 @@ _SCALAFMT_DEPS = [ "@org_scalameta_scalafmt_core", "@org_scalameta_scalameta", "@org_scalameta_trees", + "@org_scala_lang_modules_scala_collection_compat", ] def setup_scalafmt_toolchain( diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 000000000..dfc6a09cf --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,61 @@ +# Update/create scala_x_x.bzl repository file script + +- [About](#about) +- [Usage](#usage) +- [Examples](#examples) +- [Debugging](#debugging) +- [Requirements](#requirements) + +### About +The script allows to update a certain scala_x_x.bzl file and its content (artifact, sha, dependencies), by changing the value of `root_scala_version` variable. +It can be used to create non-existent file for chosen Scala version.
+It's using a [https://get-coursier.io/docs/](coursier) in order to **resolve** lists the transitive dependencies of dependencies and **fetch** the JARs of it. + +### Usage +Usage from `/rules_scala/scripts`: +```` +python3 create_repository.py +```` + +### Examples +Current value of `root_scala_versions`: +``` +root_scala_versions = ["2.11.12", "2.12.19", "2.13.14", "3.1.3", "3.2.2", "3.3.3", "3.4.3", "3.5.0"] +``` + +To **update** content of `scala_3_4.bzl` file: +``` +root_scala_versions = ["2.11.12", "2.12.19", "2.13.14", "3.1.3", "3.2.2", "3.3.3", "3.4.4", "3.5.0"] + ^^^^^^^ <- updated version +``` + +To **create** new `scala_3_6.bzl` file: +``` +root_scala_versions = ["2.11.12", "2.12.19", "2.13.14", "3.1.3", "3.2.2", "3.3.3", "3.4.3", "3.5.0", "3.6.0"] + ^^^^^^^ <- new version +``` + +### Debugging +Certain dependency version may not have a support for chosen Scala version e.g. +``` +kind_projector_version = "0.13.2" if scala_major < "2.13" else "0.13.3" +``` + +In order of that, there may be situations that script won't work. To debug that problem and adjust the values of hard-coded variables: +``` +scala_test_major = "3" if scala_major >= "3.0" else scala_major +scala_fmt_major = "2.13" if scala_major >= "3.0" else scala_major +kind_projector_version = "0.13.2" if scala_major < "2.13" else "0.13.3" +f"org.scalameta:scalafmt-core_{scala_fmt_major}:{"2.7.5" if scala_major == "2.11" else scala_fmt_version}" +``` +there is an option to print the output of these two subprocesses: + +`output = subprocess.run(f'cs fetch {artifact}', capture_output=True, text=True, shell=True).stdout.splitlines()`
+ +``` + command = f'cs resolve {' '.join(root_artifacts)}' + output = subprocess.run(command, capture_output=True, text=True, shell=True).stdout.splitlines() +``` + +### Requirements +Installed [Coursier](https://get-coursier.io/) and [Python 3](https://www.python.org/downloads/) \ No newline at end of file diff --git a/scripts/create_repository.py b/scripts/create_repository.py new file mode 100644 index 000000000..675d16654 --- /dev/null +++ b/scripts/create_repository.py @@ -0,0 +1,198 @@ +import subprocess +from dataclasses import dataclass +from pathlib import Path +from typing import List +from typing import Dict +import urllib.request +import time +import hashlib +import json +import ast +import copy +import glob +import os + +root_scala_versions = ["2.11.12", "2.12.19", "2.13.14", "3.1.3", "3.2.2", "3.3.3", "3.4.3", "3.5.0"] +scala_test_version = "3.2.9" +scala_fmt_version = "3.0.0" + +@dataclass +class MavenCoordinates: + group: str + artifact: str + version: str + coordinate: str + +@dataclass +class ResolvedArtifact: + coordinates: MavenCoordinates + checksum: str + direct_dependencies: List[MavenCoordinates] + +def select_root_artifacts(scala_version) -> List[str]: + scala_major = ".".join(scala_version.split(".")[:2]) + scala_test_major = "3" if scala_major >= "3.0" else scala_major + scala_fmt_major = "2.13" if scala_major >= "3.0" else scala_major + kind_projector_version = "0.13.2" if scala_major < "2.13" else "0.13.3" + + common_root_artifacts = [ + f"org.scalatest:scalatest_{scala_test_major}:{scala_test_version}", + f"org.scalameta:scalafmt-core_{scala_fmt_major}:{"2.7.5" if scala_major == "2.11" else scala_fmt_version}" + ] + + scala_artifacts = [ + f'org.scala-lang:scala3-library_3:{scala_version}', + f'org.scala-lang:scala3-compiler_3:{scala_version}', + f'org.scala-lang:scala3-interfaces:{scala_version}', + f'org.scala-lang:tasty-core_3:{scala_version}' + ] if scala_major[0] == "3" else [ + f'org.scala-lang:scala-library:{scala_version}', + f'org.scala-lang:scala-compiler:{scala_version}', + f'org.scala-lang:scala-reflect:{scala_version}', + f'org.scalameta:semanticdb-scalac_{scala_version}:4.9.9', + f'org.typelevel:kind-projector_{scala_version}:{kind_projector_version}' + ] + + return common_root_artifacts + scala_artifacts + +def get_maven_coordinates(artifact) -> MavenCoordinates: + splitted = artifact.split(':') + version = splitted[2] if splitted[2][0].isnumeric() else splitted[3] + return MavenCoordinates(splitted[0], splitted[1], version, artifact) + +def get_mavens_coordinates_from_json(artifacts) -> List[MavenCoordinates]: + return list(map(lambda artifact: get_maven_coordinates(artifact), artifacts)) + +def get_artifact_checksum(artifact) -> str: + output = subprocess.run(f'cs fetch {artifact}', capture_output=True, text=True, shell=True).stdout.splitlines() + possible_url = [o for o in output if "https" in o][0] + possible_url = possible_url[possible_url.find("https"):].replace('https/', 'https://') + try: + with urllib.request.urlopen(possible_url) as value: + body = value.read() + return hashlib.sha256(body).hexdigest() + except urllib.error.HTTPError as e: + print(f'RESOURCES NOT FOUND: {possible_url}') + +def get_json_dependencies(artifact) -> List[MavenCoordinates]: + with open('out.json') as file: + data = json.load(file) + return get_mavens_coordinates_from_json(dependency["directDependencies"]) if any((dependency := d)["coord"] == artifact for d in data["dependencies"]) else [] + +def get_label(coordinate) -> str: + if ("org.scala-lang" in coordinate.group or "org.scalatest" in coordinate.group or "org.scalactic" in coordinate.group or "com.twitter" in coordinate.group or "javax.annotation" in coordinate.group) and "scala-collection" not in coordinate.artifact and "scalap" not in coordinate.artifact: + return "io_bazel_rules_scala_" + coordinate.artifact.split('_')[0].replace('-', '_') + elif "org.openjdk.jmh" in coordinate.group or "org.ow2.asm" in coordinate.group or "net.sf.jopt-simple" in coordinate.group or "org.apache.commons" in coordinate.group or "junit" in coordinate.group or "org.hamcrest" in coordinate.group or "org.specs2" in coordinate.group: + return "io_bazel_rules_scala_" + coordinate.group.replace('.', '_').replace('-', '_') + '_' + coordinate.artifact.split('_')[0].replace('-', '_') + elif "mustache" in coordinate.group or "guava" in coordinate.group or "scopt" in coordinate.group: + return "io_bazel_rules_scala_" + coordinate.group.split('.')[-1] + elif "com.thesamet.scalapb" in coordinate.group or "io." in coordinate.group or "com.google.guava" in coordinate.group: + return "scala_proto_rules_" + coordinate.artifact.split('_')[0].replace('-', '_') + else: + return (coordinate.group.replace('.', '_').replace('-', '_') + '_' + coordinate.artifact.split('_')[0].replace('-', '_')).replace('_v2', '') + +def map_to_resolved_artifacts(output) -> List[ResolvedArtifact]: + resolved_artifacts = [] + subprocess.call(f'cs fetch {' '.join(output)} --json-output-file out.json', shell=True) + for o in output: + replaced = o.replace(':default','') + coordinates = get_maven_coordinates(replaced) + checksum = get_artifact_checksum(replaced) + direct_dependencies = get_json_dependencies(replaced) + resolved_artifacts.append(ResolvedArtifact(coordinates, checksum, direct_dependencies)) + return resolved_artifacts + +def resolve_artifacts_with_checksums_and_direct_dependencies(root_artifacts) -> List[ResolvedArtifact]: + command = f'cs resolve {' '.join(root_artifacts)}' + output = subprocess.run(command, capture_output=True, text=True, shell=True).stdout.splitlines() + return map_to_resolved_artifacts(output) + +def to_rules_scala_compatible_dict(artifacts, version) -> Dict[str, Dict]: + temp = {} + + for a in artifacts: + label = get_label(a.coordinates).replace('scala3_', 'scala_').replace('scala_tasty_core', 'scala_scala_tasty_core') + deps = [f'@{get_label(dep)}_2' if "scala3-library_3" in a.coordinates.artifact else f'@{get_label(dep)}' for dep in a.direct_dependencies] + + temp[label] = { + "artifact": f"{a.coordinates.coordinate}", + "sha256": f"{a.checksum}", + } if not deps else { + "artifact": f"{a.coordinates.coordinate}", + "sha256": f"{a.checksum}", + "deps:": deps, + } + + return temp + +def is_that_trailing_coma(content, char, indice) -> bool: + return content[indice] == char and content[indice+1] != ',' and content[indice+1] != ':' and content[indice+1] != '@' and not content[indice+1].isalnum() + +def get_with_trailing_commas(content) -> str: + copied = copy.deepcopy(content) + content_length = len(copied) + i = 0 + + while i < content_length - 1: + if is_that_trailing_coma(copied, '"', i): + copied = copied[:i] + '",' + copied[i + 1:] + content_length = content_length + 1 + i = i+2 + elif is_that_trailing_coma(copied, ']', i): + copied = copied[:i] + '],' + copied[i + 1:] + content_length = content_length + 1 + i = i+2 + elif is_that_trailing_coma(copied, '}', i): + copied = copied[:i] + '},' + copied[i + 1:] + content_length = content_length + 1 + i = i+2 + else: + i = i+1 + + return copied + +def write_to_file(artifact_dict, version, file): + with file.open('w') as data: + data.write(f'scala_version = "{version}"\n') + data.write('\nartifacts = ') + data.write(f'{get_with_trailing_commas(json.dumps(artifact_dict, indent=4).replace('true', 'True').replace('false', 'False'))}\n') + +def create_file(version): + path = os.getcwd().replace('/scripts', '/third_party/repositories') + file = Path(f'{path}/{'scala_' + "_".join(version.split(".")[:2]) + '.bzl'}') + + if not file.exists(): + file_to_copy = Path(sorted(glob.glob(f'{path}/*.bzl'))[-1]) + with file.open('w+') as data, file_to_copy.open('r') as data_to_copy: + for line in data_to_copy: + data.write(line) + + with file.open('r+') as data: + excluded_artifacts = ["org.scala-lang.modules:scala-parser-combinators_2.11:1.0.4"] + root_artifacts = select_root_artifacts(version) + read_data = data.read() + replaced_data = read_data[read_data.find('{'):] + + original_artifact_dict = ast.literal_eval(replaced_data) + labels = original_artifact_dict.keys() + + transitive_artifacts: List[ResolvedArtifact] = resolve_artifacts_with_checksums_and_direct_dependencies(root_artifacts) + generated_artifact_dict = to_rules_scala_compatible_dict(transitive_artifacts, version) + generated_labels = generated_artifact_dict.keys() + + for label in labels: + if label in generated_labels and generated_artifact_dict[label]["artifact"] not in excluded_artifacts: + artifact = generated_artifact_dict[label]["artifact"] + sha = generated_artifact_dict[label]["sha256"] + deps = generated_artifact_dict[label]["deps:"] if "deps:" in generated_artifact_dict[label] else [] + original_artifact_dict[label]["artifact"] = artifact + original_artifact_dict[label]["sha256"] = sha + if deps: + dependencies = [d for d in deps if d[1:] in labels and "runtime" not in d and "runtime" not in artifact] + if dependencies: + original_artifact_dict[label]["deps"] = dependencies + + write_to_file(original_artifact_dict, version, file) + +for version in root_scala_versions: + create_file(version) \ No newline at end of file diff --git a/third_party/repositories/scala_2_11.bzl b/third_party/repositories/scala_2_11.bzl index 06431a6bc..15dda16c1 100644 --- a/third_party/repositories/scala_2_11.bzl +++ b/third_party/repositories/scala_2_11.bzl @@ -2,68 +2,144 @@ scala_version = "2.11.12" artifacts = { "io_bazel_rules_scala_scala_library": { - "artifact": "org.scala-lang:scala-library:%s" % scala_version, + "artifact": "org.scala-lang:scala-library:2.11.12", "sha256": "0b3d6fd42958ee98715ba2ec5fe221f4ca1e694d7c981b0ae0cd68e97baf6dce", }, "io_bazel_rules_scala_scala_compiler": { - "artifact": "org.scala-lang:scala-compiler:%s" % scala_version, + "artifact": "org.scala-lang:scala-compiler:2.11.12", "sha256": "3e892546b72ab547cb77de4d840bcfd05c853e73390fed7370a8f19acb0735a0", + "deps": [ + "@io_bazel_rules_scala_scala_parser_combinators", + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + ], }, "io_bazel_rules_scala_scala_reflect": { - "artifact": "org.scala-lang:scala-reflect:%s" % scala_version, + "artifact": "org.scala-lang:scala-reflect:2.11.12", "sha256": "6ba385b450a6311a15c918cf8688b9af9327c6104f0ecbd35933cfcd3095fe04", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, "io_bazel_rules_scala_scalatest": { "artifact": "org.scalatest:scalatest_2.11:3.2.9", "sha256": "45affb34dd5b567fa943a7e155118ae6ab6c4db2fd34ca6a6c62ea129a1675be", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + "@io_bazel_rules_scala_scalatest_featurespec", + "@io_bazel_rules_scala_scalatest_flatspec", + "@io_bazel_rules_scala_scalatest_freespec", + "@io_bazel_rules_scala_scalatest_funspec", + "@io_bazel_rules_scala_scalatest_funsuite", + "@io_bazel_rules_scala_scalatest_matchers_core", + "@io_bazel_rules_scala_scalatest_mustmatchers", + "@io_bazel_rules_scala_scalatest_shouldmatchers", + ], }, "io_bazel_rules_scala_scalatest_compatible": { - "artifact": "org.scalatest:scalatest-compatible:jar:3.2.9", + "artifact": "org.scalatest:scalatest-compatible:3.2.9", "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { "artifact": "org.scalatest:scalatest-core_2.11:3.2.9", "sha256": "003cb40f78cbbffaf38203b09c776d06593974edf1883a933c1bbc0293a2f280", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalactic", + "@io_bazel_rules_scala_scalatest_compatible", + ], }, "io_bazel_rules_scala_scalatest_featurespec": { "artifact": "org.scalatest:scalatest-featurespec_2.11:3.2.9", "sha256": "41567216bbd338625e77cd74ca669c88f59ff2da8adeb362657671bb43c4e462", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_flatspec": { "artifact": "org.scalatest:scalatest-flatspec_2.11:3.2.9", "sha256": "3e89091214985782ff912559b7eb1ce085f6117db8cff65663e97325dc264b91", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_freespec": { "artifact": "org.scalatest:scalatest-freespec_2.11:3.2.9", "sha256": "7c3e26ac0fa165263e4dac5dd303518660f581f0f8b0c20ba0b8b4a833ac9b9e", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funsuite": { "artifact": "org.scalatest:scalatest-funsuite_2.11:3.2.9", "sha256": "dc2100fe45b577c464f01933d8e605c3364dbac9ba24cd65222a5a4f3000717c", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funspec": { "artifact": "org.scalatest:scalatest-funspec_2.11:3.2.9", "sha256": "6ed2de364aacafcb3390144501ed4e0d24b7ff1431e8b9e6503d3af4bc160196", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_matchers_core": { "artifact": "org.scalatest:scalatest-matchers-core_2.11:3.2.9", "sha256": "06eb7b5f3a8e8124c3a92e5c597a75ccdfa3fae022bc037770327d8e9c0759b4", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_shouldmatchers": { "artifact": "org.scalatest:scalatest-shouldmatchers_2.11:3.2.9", "sha256": "444545c33a3af8d7a5166ea4766f376a5f2c209854c7eb630786c8cb3f48a706", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalatest_mustmatchers": { "artifact": "org.scalatest:scalatest-mustmatchers_2.11:3.2.9", "sha256": "b0ba6b9db7a2d1a4f7a3cf45b034b65481e31da8748abc2f2750cf22619d5a45", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalactic": { "artifact": "org.scalactic:scalactic_2.11:3.2.9", "sha256": "97b439fe61d1c655a8b29cdab8182b15b41b2308923786a348fc7b9f8f72b660", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + ], }, "io_bazel_rules_scala_scala_xml": { - "artifact": "org.scala-lang.modules:scala-xml_2.11:1.2.0", - "sha256": "eaddac168ef1e28978af768706490fa4358323a08964c25fa1027c52238e3702", + "artifact": "org.scala-lang.modules:scala-xml_2.11:1.3.0", + "sha256": "0f6dc9b10f2ed3b1cc461330c17e76a2cb7c9874289454407551d4bace712d66", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.11:1.1.2", @@ -78,8 +154,8 @@ artifacts = { ], }, "org_scalameta_semanticdb_scalac": { - "artifact": "org.scalameta:semanticdb-scalac_%s:4.8.6" % scala_version, - "sha256": "5700b0b425eac8e1d0c27660ae96879ef688731cc0d2f2e8cdc7e20496f87670", + "artifact": "org.scalameta:semanticdb-scalac_2.11.12:4.9.9", + "sha256": "1adfd051c4b4e1c69a49492cbcf558011beba78e79aaeef1319d29e8408e341d", "deps": [ "@io_bazel_rules_scala_scala_library", ], @@ -140,7 +216,6 @@ artifacts = { "artifact": "org.scalameta:trees_2.11:4.3.22", "sha256": "59c3c27a579d893118e4e6b29db7b17fec010b3bb63cafe995be50fe907d4026", "deps": [ - "@com_thesamet_scalapb_scalapb_runtime", "@io_bazel_rules_scala_scala_library", "@org_scalameta_common", "@org_scalameta_fastparse", @@ -154,8 +229,8 @@ artifacts = { ], }, "com_typesafe_config": { - "artifact": "com.typesafe:config:1.3.3", - "sha256": "b5f1d6071f1548d05be82f59f9039c7d37a1787bd8e3c677e31ee275af4a4621", + "artifact": "com.typesafe:config:1.2.1", + "sha256": "c160fbd78f51a0c2375a794e435ce2112524a6871f64d0331895e9e26ee8b9ee", }, "org_scala_lang_scalap": { "artifact": "org.scala-lang:scalap:2.11.12", @@ -206,24 +281,24 @@ artifacts = { ], }, "com_lihaoyi_sourcecode": { - "artifact": "com.lihaoyi:sourcecode_2.11:0.1.7", - "sha256": "33516d7fd9411f74f05acfd5274e1b1889b7841d1993736118803fc727b2d5fc", + "artifact": "com.lihaoyi:sourcecode_2.11:0.2.1", + "sha256": "4b45e8b4efee81457b97439e250cd80a67f1ddbe896735cca0f05c88ebead58c", "deps": [ "@io_bazel_rules_scala_scala_library", ], }, "com_google_protobuf_protobuf_java": { - "artifact": "com.google.protobuf:protobuf-java:3.10.0", - "sha256": "161d7d61a8cb3970891c299578702fd079646e032329d6c2cabf998d191437c9", + "artifact": "com.google.protobuf:protobuf-java:3.8.0", + "sha256": "94ba90a869ddad07eb49afaa8f39e676c2554b5b1c417ad9e1188257e79be60f", }, "com_geirsson_metaconfig_core": { "artifact": "com.geirsson:metaconfig-core_2.11:0.9.10", "sha256": "c8b8f64e42d52a0bd7af1094c46c1fc15773f3bc62d014b833509679e857035b", "deps": [ "@com_lihaoyi_pprint", + "@org_scala_lang_modules_scala_collection_compat", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", - "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { @@ -461,8 +536,6 @@ artifacts = { "artifact": "com.github.scopt:scopt_2.11:4.0.0-RC2", "sha256": "956dfc89d3208e4a6d8bbfe0205410c082cee90c4ce08be30f97c044dffc3435", }, - - # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.11:0.17.0", @@ -511,7 +584,11 @@ artifacts = { }, "org_typelevel_kind_projector": { "testonly": True, - "artifact": "org.typelevel:kind-projector_%s:0.13.2" % scala_version, + "artifact": "org.typelevel:kind-projector_2.11.12:0.13.2", "sha256": "8f7287973f7f8fc9372b59d36120e3fac5839344f65c8f640351794e8907145c", + "deps": [ + "@io_bazel_rules_scala_scala_compiler", + "@io_bazel_rules_scala_scala_library", + ], }, } diff --git a/third_party/repositories/scala_2_12.bzl b/third_party/repositories/scala_2_12.bzl index 6e56827d6..3c9e49702 100644 --- a/third_party/repositories/scala_2_12.bzl +++ b/third_party/repositories/scala_2_12.bzl @@ -2,68 +2,143 @@ scala_version = "2.12.19" artifacts = { "io_bazel_rules_scala_scala_library": { - "artifact": "org.scala-lang:scala-library:%s" % scala_version, + "artifact": "org.scala-lang:scala-library:2.12.19", "sha256": "81e32f8e31236ef84c21287f1fbaa916fc6525b2e63220d4a0f2396e91871d50", }, "io_bazel_rules_scala_scala_compiler": { - "artifact": "org.scala-lang:scala-compiler:%s" % scala_version, + "artifact": "org.scala-lang:scala-compiler:2.12.19", "sha256": "d12975f4cf9a450ea12870243648a851f92165448fdda5a292747cb3bdaecc4f", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + ], }, "io_bazel_rules_scala_scala_reflect": { - "artifact": "org.scala-lang:scala-reflect:%s" % scala_version, + "artifact": "org.scala-lang:scala-reflect:2.12.19", "sha256": "ff6eaa5548779d61d35b98cb25e931951c5a9f1abc48741e9df95324ee2ae66c", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, "io_bazel_rules_scala_scalatest": { "artifact": "org.scalatest:scalatest_2.12:3.2.9", "sha256": "ed4a7e0a2373505ae5b9c4811fa2d2d167f5388556cdcb49bce11f27e18b90fa", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + "@io_bazel_rules_scala_scalatest_featurespec", + "@io_bazel_rules_scala_scalatest_flatspec", + "@io_bazel_rules_scala_scalatest_freespec", + "@io_bazel_rules_scala_scalatest_funspec", + "@io_bazel_rules_scala_scalatest_funsuite", + "@io_bazel_rules_scala_scalatest_matchers_core", + "@io_bazel_rules_scala_scalatest_mustmatchers", + "@io_bazel_rules_scala_scalatest_shouldmatchers", + ], }, "io_bazel_rules_scala_scalatest_compatible": { - "artifact": "org.scalatest:scalatest-compatible:jar:3.2.9", + "artifact": "org.scalatest:scalatest-compatible:3.2.9", "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { "artifact": "org.scalatest:scalatest-core_2.12:3.2.9", "sha256": "8d5bc6b847caaf221fa42cc214dcd1c70fd758aef384a2b6498463db0caf8e3c", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalactic", + "@io_bazel_rules_scala_scalatest_compatible", + ], }, "io_bazel_rules_scala_scalatest_featurespec": { "artifact": "org.scalatest:scalatest-featurespec_2.12:3.2.9", "sha256": "f68bd68cd1f9fc5ccc3bbb004bb843bf01481886952e96e909933960a3365d00", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_flatspec": { "artifact": "org.scalatest:scalatest-flatspec_2.12:3.2.9", "sha256": "bcec89594fda4fc4ffe3c98adaf8e9b7982011433d782b280fe54b6dc8b9f21f", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_freespec": { "artifact": "org.scalatest:scalatest-freespec_2.12:3.2.9", "sha256": "097d551509cbb472d2367ea1b2060b0a27e36bad45ce5828ae2062867b5e8299", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funsuite": { "artifact": "org.scalatest:scalatest-funsuite_2.12:3.2.9", "sha256": "07b6eb20584bc684646dff58ac02019b97a74c2825644f09d514b7dd7cacf067", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funspec": { "artifact": "org.scalatest:scalatest-funspec_2.12:3.2.9", "sha256": "3d4d5b6e79c4398d0ff71f1ad4843f7eaf2acd0d197d782ee5f2437eb214ccf1", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_matchers_core": { "artifact": "org.scalatest:scalatest-matchers-core_2.12:3.2.9", "sha256": "44e6bf24fb6fd4fd9419fcaf8d7e64b20c2916659f5d062d33f2de9a48ffdf09", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_shouldmatchers": { "artifact": "org.scalatest:scalatest-shouldmatchers_2.12:3.2.9", "sha256": "2fce7f0f8cbfbc1a3bc65807cf389b01599ee78af459071e679ba5ed4884b4e2", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalatest_mustmatchers": { "artifact": "org.scalatest:scalatest-mustmatchers_2.12:3.2.9", "sha256": "e443fa6b4b741d1fb21c76ec204df39fec565ea817a3adb2b0b9be7c2a143041", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalactic": { "artifact": "org.scalactic:scalactic_2.12:3.2.9", "sha256": "a5f01a0ecb7479b4f43e03147094279609d66fdaa04a9cb3238510d7c4dbc22a", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + ], }, "io_bazel_rules_scala_scala_xml": { - "artifact": "org.scala-lang.modules:scala-xml_2.12:1.2.0", - "sha256": "1b48dc206f527b7604ef32492ada8e71706c63a65d999e0cabdafdc5793b4d63", + "artifact": "org.scala-lang.modules:scala-xml_2.12:2.2.0", + "sha256": "fd92f78b7acfea72999aceba5b377a000f42f9296d3d98224c9b1c471815582f", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.12:1.1.2", @@ -78,7 +153,7 @@ artifacts = { ], }, "org_scalameta_semanticdb_scalac": { - "artifact": "org.scalameta:semanticdb-scalac_%s:4.9.9" % scala_version, + "artifact": "org.scalameta:semanticdb-scalac_2.12.19:4.9.9", "sha256": "566a6b2c38100df99e7f3cf911a965556f3055e28ebb3caea04cef23eb7307d0", "deps": [ "@io_bazel_rules_scala_scala_library", @@ -88,8 +163,8 @@ artifacts = { "artifact": "org.scalameta:fastparse-v2_2.12:2.3.1", "sha256": "c8ddc110da4b2e3d204e44b2629f4663edeb61094fa7ab4749f2f82b1b0cb026", "deps": [ - "@com_lihaoyi_sourcecode", "@com_lihaoyi_geny", + "@com_lihaoyi_sourcecode", ], }, "org_scalameta_fastparse_utils": { @@ -101,8 +176,8 @@ artifacts = { ], }, "com_lihaoyi_geny": { - "artifact": "com.lihaoyi:geny_2.13:0.6.5", - "sha256": "ca3857a3f95266e0d87e1a1f26c8592c53c12ac7203f911759415f6c8a43df7d", + "artifact": "com.lihaoyi:geny_2.12:0.6.5", + "sha256": "9e81e90ab3e380192e04926d546418d825853de8efea12a7f94e0bd04c250419", }, "org_scala_lang_modules_scala_collection_compat": { "artifact": "org.scala-lang.modules:scala-collection-compat_2.12:2.4.3", @@ -160,8 +235,8 @@ artifacts = { "sha256": "4c0aa7e223c75c8840c41fc183d4cd3118140a1ee503e3e08ce66ed2794c948f", }, "org_scala_lang_scalap": { - "artifact": "org.scala-lang:scalap:2.12.18", - "sha256": "9070f22699b961ace3dc8daef1b40aab6a586e10ab2bb4febeb3886654fe0a69", + "artifact": "org.scala-lang:scalap:2.12.14", + "sha256": "52c37b4e5a37146a9ce5e48b8fb2c39aa0ec7eb867c65708a5cdac786ac79f2a", "deps": [ "@io_bazel_rules_scala_scala_compiler", ], @@ -206,8 +281,8 @@ artifacts = { ], }, "com_lihaoyi_sourcecode": { - "artifact": "com.lihaoyi:sourcecode_2.12:0.2.5", - "sha256": "94f9c383f4d9b8c382de243b0968c02a232be77ff0f1c6677d042717157295ea", + "artifact": "com.lihaoyi:sourcecode_2.12:0.2.7", + "sha256": "52a8e02b1c90de686994a5f9818987cec44c5df97118e4b59fe2414227099c6a", }, "com_google_protobuf_protobuf_java": { "artifact": "com.google.protobuf:protobuf-java:3.10.0", @@ -218,9 +293,9 @@ artifacts = { "sha256": "5efc7a4c5c47df5001c21415ae4e6f37621d731c1895e606029b888728da73c6", "deps": [ "@com_lihaoyi_pprint", + "@org_scala_lang_modules_scala_collection_compat", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", - "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { @@ -458,8 +533,6 @@ artifacts = { "artifact": "com.github.scopt:scopt_2.12:4.0.0-RC2", "sha256": "d19a4e8b8c013a56e03bc57bdf87abe6297c974cf907585d00284eae61c6ac91", }, - - # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.12:0.17.0", @@ -508,7 +581,11 @@ artifacts = { }, "org_typelevel_kind_projector": { "testonly": True, - "artifact": "org.typelevel:kind-projector_%s:0.13.3" % scala_version, - "sha256": "98a53122dedd51f79f23ae03eae3258a2e5dbd51c647eaea4942f98c55b052d1", + "artifact": "org.typelevel:kind-projector_2.12.19:0.13.2", + "sha256": "7d4e821b86647c65546c1e3667348e8168c5907e9d4b277cc2badedcd479be44", + "deps": [ + "@io_bazel_rules_scala_scala_compiler", + "@io_bazel_rules_scala_scala_library", + ], }, } diff --git a/third_party/repositories/scala_2_13.bzl b/third_party/repositories/scala_2_13.bzl index 4b5e368fb..122d0f367 100644 --- a/third_party/repositories/scala_2_13.bzl +++ b/third_party/repositories/scala_2_13.bzl @@ -2,72 +2,149 @@ scala_version = "2.13.14" artifacts = { "io_bazel_rules_scala_scala_library": { - "artifact": "org.scala-lang:scala-library:%s" % scala_version, + "artifact": "org.scala-lang:scala-library:2.13.14", "sha256": "43e0ca1583df1966eaf02f0fbddcfb3784b995dd06bfc907209347758ce4b7e3", }, "io_bazel_rules_scala_scala_compiler": { - "artifact": "org.scala-lang:scala-compiler:%s" % scala_version, + "artifact": "org.scala-lang:scala-compiler:2.13.14", "sha256": "17b7e1dd95900420816a3bc2788c8c7358c2a3c42899765a5c463a46bfa569a6", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + ], }, "io_bazel_rules_scala_scala_reflect": { - "artifact": "org.scala-lang:scala-reflect:%s" % scala_version, + "artifact": "org.scala-lang:scala-reflect:2.13.14", "sha256": "8846baaa8cf43b1b19725ab737abff145ca58d14a4d02e75d71ca8f7ca5f2926", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, "io_bazel_rules_scala_scala_parallel_collections": { "artifact": "org.scala-lang.modules:scala-parallel-collections_2.13:1.0.3", "sha256": "5b9f705652d14005cdc535270547305a4e41d3664f6d15c21b7e0c807f8d6605", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, "io_bazel_rules_scala_scalatest": { "artifact": "org.scalatest:scalatest_2.13:3.2.9", "sha256": "c5d283a5ec028bf06f83d70e2b88d70a149dd574d19e79e8389b49483914b08b", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + "@io_bazel_rules_scala_scalatest_featurespec", + "@io_bazel_rules_scala_scalatest_flatspec", + "@io_bazel_rules_scala_scalatest_freespec", + "@io_bazel_rules_scala_scalatest_funspec", + "@io_bazel_rules_scala_scalatest_funsuite", + "@io_bazel_rules_scala_scalatest_matchers_core", + "@io_bazel_rules_scala_scalatest_mustmatchers", + "@io_bazel_rules_scala_scalatest_shouldmatchers", + ], }, "io_bazel_rules_scala_scalatest_compatible": { - "artifact": "org.scalatest:scalatest-compatible:jar:3.2.9", + "artifact": "org.scalatest:scalatest-compatible:3.2.9", "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { "artifact": "org.scalatest:scalatest-core_2.13:3.2.9", "sha256": "b238f0e42edd471c8d066d25fa925d4c0cfae33b8db1ea79d14ff42047263e5d", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalactic", + "@io_bazel_rules_scala_scalatest_compatible", + ], }, "io_bazel_rules_scala_scalatest_featurespec": { "artifact": "org.scalatest:scalatest-featurespec_2.13:3.2.9", "sha256": "f8ec83a39554c1e44f6ef5e13d9b87bf8257067b0dad8ee6012fec36e318036d", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_flatspec": { "artifact": "org.scalatest:scalatest-flatspec_2.13:3.2.9", "sha256": "6a1bc2f522105b4eda53c225f3d5cbdabbf3e9375136dde57a5b43846369f75a", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_freespec": { "artifact": "org.scalatest:scalatest-freespec_2.13:3.2.9", "sha256": "db3467bb0b34c1ca8d9830cf40179e2900ac01d5119f7a1b6bdcef30adb62214", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funsuite": { "artifact": "org.scalatest:scalatest-funsuite_2.13:3.2.9", "sha256": "d6455470fabc9f3a5a7a50770f6e1a4f4d0114122885637f3df684e5bb501f9d", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funspec": { "artifact": "org.scalatest:scalatest-funspec_2.13:3.2.9", "sha256": "821d13ced0bf96d1470538cbcca3109694148f2637961e5c502639e16ab7eee9", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_matchers_core": { "artifact": "org.scalatest:scalatest-matchers-core_2.13:3.2.9", "sha256": "b86ed6f0986d005f4d54af5effdb73a18fe5741533f6663631d17a0731b9616f", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_shouldmatchers": { "artifact": "org.scalatest:scalatest-shouldmatchers_2.13:3.2.9", "sha256": "39a4eefa409fed5a32eff3647aa4f80628202d966e3cb6a9f01e88dcfae75e4c", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalatest_mustmatchers": { "artifact": "org.scalatest:scalatest-mustmatchers_2.13:3.2.9", "sha256": "e170d4ff75f0e96458b7ec072accd40ff585f9e444b5831ba84287ff2da70f2c", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalactic": { "artifact": "org.scalactic:scalactic_2.13:3.2.9", "sha256": "dcb853409202fee6f8e7216b363aab5b68edc07a51d27b61d5bf3fdf4418c9da", + "deps": [ + "@io_bazel_rules_scala_scala_library", + "@io_bazel_rules_scala_scala_reflect", + ], }, "io_bazel_rules_scala_scala_xml": { "artifact": "org.scala-lang.modules:scala-xml_2.13:1.3.0", "sha256": "6d96d45a7fc6fc7ab69bdbac841b48cf67ab109f048c8db375ae4effae524f39", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.13:1.1.2", @@ -82,7 +159,7 @@ artifacts = { ], }, "org_scalameta_semanticdb_scalac": { - "artifact": "org.scalameta:semanticdb-scalac_%s:4.9.9" % scala_version, + "artifact": "org.scalameta:semanticdb-scalac_2.13.14:4.9.9", "sha256": "c5269b5b7264fc5082357acdb4d9cf6790f49b4195f127878bd4f46659e3c52b", "deps": [ "@io_bazel_rules_scala_scala_library", @@ -92,8 +169,8 @@ artifacts = { "artifact": "org.scalameta:fastparse-v2_2.13:2.3.1", "sha256": "8fca8597ad6d7c13c48009ee13bbe80c176b08ab12e68af54a50f7f69d8447c5", "deps": [ - "@com_lihaoyi_sourcecode", "@com_lihaoyi_geny", + "@com_lihaoyi_sourcecode", ], }, "org_scalameta_fastparse_utils": { @@ -129,10 +206,10 @@ artifacts = { "deps": [ "@com_geirsson_metaconfig_core", "@com_geirsson_metaconfig_typesafe_config", + "@io_bazel_rules_scala_scala_parallel_collections", "@io_bazel_rules_scala_scala_library", "@io_bazel_rules_scala_scala_reflect", "@org_scalameta_scalameta", - "@io_bazel_rules_scala_scala_parallel_collections", ], }, "org_scalameta_scalameta": { @@ -211,8 +288,8 @@ artifacts = { ], }, "com_lihaoyi_sourcecode": { - "artifact": "com.lihaoyi:sourcecode_2.13:0.2.5", - "sha256": "b8f816ad81e3546e4a75cdc74d322f02e6d84fbfa5eb1ea5e1eca666cede524c", + "artifact": "com.lihaoyi:sourcecode_2.13:0.2.7", + "sha256": "a639a90e2d21bbafd8a5e213c65442aad200ee086951605cbda8835bc6ef11d3", }, "com_google_protobuf_protobuf_java": { "artifact": "com.google.protobuf:protobuf-java:3.10.0", @@ -223,9 +300,9 @@ artifacts = { "sha256": "aab728395055a095d1134f76191d40076eaf9d5c9ffc722005da044580269acf", "deps": [ "@com_lihaoyi_pprint", + "@org_scala_lang_modules_scala_collection_compat", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", - "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { @@ -463,8 +540,6 @@ artifacts = { "artifact": "com.github.scopt:scopt_2.13:4.0.0-RC2", "sha256": "07c1937cba53f7509d2ac62a0fc375943a3e0fef346625414c15d41b5a6cfb34", }, - - # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.13:0.17.0", @@ -513,7 +588,11 @@ artifacts = { }, "org_typelevel_kind_projector": { "testonly": True, - "artifact": "org.typelevel:kind-projector_%s:0.13.3" % scala_version, + "artifact": "org.typelevel:kind-projector_2.13.14:0.13.3", "sha256": "569fec54deba82cd143f05a6a0456c9e3bf56bff310b0968f0adb5fb3b352d92", + "deps": [ + "@io_bazel_rules_scala_scala_compiler", + "@io_bazel_rules_scala_scala_library", + ], }, } diff --git a/third_party/repositories/scala_3_1.bzl b/third_party/repositories/scala_3_1.bzl index d67e19fcc..b93c375d0 100644 --- a/third_party/repositories/scala_3_1.bzl +++ b/third_party/repositories/scala_3_1.bzl @@ -2,90 +2,133 @@ scala_version = "3.1.3" artifacts = { "io_bazel_rules_scala_scala_library_2": { - "artifact": "org.scala-lang:scala-library:2.13.5", - "sha256": "52aafeef8e0d104433329b1bc31463d1b4a9e2b8f24f85432c8cfaed9fad2587", + "artifact": "org.scala-lang:scala-library:2.13.8", + "sha256": "a0882b82514190c2bac7d1a459872a75f005fc0f3e88b2bc0390367146e35db7", }, "io_bazel_rules_scala_scala_library": { - "artifact": "org.scala-lang:scala3-library_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-library_3:3.1.3", "sha256": "1ac79970d94a1762ce6af4208820b4fa4c70093409decaad85c69d8b5f46e422", "deps": [ "@io_bazel_rules_scala_scala_library_2", ], }, "io_bazel_rules_scala_scala_compiler": { - "artifact": "org.scala-lang:scala3-compiler_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-compiler_3:3.1.3", "sha256": "140c7bc825b9df3cb69a093adc4f11f7f0992f1fa87bae10d16e89020fe03e82", + "deps": [ + "@io_bazel_rules_scala_scala_asm", + ], }, "io_bazel_rules_scala_scala_interfaces": { - "artifact": "org.scala-lang:scala3-interfaces:%s" % scala_version, + "artifact": "org.scala-lang:scala3-interfaces:3.1.3", "sha256": "dca9bcd395deffca77c1d3919b4cc998234025059a892b10c3674c9a37d6dc9f", }, "io_bazel_rules_scala_scala_tasty_core": { - "artifact": "org.scala-lang:tasty-core_3:%s" % scala_version, + "artifact": "org.scala-lang:tasty-core_3:3.1.3", "sha256": "0a183e880575bcc97a2047761880241784734e7ee094dc6fafd6a8f2109ff1da", }, "io_bazel_rules_scala_scala_asm": { - "artifact": "org.scala-lang.modules:scala-asm:9.1.0-scala-1", - "sha256": "b85af6cbbd6075c4960177c2c3aa03d53b5221fa58b0bc74a31b72f25595e39f", + "artifact": "org.scala-lang.modules:scala-asm:9.2.0-scala-1", + "sha256": "8c34d8f56614901a1f3367b15b38adc8b13107ffd8e141e004f9de1e23db8ea4", }, - - # todo: update to Scala 3.1 versions "io_bazel_rules_scala_scala_parallel_collections": { - "artifact": "org.scala-lang.modules:scala-parallel-collections_2.13:jar:1.0.4", - "sha256": "68f266c4fa37cb20a76e905ad940e241190ce288b7e4a9877f1dd1261cd1a9a7", + "artifact": "org.scala-lang.modules:scala-parallel-collections_2.13:1.0.3", + "sha256": "5b9f705652d14005cdc535270547305a4e41d3664f6d15c21b7e0c807f8d6605", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, - # "io_bazel_rules_scala_scalatest": { "artifact": "org.scalatest:scalatest_3:3.2.9", "sha256": "6a528ed38912f9c69bf2a1be157871fe801bbff590eecb1a56fa25c62570e147", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + "@io_bazel_rules_scala_scalatest_featurespec", + "@io_bazel_rules_scala_scalatest_flatspec", + "@io_bazel_rules_scala_scalatest_freespec", + "@io_bazel_rules_scala_scalatest_funspec", + "@io_bazel_rules_scala_scalatest_funsuite", + "@io_bazel_rules_scala_scalatest_matchers_core", + "@io_bazel_rules_scala_scalatest_mustmatchers", + "@io_bazel_rules_scala_scalatest_shouldmatchers", + ], }, "io_bazel_rules_scala_scalatest_compatible": { - "artifact": "org.scalatest:scalatest-compatible:jar:3.2.9", + "artifact": "org.scalatest:scalatest-compatible:3.2.9", "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { "artifact": "org.scalatest:scalatest-core_3:3.2.9", "sha256": "248674b6269578bc2f57d595f1e484fc02837ef567ba461eafb81294bce611a8", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scalactic", + "@io_bazel_rules_scala_scalatest_compatible", + ], }, "io_bazel_rules_scala_scalatest_featurespec": { "artifact": "org.scalatest:scalatest-featurespec_3:3.2.9", "sha256": "db51db398582b656cc0b90fbd1c6e5c2495125706b1f860b4cdfc5aba1832d0d", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_flatspec": { "artifact": "org.scalatest:scalatest-flatspec_3:3.2.9", "sha256": "b558319f8b4835d25424381dc9b7dcc3b27353cf36dc2c28270dac59e8c8b827", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_freespec": { "artifact": "org.scalatest:scalatest-freespec_3:3.2.9", "sha256": "dfcbce7d8315dca731b2829ad233893f2dec8895543267c086f7c88a618bda97", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funsuite": { "artifact": "org.scalatest:scalatest-funsuite_3:3.2.9", "sha256": "f3aa7a6414a6f0217ab386be38da537738239f073512a00e93967ac34ff3c9d3", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funspec": { "artifact": "org.scalatest:scalatest-funspec_3:3.2.9", "sha256": "a4d0b15fea0f73cc7af7f1e35ae291966f8652fbf811d6525294691fa6fb54d2", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_matchers_core": { "artifact": "org.scalatest:scalatest-matchers-core_3:3.2.9", "sha256": "4aee69baf7cbbd2f8c28e02fab7aead12093bf905b322a4aca9c987de58dffab", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_shouldmatchers": { "artifact": "org.scalatest:scalatest-shouldmatchers_3:3.2.9", "sha256": "5866c9f28faf5389a82d0a66f3539933325eed3a03425c9bf2f495c34f4bb370", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalatest_mustmatchers": { "artifact": "org.scalatest:scalatest-mustmatchers_3:3.2.9", "sha256": "2755b8558acf71603b70d10a02f9df43a216f305318dbcb442d5451f0da32c46", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalactic": { "artifact": "org.scalactic:scalactic_3:3.2.9", "sha256": "dde6c79aeb8ca632ac9aede0a00462b6b75d0db857bf0e9f264a2ed36efcb800", }, "io_bazel_rules_scala_scala_xml": { - "artifact": "org.scala-lang.modules:scala-xml_2.13:1.3.0", - "sha256": "6d96d45a7fc6fc7ab69bdbac841b48cf67ab109f048c8db375ae4effae524f39", + "artifact": "org.scala-lang.modules:scala-xml_3:2.0.0", + "sha256": "98485486ec710ac1851491d318a31bceef372935bc468431c0bc8aff36401ef7", }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.13:1.1.2", @@ -107,8 +150,8 @@ artifacts = { "artifact": "org.scalameta:fastparse-v2_2.13:2.3.1", "sha256": "8fca8597ad6d7c13c48009ee13bbe80c176b08ab12e68af54a50f7f69d8447c5", "deps": [ - "@com_lihaoyi_sourcecode", "@com_lihaoyi_geny", + "@com_lihaoyi_sourcecode", ], }, "org_scalameta_fastparse_utils": { @@ -144,9 +187,9 @@ artifacts = { "deps": [ "@com_geirsson_metaconfig_core", "@com_geirsson_metaconfig_typesafe_config", + "@io_bazel_rules_scala_scala_parallel_collections", "@io_bazel_rules_scala_scala_library", "@org_scalameta_scalameta", - "@io_bazel_rules_scala_scala_parallel_collections", ], }, "org_scalameta_scalameta": { @@ -179,8 +222,8 @@ artifacts = { "sha256": "4c0aa7e223c75c8840c41fc183d4cd3118140a1ee503e3e08ce66ed2794c948f", }, "org_scala_lang_scalap": { - "artifact": "org.scala-lang:scalap:2.13.12", - "sha256": "ba4152ca85f42f04d76d903e006f9848f4e7d0629791d016953f05a5a04954c8", + "artifact": "org.scala-lang:scalap:2.13.6", + "sha256": "bbfa4ab0603f510b16114371a35b9c34d20946edfc1aa8f3fd31014b9f06b5b1", "deps": [ "@io_bazel_rules_scala_scala_compiler", ], @@ -225,21 +268,21 @@ artifacts = { ], }, "com_lihaoyi_sourcecode": { - "artifact": "com.lihaoyi:sourcecode_2.13:0.2.5", - "sha256": "b8f816ad81e3546e4a75cdc74d322f02e6d84fbfa5eb1ea5e1eca666cede524c", + "artifact": "com.lihaoyi:sourcecode_2.13:0.2.7", + "sha256": "a639a90e2d21bbafd8a5e213c65442aad200ee086951605cbda8835bc6ef11d3", }, "com_google_protobuf_protobuf_java": { - "artifact": "com.google.protobuf:protobuf-java:3.10.0", - "sha256": "161d7d61a8cb3970891c299578702fd079646e032329d6c2cabf998d191437c9", + "artifact": "com.google.protobuf:protobuf-java:3.7.0", + "sha256": "dc7f93e3a3dc2c11be5ba9672af3e26410f0a3289312dbf2260d4d8a0c711a51", }, "com_geirsson_metaconfig_core": { "artifact": "com.geirsson:metaconfig-core_2.13:0.9.14", "sha256": "aab728395055a095d1134f76191d40076eaf9d5c9ffc722005da044580269acf", "deps": [ "@com_lihaoyi_pprint", + "@org_scala_lang_modules_scala_collection_compat", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", - "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { @@ -477,8 +520,6 @@ artifacts = { "artifact": "com.github.scopt:scopt_2.13:4.0.0-RC2", "sha256": "07c1937cba53f7509d2ac62a0fc375943a3e0fef346625414c15d41b5a6cfb34", }, - - # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.13:0.17.0", diff --git a/third_party/repositories/scala_3_2.bzl b/third_party/repositories/scala_3_2.bzl index 993dfefab..c5fba03f2 100644 --- a/third_party/repositories/scala_3_2.bzl +++ b/third_party/repositories/scala_3_2.bzl @@ -2,90 +2,133 @@ scala_version = "3.2.2" artifacts = { "io_bazel_rules_scala_scala_library_2": { - "artifact": "org.scala-lang:scala-library:2.13.5", - "sha256": "52aafeef8e0d104433329b1bc31463d1b4a9e2b8f24f85432c8cfaed9fad2587", + "artifact": "org.scala-lang:scala-library:2.13.10", + "sha256": "e6ca607c3fce03e8fa38af3374ce1f8bb098e316e8bf6f6d27331360feddb1c1", }, "io_bazel_rules_scala_scala_library": { - "artifact": "org.scala-lang:scala3-library_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-library_3:3.2.2", "sha256": "f96317c57a5beae2cb16607d2b99cba7b136a96416e736966e5955e6608d868b", "deps": [ "@io_bazel_rules_scala_scala_library_2", ], }, "io_bazel_rules_scala_scala_compiler": { - "artifact": "org.scala-lang:scala3-compiler_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-compiler_3:3.2.2", "sha256": "4b350ee6f6bc5b33f882f0ade788fac930e0f99285bb08d996f59946f8d3889a", + "deps": [ + "@io_bazel_rules_scala_scala_asm", + ], }, "io_bazel_rules_scala_scala_interfaces": { - "artifact": "org.scala-lang:scala3-interfaces:%s" % scala_version, + "artifact": "org.scala-lang:scala3-interfaces:3.2.2", "sha256": "f07bab6250d718613f0f8250cc61cc23217c4fd84c410c3af43b8098fff31f69", }, "io_bazel_rules_scala_scala_tasty_core": { - "artifact": "org.scala-lang:tasty-core_3:%s" % scala_version, + "artifact": "org.scala-lang:tasty-core_3:3.2.2", "sha256": "df0690721532323a3c533385a06a4f532231d012d38f65bd75864718cfabace4", }, "io_bazel_rules_scala_scala_asm": { - "artifact": "org.scala-lang.modules:scala-asm:9.1.0-scala-1", - "sha256": "b85af6cbbd6075c4960177c2c3aa03d53b5221fa58b0bc74a31b72f25595e39f", + "artifact": "org.scala-lang.modules:scala-asm:9.3.0-scala-1", + "sha256": "26bc3a72b537997e289b50b490d72c1b8827208241020d86de2cdf6a7df0f2f5", }, - - # todo: update to Scala 3.1 versions "io_bazel_rules_scala_scala_parallel_collections": { - "artifact": "org.scala-lang.modules:scala-parallel-collections_2.13:jar:1.0.4", - "sha256": "68f266c4fa37cb20a76e905ad940e241190ce288b7e4a9877f1dd1261cd1a9a7", + "artifact": "org.scala-lang.modules:scala-parallel-collections_2.13:1.0.3", + "sha256": "5b9f705652d14005cdc535270547305a4e41d3664f6d15c21b7e0c807f8d6605", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, - # "io_bazel_rules_scala_scalatest": { "artifact": "org.scalatest:scalatest_3:3.2.9", "sha256": "6a528ed38912f9c69bf2a1be157871fe801bbff590eecb1a56fa25c62570e147", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + "@io_bazel_rules_scala_scalatest_featurespec", + "@io_bazel_rules_scala_scalatest_flatspec", + "@io_bazel_rules_scala_scalatest_freespec", + "@io_bazel_rules_scala_scalatest_funspec", + "@io_bazel_rules_scala_scalatest_funsuite", + "@io_bazel_rules_scala_scalatest_matchers_core", + "@io_bazel_rules_scala_scalatest_mustmatchers", + "@io_bazel_rules_scala_scalatest_shouldmatchers", + ], }, "io_bazel_rules_scala_scalatest_compatible": { - "artifact": "org.scalatest:scalatest-compatible:jar:3.2.9", + "artifact": "org.scalatest:scalatest-compatible:3.2.9", "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { "artifact": "org.scalatest:scalatest-core_3:3.2.9", "sha256": "248674b6269578bc2f57d595f1e484fc02837ef567ba461eafb81294bce611a8", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scalactic", + "@io_bazel_rules_scala_scalatest_compatible", + ], }, "io_bazel_rules_scala_scalatest_featurespec": { "artifact": "org.scalatest:scalatest-featurespec_3:3.2.9", "sha256": "db51db398582b656cc0b90fbd1c6e5c2495125706b1f860b4cdfc5aba1832d0d", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_flatspec": { "artifact": "org.scalatest:scalatest-flatspec_3:3.2.9", "sha256": "b558319f8b4835d25424381dc9b7dcc3b27353cf36dc2c28270dac59e8c8b827", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_freespec": { "artifact": "org.scalatest:scalatest-freespec_3:3.2.9", "sha256": "dfcbce7d8315dca731b2829ad233893f2dec8895543267c086f7c88a618bda97", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funsuite": { "artifact": "org.scalatest:scalatest-funsuite_3:3.2.9", "sha256": "f3aa7a6414a6f0217ab386be38da537738239f073512a00e93967ac34ff3c9d3", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funspec": { "artifact": "org.scalatest:scalatest-funspec_3:3.2.9", "sha256": "a4d0b15fea0f73cc7af7f1e35ae291966f8652fbf811d6525294691fa6fb54d2", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_matchers_core": { "artifact": "org.scalatest:scalatest-matchers-core_3:3.2.9", "sha256": "4aee69baf7cbbd2f8c28e02fab7aead12093bf905b322a4aca9c987de58dffab", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_shouldmatchers": { "artifact": "org.scalatest:scalatest-shouldmatchers_3:3.2.9", "sha256": "5866c9f28faf5389a82d0a66f3539933325eed3a03425c9bf2f495c34f4bb370", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalatest_mustmatchers": { "artifact": "org.scalatest:scalatest-mustmatchers_3:3.2.9", "sha256": "2755b8558acf71603b70d10a02f9df43a216f305318dbcb442d5451f0da32c46", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalactic": { "artifact": "org.scalactic:scalactic_3:3.2.9", "sha256": "dde6c79aeb8ca632ac9aede0a00462b6b75d0db857bf0e9f264a2ed36efcb800", }, "io_bazel_rules_scala_scala_xml": { - "artifact": "org.scala-lang.modules:scala-xml_2.13:1.3.0", - "sha256": "6d96d45a7fc6fc7ab69bdbac841b48cf67ab109f048c8db375ae4effae524f39", + "artifact": "org.scala-lang.modules:scala-xml_3:2.0.0", + "sha256": "98485486ec710ac1851491d318a31bceef372935bc468431c0bc8aff36401ef7", }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.13:1.1.2", @@ -107,8 +150,8 @@ artifacts = { "artifact": "org.scalameta:fastparse-v2_2.13:2.3.1", "sha256": "8fca8597ad6d7c13c48009ee13bbe80c176b08ab12e68af54a50f7f69d8447c5", "deps": [ - "@com_lihaoyi_sourcecode", "@com_lihaoyi_geny", + "@com_lihaoyi_sourcecode", ], }, "org_scalameta_fastparse_utils": { @@ -144,9 +187,9 @@ artifacts = { "deps": [ "@com_geirsson_metaconfig_core", "@com_geirsson_metaconfig_typesafe_config", + "@io_bazel_rules_scala_scala_parallel_collections", "@io_bazel_rules_scala_scala_library", "@org_scalameta_scalameta", - "@io_bazel_rules_scala_scala_parallel_collections", ], }, "org_scalameta_scalameta": { @@ -179,8 +222,8 @@ artifacts = { "sha256": "4c0aa7e223c75c8840c41fc183d4cd3118140a1ee503e3e08ce66ed2794c948f", }, "org_scala_lang_scalap": { - "artifact": "org.scala-lang:scalap:2.13.12", - "sha256": "ba4152ca85f42f04d76d903e006f9848f4e7d0629791d016953f05a5a04954c8", + "artifact": "org.scala-lang:scalap:2.13.6", + "sha256": "bbfa4ab0603f510b16114371a35b9c34d20946edfc1aa8f3fd31014b9f06b5b1", "deps": [ "@io_bazel_rules_scala_scala_compiler", ], @@ -225,21 +268,21 @@ artifacts = { ], }, "com_lihaoyi_sourcecode": { - "artifact": "com.lihaoyi:sourcecode_2.13:0.2.5", - "sha256": "b8f816ad81e3546e4a75cdc74d322f02e6d84fbfa5eb1ea5e1eca666cede524c", + "artifact": "com.lihaoyi:sourcecode_2.13:0.2.7", + "sha256": "a639a90e2d21bbafd8a5e213c65442aad200ee086951605cbda8835bc6ef11d3", }, "com_google_protobuf_protobuf_java": { - "artifact": "com.google.protobuf:protobuf-java:3.10.0", - "sha256": "161d7d61a8cb3970891c299578702fd079646e032329d6c2cabf998d191437c9", + "artifact": "com.google.protobuf:protobuf-java:3.7.0", + "sha256": "dc7f93e3a3dc2c11be5ba9672af3e26410f0a3289312dbf2260d4d8a0c711a51", }, "com_geirsson_metaconfig_core": { "artifact": "com.geirsson:metaconfig-core_2.13:0.9.14", "sha256": "aab728395055a095d1134f76191d40076eaf9d5c9ffc722005da044580269acf", "deps": [ "@com_lihaoyi_pprint", + "@org_scala_lang_modules_scala_collection_compat", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", - "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { @@ -477,8 +520,6 @@ artifacts = { "artifact": "com.github.scopt:scopt_2.13:4.0.0-RC2", "sha256": "07c1937cba53f7509d2ac62a0fc375943a3e0fef346625414c15d41b5a6cfb34", }, - - # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.13:0.17.0", diff --git a/third_party/repositories/scala_3_3.bzl b/third_party/repositories/scala_3_3.bzl index c44c2582b..a416edbb6 100644 --- a/third_party/repositories/scala_3_3.bzl +++ b/third_party/repositories/scala_3_3.bzl @@ -2,88 +2,133 @@ scala_version = "3.3.3" artifacts = { "io_bazel_rules_scala_scala_library_2": { - "artifact": "org.scala-lang:scala-library:2.13.5", - "sha256": "52aafeef8e0d104433329b1bc31463d1b4a9e2b8f24f85432c8cfaed9fad2587", + "artifact": "org.scala-lang:scala-library:2.13.12", + "sha256": "c6a879e4973a60f6162668542a33eaccc2bb565d1c934fb061c5844259131dd1", }, "io_bazel_rules_scala_scala_library": { - "artifact": "org.scala-lang:scala3-library_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-library_3:3.3.3", "sha256": "16fe064f1373ed6f098d3d9f812a398ed5075db4bf2721c04e630502cb352816", "deps": [ "@io_bazel_rules_scala_scala_library_2", ], }, "io_bazel_rules_scala_scala_compiler": { - "artifact": "org.scala-lang:scala3-compiler_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-compiler_3:3.3.3", "sha256": "f22bd99272f7634919b926f778be19a447e7d0c1e96e5b8ab460f287cffe1f5c", + "deps": [ + "@io_bazel_rules_scala_scala_asm", + ], }, "io_bazel_rules_scala_scala_interfaces": { - "artifact": "org.scala-lang:scala3-interfaces:%s" % scala_version, + "artifact": "org.scala-lang:scala3-interfaces:3.3.3", "sha256": "9d85768663a1894eb9c7cfb73befe16eca760d536eed441f6660a5b8e8dc0c6a", }, "io_bazel_rules_scala_scala_tasty_core": { - "artifact": "org.scala-lang:tasty-core_3:%s" % scala_version, + "artifact": "org.scala-lang:tasty-core_3:3.3.3", "sha256": "a126a3a76022beeb9133e7a7400b81a5ce6910f7866cc5e84fa8133ca90784a5", }, "io_bazel_rules_scala_scala_asm": { - "artifact": "org.scala-lang.modules:scala-asm:9.1.0-scala-1", - "sha256": "b85af6cbbd6075c4960177c2c3aa03d53b5221fa58b0bc74a31b72f25595e39f", + "artifact": "org.scala-lang.modules:scala-asm:9.5.0-scala-1", + "sha256": "fa582f7352f5ee5c244d7fe93c2a1d95dada2d281e1af9a535f0b5153c75088c", }, "io_bazel_rules_scala_scala_parallel_collections": { - "artifact": "org.scala-lang.modules:scala-parallel-collections_3:jar:1.0.4", - "sha256": "c3bf0d4d057942a78389fa9675823db5e3179f1b503f2df212b74e784da57050", + "artifact": "org.scala-lang.modules:scala-parallel-collections_2.13:1.0.3", + "sha256": "5b9f705652d14005cdc535270547305a4e41d3664f6d15c21b7e0c807f8d6605", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, - # "io_bazel_rules_scala_scalatest": { - "artifact": "org.scalatest:scalatest_3:3.2.16", - "sha256": "594c3c68d5fccf9bf57f3eef012652c2d66d58d42e6335517ec71fdbeb427352", + "artifact": "org.scalatest:scalatest_3:3.2.9", + "sha256": "6a528ed38912f9c69bf2a1be157871fe801bbff590eecb1a56fa25c62570e147", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + "@io_bazel_rules_scala_scalatest_featurespec", + "@io_bazel_rules_scala_scalatest_flatspec", + "@io_bazel_rules_scala_scalatest_freespec", + "@io_bazel_rules_scala_scalatest_funspec", + "@io_bazel_rules_scala_scalatest_funsuite", + "@io_bazel_rules_scala_scalatest_matchers_core", + "@io_bazel_rules_scala_scalatest_mustmatchers", + "@io_bazel_rules_scala_scalatest_shouldmatchers", + ], }, "io_bazel_rules_scala_scalatest_compatible": { - "artifact": "org.scalatest:scalatest-compatible:jar:3.2.16", - "sha256": "9283e684d401d821a4cbb2646f9611cbbcd7828d2499483d13a4b507775a4cd7", + "artifact": "org.scalatest:scalatest-compatible:3.2.9", + "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { - "artifact": "org.scalatest:scalatest-core_3:3.2.16", - "sha256": "e3da0ba2f449a7f8fbd79213f05930d53cbfa3a50bafeafb5a13f0230c8e6240", + "artifact": "org.scalatest:scalatest-core_3:3.2.9", + "sha256": "248674b6269578bc2f57d595f1e484fc02837ef567ba461eafb81294bce611a8", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scalactic", + "@io_bazel_rules_scala_scalatest_compatible", + ], }, "io_bazel_rules_scala_scalatest_featurespec": { - "artifact": "org.scalatest:scalatest-featurespec_3:3.2.16", - "sha256": "05f94cbad5d0f16036957392f6f0e78076dbb1e0579da8786e1700131b667d26", + "artifact": "org.scalatest:scalatest-featurespec_3:3.2.9", + "sha256": "db51db398582b656cc0b90fbd1c6e5c2495125706b1f860b4cdfc5aba1832d0d", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_flatspec": { - "artifact": "org.scalatest:scalatest-flatspec_3:3.2.16", - "sha256": "ae2a8156bec0986f4a5d248dad513a13e8d614f4d030a16bd83bcd038c9bd70b", + "artifact": "org.scalatest:scalatest-flatspec_3:3.2.9", + "sha256": "b558319f8b4835d25424381dc9b7dcc3b27353cf36dc2c28270dac59e8c8b827", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_freespec": { - "artifact": "org.scalatest:scalatest-freespec_3:3.2.16", - "sha256": "bd7620fa0a11c44a164f839ed3b1339c6e71211e05294729ecee095ef4387aa9", + "artifact": "org.scalatest:scalatest-freespec_3:3.2.9", + "sha256": "dfcbce7d8315dca731b2829ad233893f2dec8895543267c086f7c88a618bda97", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funsuite": { - "artifact": "org.scalatest:scalatest-funsuite_3:3.2.16", - "sha256": "8a337a47c586e9cab89568a07e65bc18d8941ce381881f7db9e8d70e8c48ec42", + "artifact": "org.scalatest:scalatest-funsuite_3:3.2.9", + "sha256": "f3aa7a6414a6f0217ab386be38da537738239f073512a00e93967ac34ff3c9d3", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funspec": { - "artifact": "org.scalatest:scalatest-funspec_3:3.2.16", - "sha256": "d5ee0906d4b538e2eef7a399b2f9d412d9afa3f8c9cc55175c2766592f8d6743", + "artifact": "org.scalatest:scalatest-funspec_3:3.2.9", + "sha256": "a4d0b15fea0f73cc7af7f1e35ae291966f8652fbf811d6525294691fa6fb54d2", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_matchers_core": { - "artifact": "org.scalatest:scalatest-matchers-core_3:3.2.16", - "sha256": "0dac281e63f87d84cb4b1d121e338be7239465ebe05b56781de1091c8aff3f57", + "artifact": "org.scalatest:scalatest-matchers-core_3:3.2.9", + "sha256": "4aee69baf7cbbd2f8c28e02fab7aead12093bf905b322a4aca9c987de58dffab", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_shouldmatchers": { - "artifact": "org.scalatest:scalatest-shouldmatchers_3:3.2.16", - "sha256": "88dff5cfd61c670d7f11703e92b2a339e6283f911c9b6a6e3b5d098fd5ee2f01", + "artifact": "org.scalatest:scalatest-shouldmatchers_3:3.2.9", + "sha256": "5866c9f28faf5389a82d0a66f3539933325eed3a03425c9bf2f495c34f4bb370", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalatest_mustmatchers": { - "artifact": "org.scalatest:scalatest-mustmatchers_3:3.2.16", - "sha256": "51212b97f93744c095e56311fcc22576386f490084fed486cf49b9acf68a06c4", + "artifact": "org.scalatest:scalatest-mustmatchers_3:3.2.9", + "sha256": "2755b8558acf71603b70d10a02f9df43a216f305318dbcb442d5451f0da32c46", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalactic": { - "artifact": "org.scalactic:scalactic_3:3.2.16", - "sha256": "d6071fe5f4e6f97b25c473c3787098fc3e7cdebf224eeb12f3a48ad1b5816885", + "artifact": "org.scalactic:scalactic_3:3.2.9", + "sha256": "dde6c79aeb8ca632ac9aede0a00462b6b75d0db857bf0e9f264a2ed36efcb800", }, "io_bazel_rules_scala_scala_xml": { - "artifact": "org.scala-lang.modules:scala-xml_2.13:1.3.0", - "sha256": "6d96d45a7fc6fc7ab69bdbac841b48cf67ab109f048c8db375ae4effae524f39", + "artifact": "org.scala-lang.modules:scala-xml_3:2.0.0", + "sha256": "98485486ec710ac1851491d318a31bceef372935bc468431c0bc8aff36401ef7", }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.13:1.1.2", @@ -105,8 +150,8 @@ artifacts = { "artifact": "org.scalameta:fastparse-v2_2.13:2.3.1", "sha256": "8fca8597ad6d7c13c48009ee13bbe80c176b08ab12e68af54a50f7f69d8447c5", "deps": [ - "@com_lihaoyi_sourcecode", "@com_lihaoyi_geny", + "@com_lihaoyi_sourcecode", ], }, "org_scalameta_fastparse_utils": { @@ -142,9 +187,9 @@ artifacts = { "deps": [ "@com_geirsson_metaconfig_core", "@com_geirsson_metaconfig_typesafe_config", + "@io_bazel_rules_scala_scala_parallel_collections", "@io_bazel_rules_scala_scala_library", "@org_scalameta_scalameta", - "@io_bazel_rules_scala_scala_parallel_collections", ], }, "org_scalameta_scalameta": { @@ -177,8 +222,8 @@ artifacts = { "sha256": "4c0aa7e223c75c8840c41fc183d4cd3118140a1ee503e3e08ce66ed2794c948f", }, "org_scala_lang_scalap": { - "artifact": "org.scala-lang:scalap:2.13.12", - "sha256": "ba4152ca85f42f04d76d903e006f9848f4e7d0629791d016953f05a5a04954c8", + "artifact": "org.scala-lang:scalap:2.13.6", + "sha256": "bbfa4ab0603f510b16114371a35b9c34d20946edfc1aa8f3fd31014b9f06b5b1", "deps": [ "@io_bazel_rules_scala_scala_compiler", ], @@ -223,8 +268,8 @@ artifacts = { ], }, "com_lihaoyi_sourcecode": { - "artifact": "com.lihaoyi:sourcecode_2.13:0.2.5", - "sha256": "b8f816ad81e3546e4a75cdc74d322f02e6d84fbfa5eb1ea5e1eca666cede524c", + "artifact": "com.lihaoyi:sourcecode_2.13:0.2.7", + "sha256": "a639a90e2d21bbafd8a5e213c65442aad200ee086951605cbda8835bc6ef11d3", }, "com_google_protobuf_protobuf_java": { "artifact": "com.google.protobuf:protobuf-java:3.10.0", @@ -235,9 +280,9 @@ artifacts = { "sha256": "aab728395055a095d1134f76191d40076eaf9d5c9ffc722005da044580269acf", "deps": [ "@com_lihaoyi_pprint", + "@org_scala_lang_modules_scala_collection_compat", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", - "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { @@ -475,8 +520,6 @@ artifacts = { "artifact": "com.github.scopt:scopt_2.13:4.0.0-RC2", "sha256": "07c1937cba53f7509d2ac62a0fc375943a3e0fef346625414c15d41b5a6cfb34", }, - - # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.13:0.17.0", diff --git a/third_party/repositories/scala_3_4.bzl b/third_party/repositories/scala_3_4.bzl index c277440c6..d9ccc302d 100644 --- a/third_party/repositories/scala_3_4.bzl +++ b/third_party/repositories/scala_3_4.bzl @@ -2,88 +2,134 @@ scala_version = "3.4.3" artifacts = { "io_bazel_rules_scala_scala_library_2": { - "artifact": "org.scala-lang:scala-library:2.13.5", - "sha256": "52aafeef8e0d104433329b1bc31463d1b4a9e2b8f24f85432c8cfaed9fad2587", + "artifact": "org.scala-lang:scala-library:2.13.12", + "sha256": "c6a879e4973a60f6162668542a33eaccc2bb565d1c934fb061c5844259131dd1", }, "io_bazel_rules_scala_scala_library": { - "artifact": "org.scala-lang:scala3-library_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-library_3:3.4.3", "sha256": "7d1cfac8091c82a6d09c111f08f61ed96b635c4527a5db59e5255c71b1f3ca6c", "deps": [ "@io_bazel_rules_scala_scala_library_2", ], }, "io_bazel_rules_scala_scala_compiler": { - "artifact": "org.scala-lang:scala3-compiler_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-compiler_3:3.4.3", "sha256": "ad071cf0cfff64dce675344c34667d0812dbcb6016c6be10c4e5ebdc6903e060", + "deps": [ + "@io_bazel_rules_scala_scala_asm", + "@org_scala_sbt_compiler_interface", + ], }, "io_bazel_rules_scala_scala_interfaces": { - "artifact": "org.scala-lang:scala3-interfaces:%s" % scala_version, + "artifact": "org.scala-lang:scala3-interfaces:3.4.3", "sha256": "f340a643dbb9e7864fc32135ac0620adc51bc16daeb646b66046c27d5d500df4", }, "io_bazel_rules_scala_scala_tasty_core": { - "artifact": "org.scala-lang:tasty-core_3:%s" % scala_version, + "artifact": "org.scala-lang:tasty-core_3:3.4.3", "sha256": "e3b5bdb3bbb3038e290d85e6e4f528c9d7fe1c7b1274695e3140ec6b86a84097", }, "io_bazel_rules_scala_scala_asm": { - "artifact": "org.scala-lang.modules:scala-asm:9.1.0-scala-1", - "sha256": "b85af6cbbd6075c4960177c2c3aa03d53b5221fa58b0bc74a31b72f25595e39f", + "artifact": "org.scala-lang.modules:scala-asm:9.6.0-scala-1", + "sha256": "bf16f8b69e89cadab550bce266a052780af7f1eb29dd1c04c3bd014113752c12", }, "io_bazel_rules_scala_scala_parallel_collections": { - "artifact": "org.scala-lang.modules:scala-parallel-collections_3:jar:1.0.4", - "sha256": "c3bf0d4d057942a78389fa9675823db5e3179f1b503f2df212b74e784da57050", + "artifact": "org.scala-lang.modules:scala-parallel-collections_2.13:1.0.3", + "sha256": "5b9f705652d14005cdc535270547305a4e41d3664f6d15c21b7e0c807f8d6605", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, - # "io_bazel_rules_scala_scalatest": { - "artifact": "org.scalatest:scalatest_3:3.2.16", - "sha256": "594c3c68d5fccf9bf57f3eef012652c2d66d58d42e6335517ec71fdbeb427352", + "artifact": "org.scalatest:scalatest_3:3.2.9", + "sha256": "6a528ed38912f9c69bf2a1be157871fe801bbff590eecb1a56fa25c62570e147", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + "@io_bazel_rules_scala_scalatest_featurespec", + "@io_bazel_rules_scala_scalatest_flatspec", + "@io_bazel_rules_scala_scalatest_freespec", + "@io_bazel_rules_scala_scalatest_funspec", + "@io_bazel_rules_scala_scalatest_funsuite", + "@io_bazel_rules_scala_scalatest_matchers_core", + "@io_bazel_rules_scala_scalatest_mustmatchers", + "@io_bazel_rules_scala_scalatest_shouldmatchers", + ], }, "io_bazel_rules_scala_scalatest_compatible": { - "artifact": "org.scalatest:scalatest-compatible:jar:3.2.16", - "sha256": "9283e684d401d821a4cbb2646f9611cbbcd7828d2499483d13a4b507775a4cd7", + "artifact": "org.scalatest:scalatest-compatible:3.2.9", + "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { - "artifact": "org.scalatest:scalatest-core_3:3.2.16", - "sha256": "e3da0ba2f449a7f8fbd79213f05930d53cbfa3a50bafeafb5a13f0230c8e6240", + "artifact": "org.scalatest:scalatest-core_3:3.2.9", + "sha256": "248674b6269578bc2f57d595f1e484fc02837ef567ba461eafb81294bce611a8", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scalactic", + "@io_bazel_rules_scala_scalatest_compatible", + ], }, "io_bazel_rules_scala_scalatest_featurespec": { - "artifact": "org.scalatest:scalatest-featurespec_3:3.2.16", - "sha256": "05f94cbad5d0f16036957392f6f0e78076dbb1e0579da8786e1700131b667d26", + "artifact": "org.scalatest:scalatest-featurespec_3:3.2.9", + "sha256": "db51db398582b656cc0b90fbd1c6e5c2495125706b1f860b4cdfc5aba1832d0d", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_flatspec": { - "artifact": "org.scalatest:scalatest-flatspec_3:3.2.16", - "sha256": "ae2a8156bec0986f4a5d248dad513a13e8d614f4d030a16bd83bcd038c9bd70b", + "artifact": "org.scalatest:scalatest-flatspec_3:3.2.9", + "sha256": "b558319f8b4835d25424381dc9b7dcc3b27353cf36dc2c28270dac59e8c8b827", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_freespec": { - "artifact": "org.scalatest:scalatest-freespec_3:3.2.16", - "sha256": "bd7620fa0a11c44a164f839ed3b1339c6e71211e05294729ecee095ef4387aa9", + "artifact": "org.scalatest:scalatest-freespec_3:3.2.9", + "sha256": "dfcbce7d8315dca731b2829ad233893f2dec8895543267c086f7c88a618bda97", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funsuite": { - "artifact": "org.scalatest:scalatest-funsuite_3:3.2.16", - "sha256": "8a337a47c586e9cab89568a07e65bc18d8941ce381881f7db9e8d70e8c48ec42", + "artifact": "org.scalatest:scalatest-funsuite_3:3.2.9", + "sha256": "f3aa7a6414a6f0217ab386be38da537738239f073512a00e93967ac34ff3c9d3", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funspec": { - "artifact": "org.scalatest:scalatest-funspec_3:3.2.16", - "sha256": "d5ee0906d4b538e2eef7a399b2f9d412d9afa3f8c9cc55175c2766592f8d6743", + "artifact": "org.scalatest:scalatest-funspec_3:3.2.9", + "sha256": "a4d0b15fea0f73cc7af7f1e35ae291966f8652fbf811d6525294691fa6fb54d2", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_matchers_core": { - "artifact": "org.scalatest:scalatest-matchers-core_3:3.2.16", - "sha256": "0dac281e63f87d84cb4b1d121e338be7239465ebe05b56781de1091c8aff3f57", + "artifact": "org.scalatest:scalatest-matchers-core_3:3.2.9", + "sha256": "4aee69baf7cbbd2f8c28e02fab7aead12093bf905b322a4aca9c987de58dffab", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_shouldmatchers": { - "artifact": "org.scalatest:scalatest-shouldmatchers_3:3.2.16", - "sha256": "88dff5cfd61c670d7f11703e92b2a339e6283f911c9b6a6e3b5d098fd5ee2f01", + "artifact": "org.scalatest:scalatest-shouldmatchers_3:3.2.9", + "sha256": "5866c9f28faf5389a82d0a66f3539933325eed3a03425c9bf2f495c34f4bb370", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalatest_mustmatchers": { - "artifact": "org.scalatest:scalatest-mustmatchers_3:3.2.16", - "sha256": "51212b97f93744c095e56311fcc22576386f490084fed486cf49b9acf68a06c4", + "artifact": "org.scalatest:scalatest-mustmatchers_3:3.2.9", + "sha256": "2755b8558acf71603b70d10a02f9df43a216f305318dbcb442d5451f0da32c46", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalactic": { - "artifact": "org.scalactic:scalactic_3:3.2.16", - "sha256": "d6071fe5f4e6f97b25c473c3787098fc3e7cdebf224eeb12f3a48ad1b5816885", + "artifact": "org.scalactic:scalactic_3:3.2.9", + "sha256": "dde6c79aeb8ca632ac9aede0a00462b6b75d0db857bf0e9f264a2ed36efcb800", }, "io_bazel_rules_scala_scala_xml": { - "artifact": "org.scala-lang.modules:scala-xml_2.13:1.3.0", - "sha256": "6d96d45a7fc6fc7ab69bdbac841b48cf67ab109f048c8db375ae4effae524f39", + "artifact": "org.scala-lang.modules:scala-xml_3:2.0.0", + "sha256": "98485486ec710ac1851491d318a31bceef372935bc468431c0bc8aff36401ef7", }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.13:1.1.2", @@ -98,15 +144,15 @@ artifacts = { ], }, "org_scala_sbt_compiler_interface": { - "artifact": "org.scala-sbt:compiler-interface:1.10.1", - "sha256": "6f9982aea22fa17fef0315abd6925940dbf57fa7033535ad2176aba240aeaa1d", + "artifact": "org.scala-sbt:compiler-interface:1.9.6", + "sha256": "b986ad1cfcef14c8abeaa3e788df28be9150acfbf587b5f7aa92c1b043c4fa8d", }, "org_scalameta_fastparse": { "artifact": "org.scalameta:fastparse-v2_2.13:2.3.1", "sha256": "8fca8597ad6d7c13c48009ee13bbe80c176b08ab12e68af54a50f7f69d8447c5", "deps": [ - "@com_lihaoyi_sourcecode", "@com_lihaoyi_geny", + "@com_lihaoyi_sourcecode", ], }, "org_scalameta_fastparse_utils": { @@ -142,9 +188,9 @@ artifacts = { "deps": [ "@com_geirsson_metaconfig_core", "@com_geirsson_metaconfig_typesafe_config", + "@io_bazel_rules_scala_scala_parallel_collections", "@io_bazel_rules_scala_scala_library", "@org_scalameta_scalameta", - "@io_bazel_rules_scala_scala_parallel_collections", ], }, "org_scalameta_scalameta": { @@ -177,8 +223,8 @@ artifacts = { "sha256": "4c0aa7e223c75c8840c41fc183d4cd3118140a1ee503e3e08ce66ed2794c948f", }, "org_scala_lang_scalap": { - "artifact": "org.scala-lang:scalap:2.13.12", - "sha256": "ba4152ca85f42f04d76d903e006f9848f4e7d0629791d016953f05a5a04954c8", + "artifact": "org.scala-lang:scalap:2.13.6", + "sha256": "bbfa4ab0603f510b16114371a35b9c34d20946edfc1aa8f3fd31014b9f06b5b1", "deps": [ "@io_bazel_rules_scala_scala_compiler", ], @@ -223,8 +269,8 @@ artifacts = { ], }, "com_lihaoyi_sourcecode": { - "artifact": "com.lihaoyi:sourcecode_2.13:0.2.5", - "sha256": "b8f816ad81e3546e4a75cdc74d322f02e6d84fbfa5eb1ea5e1eca666cede524c", + "artifact": "com.lihaoyi:sourcecode_2.13:0.2.7", + "sha256": "a639a90e2d21bbafd8a5e213c65442aad200ee086951605cbda8835bc6ef11d3", }, "com_google_protobuf_protobuf_java": { "artifact": "com.google.protobuf:protobuf-java:3.10.0", @@ -235,9 +281,9 @@ artifacts = { "sha256": "aab728395055a095d1134f76191d40076eaf9d5c9ffc722005da044580269acf", "deps": [ "@com_lihaoyi_pprint", + "@org_scala_lang_modules_scala_collection_compat", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", - "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { @@ -475,8 +521,6 @@ artifacts = { "artifact": "com.github.scopt:scopt_2.13:4.0.0-RC2", "sha256": "07c1937cba53f7509d2ac62a0fc375943a3e0fef346625414c15d41b5a6cfb34", }, - - # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.13:0.17.0", diff --git a/third_party/repositories/scala_3_5.bzl b/third_party/repositories/scala_3_5.bzl index 64c1f3743..172824869 100644 --- a/third_party/repositories/scala_3_5.bzl +++ b/third_party/repositories/scala_3_5.bzl @@ -2,88 +2,134 @@ scala_version = "3.5.0" artifacts = { "io_bazel_rules_scala_scala_library_2": { - "artifact": "org.scala-lang:scala-library:2.13.5", - "sha256": "52aafeef8e0d104433329b1bc31463d1b4a9e2b8f24f85432c8cfaed9fad2587", + "artifact": "org.scala-lang:scala-library:2.13.12", + "sha256": "c6a879e4973a60f6162668542a33eaccc2bb565d1c934fb061c5844259131dd1", }, "io_bazel_rules_scala_scala_library": { - "artifact": "org.scala-lang:scala3-library_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-library_3:3.5.0", "sha256": "242c9a005b356c9554c6e5f33c2b40eb015f62755e1ea5c5613d80c488d40860", "deps": [ "@io_bazel_rules_scala_scala_library_2", ], }, "io_bazel_rules_scala_scala_compiler": { - "artifact": "org.scala-lang:scala3-compiler_3:%s" % scala_version, + "artifact": "org.scala-lang:scala3-compiler_3:3.5.0", "sha256": "54842fab4554c10d857b5617a7855107c8b0134a49d298c6b4e2d9f1584e7049", + "deps": [ + "@io_bazel_rules_scala_scala_asm", + "@org_scala_sbt_compiler_interface", + ], }, "io_bazel_rules_scala_scala_interfaces": { - "artifact": "org.scala-lang:scala3-interfaces:%s" % scala_version, + "artifact": "org.scala-lang:scala3-interfaces:3.5.0", "sha256": "2cb0d101eef1d9d21e74177d419dfaa8e84515ab0a07f6c5f650d61d22e3c9cb", }, "io_bazel_rules_scala_scala_tasty_core": { - "artifact": "org.scala-lang:tasty-core_3:%s" % scala_version, + "artifact": "org.scala-lang:tasty-core_3:3.5.0", "sha256": "47e8323b16b4b76e49d4dd3756e53b1fefebea91a5624ac20bf045cefd211904", }, "io_bazel_rules_scala_scala_asm": { - "artifact": "org.scala-lang.modules:scala-asm:9.1.0-scala-1", - "sha256": "b85af6cbbd6075c4960177c2c3aa03d53b5221fa58b0bc74a31b72f25595e39f", + "artifact": "org.scala-lang.modules:scala-asm:9.6.0-scala-1", + "sha256": "bf16f8b69e89cadab550bce266a052780af7f1eb29dd1c04c3bd014113752c12", }, "io_bazel_rules_scala_scala_parallel_collections": { - "artifact": "org.scala-lang.modules:scala-parallel-collections_3:jar:1.0.4", - "sha256": "c3bf0d4d057942a78389fa9675823db5e3179f1b503f2df212b74e784da57050", + "artifact": "org.scala-lang.modules:scala-parallel-collections_2.13:1.0.3", + "sha256": "5b9f705652d14005cdc535270547305a4e41d3664f6d15c21b7e0c807f8d6605", + "deps": [ + "@io_bazel_rules_scala_scala_library", + ], }, - # "io_bazel_rules_scala_scalatest": { - "artifact": "org.scalatest:scalatest_3:3.2.16", - "sha256": "594c3c68d5fccf9bf57f3eef012652c2d66d58d42e6335517ec71fdbeb427352", + "artifact": "org.scalatest:scalatest_3:3.2.9", + "sha256": "6a528ed38912f9c69bf2a1be157871fe801bbff590eecb1a56fa25c62570e147", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + "@io_bazel_rules_scala_scalatest_featurespec", + "@io_bazel_rules_scala_scalatest_flatspec", + "@io_bazel_rules_scala_scalatest_freespec", + "@io_bazel_rules_scala_scalatest_funspec", + "@io_bazel_rules_scala_scalatest_funsuite", + "@io_bazel_rules_scala_scalatest_matchers_core", + "@io_bazel_rules_scala_scalatest_mustmatchers", + "@io_bazel_rules_scala_scalatest_shouldmatchers", + ], }, "io_bazel_rules_scala_scalatest_compatible": { - "artifact": "org.scalatest:scalatest-compatible:jar:3.2.16", - "sha256": "9283e684d401d821a4cbb2646f9611cbbcd7828d2499483d13a4b507775a4cd7", + "artifact": "org.scalatest:scalatest-compatible:3.2.9", + "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { - "artifact": "org.scalatest:scalatest-core_3:3.2.16", - "sha256": "e3da0ba2f449a7f8fbd79213f05930d53cbfa3a50bafeafb5a13f0230c8e6240", + "artifact": "org.scalatest:scalatest-core_3:3.2.9", + "sha256": "248674b6269578bc2f57d595f1e484fc02837ef567ba461eafb81294bce611a8", + "deps": [ + "@io_bazel_rules_scala_scala_xml", + "@io_bazel_rules_scala_scalactic", + "@io_bazel_rules_scala_scalatest_compatible", + ], }, "io_bazel_rules_scala_scalatest_featurespec": { - "artifact": "org.scalatest:scalatest-featurespec_3:3.2.16", - "sha256": "05f94cbad5d0f16036957392f6f0e78076dbb1e0579da8786e1700131b667d26", + "artifact": "org.scalatest:scalatest-featurespec_3:3.2.9", + "sha256": "db51db398582b656cc0b90fbd1c6e5c2495125706b1f860b4cdfc5aba1832d0d", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_flatspec": { - "artifact": "org.scalatest:scalatest-flatspec_3:3.2.16", - "sha256": "ae2a8156bec0986f4a5d248dad513a13e8d614f4d030a16bd83bcd038c9bd70b", + "artifact": "org.scalatest:scalatest-flatspec_3:3.2.9", + "sha256": "b558319f8b4835d25424381dc9b7dcc3b27353cf36dc2c28270dac59e8c8b827", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_freespec": { - "artifact": "org.scalatest:scalatest-freespec_3:3.2.16", - "sha256": "bd7620fa0a11c44a164f839ed3b1339c6e71211e05294729ecee095ef4387aa9", + "artifact": "org.scalatest:scalatest-freespec_3:3.2.9", + "sha256": "dfcbce7d8315dca731b2829ad233893f2dec8895543267c086f7c88a618bda97", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funsuite": { - "artifact": "org.scalatest:scalatest-funsuite_3:3.2.16", - "sha256": "8a337a47c586e9cab89568a07e65bc18d8941ce381881f7db9e8d70e8c48ec42", + "artifact": "org.scalatest:scalatest-funsuite_3:3.2.9", + "sha256": "f3aa7a6414a6f0217ab386be38da537738239f073512a00e93967ac34ff3c9d3", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_funspec": { - "artifact": "org.scalatest:scalatest-funspec_3:3.2.16", - "sha256": "d5ee0906d4b538e2eef7a399b2f9d412d9afa3f8c9cc55175c2766592f8d6743", + "artifact": "org.scalatest:scalatest-funspec_3:3.2.9", + "sha256": "a4d0b15fea0f73cc7af7f1e35ae291966f8652fbf811d6525294691fa6fb54d2", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_matchers_core": { - "artifact": "org.scalatest:scalatest-matchers-core_3:3.2.16", - "sha256": "0dac281e63f87d84cb4b1d121e338be7239465ebe05b56781de1091c8aff3f57", + "artifact": "org.scalatest:scalatest-matchers-core_3:3.2.9", + "sha256": "4aee69baf7cbbd2f8c28e02fab7aead12093bf905b322a4aca9c987de58dffab", + "deps": [ + "@io_bazel_rules_scala_scalatest_core", + ], }, "io_bazel_rules_scala_scalatest_shouldmatchers": { - "artifact": "org.scalatest:scalatest-shouldmatchers_3:3.2.16", - "sha256": "88dff5cfd61c670d7f11703e92b2a339e6283f911c9b6a6e3b5d098fd5ee2f01", + "artifact": "org.scalatest:scalatest-shouldmatchers_3:3.2.9", + "sha256": "5866c9f28faf5389a82d0a66f3539933325eed3a03425c9bf2f495c34f4bb370", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalatest_mustmatchers": { - "artifact": "org.scalatest:scalatest-mustmatchers_3:3.2.16", - "sha256": "51212b97f93744c095e56311fcc22576386f490084fed486cf49b9acf68a06c4", + "artifact": "org.scalatest:scalatest-mustmatchers_3:3.2.9", + "sha256": "2755b8558acf71603b70d10a02f9df43a216f305318dbcb442d5451f0da32c46", + "deps": [ + "@io_bazel_rules_scala_scalatest_matchers_core", + ], }, "io_bazel_rules_scala_scalactic": { - "artifact": "org.scalactic:scalactic_3:3.2.16", - "sha256": "d6071fe5f4e6f97b25c473c3787098fc3e7cdebf224eeb12f3a48ad1b5816885", + "artifact": "org.scalactic:scalactic_3:3.2.9", + "sha256": "dde6c79aeb8ca632ac9aede0a00462b6b75d0db857bf0e9f264a2ed36efcb800", }, "io_bazel_rules_scala_scala_xml": { - "artifact": "org.scala-lang.modules:scala-xml_2.13:1.3.0", - "sha256": "6d96d45a7fc6fc7ab69bdbac841b48cf67ab109f048c8db375ae4effae524f39", + "artifact": "org.scala-lang.modules:scala-xml_3:2.0.0", + "sha256": "98485486ec710ac1851491d318a31bceef372935bc468431c0bc8aff36401ef7", }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.13:1.1.2", @@ -98,15 +144,15 @@ artifacts = { ], }, "org_scala_sbt_compiler_interface": { - "artifact": "org.scala-sbt:compiler-interface:1.10.1", - "sha256": "6f9982aea22fa17fef0315abd6925940dbf57fa7033535ad2176aba240aeaa1d", + "artifact": "org.scala-sbt:compiler-interface:1.9.6", + "sha256": "b986ad1cfcef14c8abeaa3e788df28be9150acfbf587b5f7aa92c1b043c4fa8d", }, "org_scalameta_fastparse": { "artifact": "org.scalameta:fastparse-v2_2.13:2.3.1", "sha256": "8fca8597ad6d7c13c48009ee13bbe80c176b08ab12e68af54a50f7f69d8447c5", "deps": [ - "@com_lihaoyi_sourcecode", "@com_lihaoyi_geny", + "@com_lihaoyi_sourcecode", ], }, "org_scalameta_fastparse_utils": { @@ -142,9 +188,9 @@ artifacts = { "deps": [ "@com_geirsson_metaconfig_core", "@com_geirsson_metaconfig_typesafe_config", + "@io_bazel_rules_scala_scala_parallel_collections", "@io_bazel_rules_scala_scala_library", "@org_scalameta_scalameta", - "@io_bazel_rules_scala_scala_parallel_collections", ], }, "org_scalameta_scalameta": { @@ -177,8 +223,8 @@ artifacts = { "sha256": "4c0aa7e223c75c8840c41fc183d4cd3118140a1ee503e3e08ce66ed2794c948f", }, "org_scala_lang_scalap": { - "artifact": "org.scala-lang:scalap:2.13.12", - "sha256": "ba4152ca85f42f04d76d903e006f9848f4e7d0629791d016953f05a5a04954c8", + "artifact": "org.scala-lang:scalap:2.13.6", + "sha256": "bbfa4ab0603f510b16114371a35b9c34d20946edfc1aa8f3fd31014b9f06b5b1", "deps": [ "@io_bazel_rules_scala_scala_compiler", ], @@ -223,8 +269,8 @@ artifacts = { ], }, "com_lihaoyi_sourcecode": { - "artifact": "com.lihaoyi:sourcecode_2.13:0.2.5", - "sha256": "b8f816ad81e3546e4a75cdc74d322f02e6d84fbfa5eb1ea5e1eca666cede524c", + "artifact": "com.lihaoyi:sourcecode_2.13:0.2.7", + "sha256": "a639a90e2d21bbafd8a5e213c65442aad200ee086951605cbda8835bc6ef11d3", }, "com_google_protobuf_protobuf_java": { "artifact": "com.google.protobuf:protobuf-java:3.10.0", @@ -235,9 +281,9 @@ artifacts = { "sha256": "aab728395055a095d1134f76191d40076eaf9d5c9ffc722005da044580269acf", "deps": [ "@com_lihaoyi_pprint", + "@org_scala_lang_modules_scala_collection_compat", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", - "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { @@ -475,8 +521,6 @@ artifacts = { "artifact": "com.github.scopt:scopt_2.13:4.0.0-RC2", "sha256": "07c1937cba53f7509d2ac62a0fc375943a3e0fef346625414c15d41b5a6cfb34", }, - - # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.13:0.17.0",