Skip to content
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

Update scala-library, scala-reflect to 2.12.17 #843

Merged
merged 1 commit into from
Oct 20, 2022

Conversation

scala-steward
Copy link
Contributor

Updates

from 2.12.15 to 2.12.17.
GitHub Release Notes - Version Diff

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

Files still referring to the old version number

The following files still refer to the old version number (2.12.15).
You might want to review and update them manually.

daffodil-japi/build.sbt
Adjust future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "org.scala-lang" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-lang" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Copy link
Contributor

@tuxji tuxji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not build. The failure to find a scoverage dependency may mean that we just need to wait for the ecosystem to catch up and build new versions. Let's wait to see if this PR becomes buildable after 1-2 weeks.

@stevedlawrence
Copy link
Member

It looks like scoverage has only created 2.12.17 builds for versions 2.0.5 and 2.0.3 of the scalac plugin:

https://search.maven.org/artifact/org.scoverage/scalac-scoverage-plugin_2.12.17

To get either of those versions of the scalac plugin we need to bump the sbt-scoverage plugin to 2.0.x, but those versions have known issues with windows. So because we can't bump sbt-scoverage, we can't bump the scala version. And we also can't bump sbt-native-packager (PR #826).

So we're now running into issues because of this windows problem in sbt-scoverage.

We could maybe try to disable coverage on windows until this is fixed. The GitHub actions files might get a bit ugly.

Alternatively, we could try to put some effort into fixing the sbt-scoverage issue and submitting a PR. It doesn't seem like it's high priority for the devs, so it may not get fixed without outside input.

Also update sbt-native-packager to 1.9.11 and sbt-scoverage to 2.0.6.
These all have transitive dependencies so must be updated at once.

Also removes the pluginDependency overrides. This no longer seems to be
neede.
@stevedlawrence stevedlawrence force-pushed the update/scala-library-2.12.17 branch from 4be9c88 to 12e1e64 Compare October 20, 2022 14:19
@stevedlawrence
Copy link
Member

+1

sbt-scoverage has created a new release that fixes the problems with windows. Due to dependencies, I've updated this PR to update scala, sbt-scoverage, and sbt-native-packager.

We do not distribute the two sbt plugins so there are no licensing concerns There are no new features we really need compared to the old versions, but they do update dependencies, e.g. scala-xml

The scala update is ALv2 and so is compatible with Apache licenses, and our NOTICE/LICENSE files are already accurate. This also includes some important changes, such as always generating Java 8 bytecode for compatibility.

Copy link
Member

@stevedlawrence stevedlawrence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor

@tuxji tuxji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Great to see this resolved (we just had to wait a long time for newer versions to fix the issues :).

@tuxji tuxji merged commit c3dc265 into apache:main Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants