-
-
Notifications
You must be signed in to change notification settings - Fork 287
Upgrade Scala 2.13 LTS to 2.13.16 #1700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
daeae57
to
dcaad25
Compare
@WojciechMazur Could you please take a look at this Pull Request to make sure there is no mistakes (or missing dependency updates)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated scripts/create_repository.py
locally to use 2.13.16, and got almost the same result...except that the io_bazel_rules_scala_scala_compiler{,_2}
entries in this pull request are missing the deps
field:
"io_bazel_rules_scala_scala_compiler": {
"artifact": "org.scala-lang:scala-compiler:2.13.16",
"sha256": "f59982714591e321ba9c087af2c8666e2f5fb92b11a0cef72c2c5e9b342152d3",
"deps": [
"@io_bazel_rules_scala_scala_library",
"@io_bazel_rules_scala_scala_reflect",
"@io_github_java_diff_utils_java_diff_utils",
"@org_jline_jline",
],
},
The script is set up not to update existing entries, which is why these were never added before (under the "if it ain't broke" principle). But if the script adds them on update, and the tests pass, we should be able to trust the new information.
At the same time, by the same principle, the tests do appear to be passing after this update without the new deps
. So It's not a blocking issue, but I wanted to raise the point that if scripts/create_repository.py
generates breaking changes, we should update the script; if its changes pass all tests, in general, we should let its output stand.
Thanks for Review and quality checks. |
To force an update of an artifact, you could remove its existing entry from the The script will leave alone any entry that already matches the version resolved by If it does detect the need to update an artifact's entry, it will also set its Now that I think about it, we could add a flag to force an update even for matching versions, to add |
dcaad25
to
526cc82
Compare
526cc82
to
a9bd15f
Compare
I have updated the dependencies, to be aligned with your results. In another branch I have also removed all dependencies, and regenerate it from scratch. A lot of dependencies were simply removed. I will create separate Pull Request with such changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @bartoszkosiorek
Fixes: #1699
Description
Upgrade Scala 2.13 LTS to 2.13.16
Motivation