Update org.yaml:snakeyaml dependency to 1.28#12091
Conversation
e9657a2 to
dd11ede
Compare
hashhar
left a comment
There was a problem hiding this comment.
Thanks. Can you verify whether there are other places it is being pulled in but not causing issues from the mvn dependency:tree output?
Please add some justification to commit message or reword to something like
Ensure same version of snakeyaml is used across modules
Versions must be consistent to avoid having to add exclusions because org.yaml:snakeyaml is a transitive dependency of many dependencies.
|
Thanks @hashhar - I've updated the commit message: Here's a breakdown of dependencies before/after the dependency version change: Here are the snakeyaml depenencies "1.30" version (upgrade) applied: ( Update: Here are the dependencies w/this patch/1.28 set as the common version (in order to match airbase w/out upgrading) |
|
I've checked the versions in So I'm going to update the PR to upgrade to |
dd11ede to
513bfba
Compare
hashhar
left a comment
There was a problem hiding this comment.
transitive dependency of jackson-dataformat-yaml -> transitive dependency of jackson-dataformat-yaml from Airbase.
Thanks for noticing the inclusion from Airbase. 1.28 makes more sense with that context.
513bfba to
4c916cd
Compare
Versions must be consistent to avoid having to add exclusions to enforcer rules. org.yaml:snakeyaml:1.28 is a transitive dependency of jackson-dataformat-yaml from Airbase.
4c916cd to
b2c74df
Compare
Description
trino-product-tests-launcherrequiresorg.yaml:snakeyaml:1.28, while Trino's rootpom.xmlspecifies1.26.The snakeyaml dependency comes from
jackson-dataformat-yaml:2.13.1, which is the version specified byio.airlift:airbase:123(see https://github.com/airlift/airbase/blob/295990f5fc4637b89f98ab11a0e796ce3344e7e0/airbase/pom.xml#L1125 )
This PR updates Trino's
pom.xmlto specify the same version ofcom.yaml:snakeyaml:1.28that is specified viaairbase:123.This also allows us to remove exclusions on enforcer dependency upper range rules (see trino-cassandra pom.xml).
Improvement
Dependency version upgrade
Upgrading 3rd party libraries to latest common version
Related issues, pull requests, and links
Documentation
(*) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
(*) No release notes entries required.
( ) Release notes entries required with the following suggested text: