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 airbase to 139 #17484

Merged
merged 2 commits into from
May 15, 2023
Merged

Update airbase to 139 #17484

merged 2 commits into from
May 15, 2023

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented May 12, 2023

This brings following improvements:

  • Replace checkstyle illegal imports with RestrictImports enforcer rules
  • Checkstyle updates:
    • Require throws keyword to be on a new line.
  • Dependency updates:
    • JUnit 5.9.3 (from 5.9.2)
    • Kotlin 1.8.21 (from 1.8.20)
    • Opentelemetry 1.26.0 (from 1.25.0)
    • Opentelemetry Instrumentation 1.25.1 (from 1.24.0)
    • Logback 1.4.7 (from 1.4.6)
    • Checkstyle 10.11.0 (from 10.9.3)
    • Guice 6.0.0 (from 5.1.0)
  • Plugin updates:
    • Surefire 3.1.0 (from 3.0.0)
    • maven-clean-plugin 3.2.0 (from 3.0.0)
    • maven-install-plugin 3.1.1 (from 2.5.2)
    • maven-enforcer-plugin 3.3.0 (from 3.2.1)
    • maven-resources-plugin 3.3.1 (from 3.2.0)
    • maven-assembly-plugin 3.5.0 (from 3.3.0)
    • maven-javadoc-plugin 3.5.0 (from 3.2.0)
    • maven-jar-plugin 3.3.0 (from 3.2.0)
    • migrate to git-commit-id-maven-plugin 5.0.0 (from git-commit-id-plugin 4.0.5)
    • maven-source-plugin 3.2.1 (from 3.2.0)
    • license-maven-plugin 4.2 (from 3.0)
    • jacoco-maven-plugin 0.8.10 (from 0.8.9)
    • maven-checkstyle-plugin 3.2.2 (from 3.2.1)
    • maven-site-plugin 3.12.1 (from 3.2)
    • maven-scm-plugin 2.0.0 (from 1.8.1)

The first commit is a preparatory one to fix checkstyle violations due to a new rule.

@cla-bot cla-bot bot added the cla-signed label May 12, 2023
@wendigo wendigo requested review from electrum and findepi May 12, 2023 19:31
@wendigo
Copy link
Contributor Author

wendigo commented May 13, 2023

@findepi @hashhar can you restart failing tests?

@electrum
Copy link
Member

This is a permanent error:

Error:  Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.0:test (default-test) on project trino-parser: The following artifacts could not be resolved: org.junit.platform:junit-platform-launcher:jar:1.9.3 (absent): Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.junit.platform:junit-platform-launcher:jar:1.9.3 has not been downloaded from it before. -> [Help 1]

I think we need to update the version(s) in the configuration for go-offline-maven-plugin in the root POM.

@findepi
Copy link
Member

findepi commented May 15, 2023

  • Guice 6.0.0 (from 5.1.0)

"Released May 12th, 2023." https://github.com/google/guice/wiki/Guice600

How confident are we about this version upgrade?

cc @losipiuk @trinodb/maintainers

@wendigo
Copy link
Contributor Author

wendigo commented May 15, 2023

@findepi I've tested both rc1 and rc2 before the 6.0.0 release. I'm pretty confident in that version

@findepi
Copy link
Member

findepi commented May 15, 2023

By "tested" do you mean something specific, beyond what the CI does?

@wendigo
Copy link
Contributor Author

wendigo commented May 15, 2023

@findepi CI. What's your concern? Despite the major version bump it's not some major version but small increment with a bunch of bugfixes. There were two versions released - 6.0 and 7.0 (7.0 being jakarta based).

@losipiuk
Copy link
Member

Guice changelog 5.1.0 -> 6.0.0 is minimalistic - this upgrade is probably fine. Not that I feel like super necessary. (I guess you want to migrate annotations to jakarta namespace @wendigo right?)

@wendigo
Copy link
Contributor Author

wendigo commented May 15, 2023

@losipiuk nope. Newer ASM with support for JDK19+ class formats

@wendigo
Copy link
Contributor Author

wendigo commented May 15, 2023

@losipiuk jakarta comes next ;)

@losipiuk losipiuk merged commit 0d512e1 into trinodb:master May 15, 2023
95 checks passed
@github-actions github-actions bot added this to the 418 milestone May 15, 2023
wendigo added a commit to wendigo/trino that referenced this pull request May 17, 2023
trinodb#17484 switched git-commit-id plugin to new coordinates
but the configuration in the parent pom wasn't updated properly.
hashhar pushed a commit that referenced this pull request May 17, 2023
#17484 switched git-commit-id plugin to new coordinates
but the configuration in the parent pom wasn't updated properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

4 participants