Skip to content

Conversation

shangm2
Copy link

@shangm2 shangm2 commented Jul 14, 2025

  1. update airbase version
  2. pull in changes from new repo at airlift/drift to resolve plugin complains.

@shangm2 shangm2 requested a review from a team as a code owner July 14, 2025 22:03
@shangm2 shangm2 force-pushed the bumpAirbase branch 21 times, most recently from 52a8ea7 to e2650c2 Compare July 15, 2025 17:35
Copy link

@unidevel unidevel left a comment

Choose a reason for hiding this comment

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

LGTM

<version>${dep.airlift.version}</version>
</dependency>

<dependency>

Choose a reason for hiding this comment

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

why was this dependency removed. isn't it still needed?

Copy link
Author

Choose a reason for hiding this comment

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

@rschlussel there is a duplicate in the pom already. No idea why it worked before.

pom.xml Outdated
Comment on lines 343 to 350
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

Choose a reason for hiding this comment

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

Why are we skipping this? It provides protection against runtime issues due to conflicting dependencies/classes on the classpath. I can understand the modernizer being a nuisance, but the dependency plugin is one we should not be disabling.

Copy link
Author

Choose a reason for hiding this comment

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

@ZacBlanco Glad you are back. I don't think the errors from those plugins is related to our change. I just need a manual cut as you did before. I am ok not to merge this pr.

Choose a reason for hiding this comment

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

Can you share what conflicts you were seeing? Just want to be sure the version upgrade doesn't cause dependency conflicts.

Copy link
Author

Choose a reason for hiding this comment

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

Sure. Let me remove the skipping.

Copy link
Author

@shangm2 shangm2 Jul 15, 2025

Choose a reason for hiding this comment

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

The error message is
[INFO] --- dependency:3.8.1:analyze-only (default) @ drift-codec-utils --- Error: Non-test scoped test only dependencies found: Error: com.facebook.drift:drift-api:jar:1.44-SNAPSHOT:compile

which is false since compile scope is needed. @rschlussel @ZacBlanco

Choose a reason for hiding this comment

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

if you add test does it fix it, or complain about the drift-api being a required compile-time dependency?

For those cases, you need to manually ignore that specific dependency in the configuration

Copy link
Author

Choose a reason for hiding this comment

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

it is the other way around I think. It thinks compile is not necessary but it is needed transitively.

Copy link
Author

Choose a reason for hiding this comment

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

I guess let me pull in those fix you guys did in the new repo. https://github.com/prestodb/airlift/blob/master/drift/drift-codec-utils/pom.xml I was trying to avoid duplicate work.

@shangm2
Copy link
Author

shangm2 commented Jul 15, 2025

@ZacBlanco Let me know if you can make a manual cut without the need of this pr as before. More discussion is on slack and I have tagged you there.

@ZacBlanco
Copy link

@shangm2 You might have pinged the wrong account (had to make a new slack account, old one was tied to my IBM email). I won't be able to cut a release for you. I would start a thread in the #dev channel if you need to cut a release for the drift repository.

@shangm2
Copy link
Author

shangm2 commented Jul 15, 2025

@shangm2 You might have pinged the wrong account (had to make a new slack account, old one was tied to my IBM email). I won't be able to cut a release for you. I would start a thread in the #dev channel if you need to cut a release for the drift repository.

I see. Yeah, I already did a thread.

Copy link

@ZacBlanco ZacBlanco left a comment

Choose a reason for hiding this comment

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

Not really approving of these changes, but for a temporary release I am ok with this given we're eventually migrating to the drift in the airlift repo.

@shangm2
Copy link
Author

shangm2 commented Jul 15, 2025

@rschlussel @ZacBlanco I pulled in changes from the new repo and the pr is green now. Can I have another approval? Thanks

@rschlussel rschlussel merged commit 6c688e7 into prestodb:master Jul 15, 2025
2 checks passed
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.

4 participants