8000 build: Move dep versions to Versions scala object by jaceklaskowski · Pull Request #1007 · unitycatalog/unitycatalog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

build: Move dep versions to Versions scala object #1007

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jaceklaskowski
Copy link
Contributor

Introduce project/Versions.scala scala object with the dependencies shared across sbt modules

  1. Moved the versions to Versions build object
  2. Removed byte-buddy dependency (as not needed, yet caused some Spark 4 integration issues)
  3. Fixed a few typos

@jaceklaskowski jaceklaskowski requested a review from tdas as a code owner May 17, 2025 17:44
Signed-off-by: Jacek Laskowski <jacek@japila.pl>
@jaceklaskowski jaceklaskowski force-pushed the build-versions-scala-object branch from c0ef247 to a3f533d Compare May 17, 2025 17:44
@jaceklaskowski
Copy link
Contributor Author

@johanl-db Please review and approve 🙏

Signed-off-by: Jacek Laskowski <jacek@japila.pl>
Signed-off-by: Jacek Laskowski <jacek@japila.pl>
@jaceklaskowski jaceklaskowski force-pushed the build-versions-scala-object branch from ec9d0ce to 312f428 Compare May 17, 2025 21:10
Comment on lines +2 to +12
val antlrVersion = "4.9.3"
val deltaVersion = "3.2.1"
val jacksonVersion = "2.15.0"
val log4jVersion = "2.24.3"
val openApiToolsJacksonBindNullableVersion = "0.2.6"
val orgApacheHttpVersion = "4.5.14"
val scala212 = "2.12.15"
val scala213 = "2.13.14"
val slf4jVersion = "2.0.13"
val spark3Version = "3.5.3"
val spark4Version = "4.0.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: can you split the versions into separate groups:

  • scala versions
  • delta/spark
  • other dependencies

object Versions {
val antlrVersion = "4.9.3"
val deltaVersion = "3.2.1"
val jacksonVersion = "2.15.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

There were two jackson versions used before: 2.15.0 and 2.17.0. This effectively downgrades the version for part of the targets, we'll need to define two separate jackson versions. I'd let unifying versions used for a later change, this may create more issues than it solves

Comment on lines +11 to +12
val spark3Version = "3.5.3"
val spark4Version = "4.0.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

spark4Version isn't used, it's probably simpler to have a single sparkVersion since we will only support a single spark version at least for now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, right. It's for the upcoming PRs! 😉

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.

2 participants
0