-
Notifications
You must be signed in to change notification settings - Fork 62
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
Shade antlr dependency for partiql-parser and partiql-lang #1439
Conversation
Conformance comparison report
Number passing in both: 5384 Number failing in both: 434 Number passing in Base (4851cac) but now fail: 0 Number failing in Base (4851cac) but now pass: 0 |
Draft PR in its current state appears to do the proper shading (putting the Will try updating the Gradle version to 8.0+ #1440 and upgrade the |
Confirmed that all of the subprojects published to Maven have the same POM dependencies with all of the |
I see that you've published locally ( For context, I was going to run some tests to make sure I can use Here's my build script: plugins {
id("java")
}
group = "org.partiql.shade-test"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
// For testing
testImplementation("org.partiql:partiql-parser:0.13.3-SNAPSHOT")
// testImplementation("org.partiql:partiql-parser:0.14.6-SNAPSHOT")
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
tasks.test {
useJUnitPlatform()
} |
Thanks for testing the local publishing on your end. My I was able to reproduce some build errors you're probably experiencing when pulling in the local published version of this branch (0.14.6-SNAPSHOT) and using an empty Maven local cache. I had not seen those errors in previous testing since I had locally published 0.14.6-SNAPSHOT before the latest commit of this PR. My guess is that some combination of the previous local published Maven artifacts and the latest PR's local publishing allowed my local build to succeed. I'll try fixing the publishing task and performing further testing. |
Did some more local testing on my end after the most recent commits. Process I followed:
Testing done:
|
Relevant Issues
Description
partiql-parser
andpartiql-lang
antlr
dependencies forpartiql-parser
andpartiql-lang
behindorg.partiql.thirdparty
.pom
does not includeantlr
dependencypartiql-parser
andpartiql-lang
generated code usesantlr
fromorg.partiql.thirdparty
dependency:Other Information
Updated Unreleased Section in CHANGELOG: [NO]
Any backward-incompatible changes? [NO]
Any new external dependencies? [YES]
Do your changes comply with the Contributing Guidelines
and Code Style Guidelines? [YES]
License Information
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.