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

chore: Pin slf4j-api to 1.7 to avoid downstream problems with Akka #817

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

johanandren
Copy link
Member

Refs #816

"com.typesafe.slick" %% "slick" % SlickVersion,
// Slick 3.5 pulls in slf4j-api 2.2 which doesn't work with Akka
("com.typesafe.slick" %% "slick" % SlickVersion).exclude("org.slf4j", "slf4j-api"),
"org.slf4j" % "slf4j-api" % "1.7.36",
Copy link
Member

Choose a reason for hiding this comment

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

do we need to add the explicit version here? with the exclude in place, I thought it would use what we have defined in upstream Akka dependencies

would be easy to forget this one once we bump slf4j in Akka

Copy link
Member Author

Choose a reason for hiding this comment

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

I was thinking that since we remove the transitive one, we need to make sure there is another one pulled in or else you could end up with a classdef not found in some scenario, users will most likely have the akka-slf4j in there but maybe not always?

Copy link
Member

Choose a reason for hiding this comment

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

ok, true, if not using Akka Typed
I'll add a note in the slf4j update ticket

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

LGTM

@patriknw patriknw merged commit 3f89c23 into main Mar 25, 2024
14 checks passed
@patriknw patriknw deleted the wip-pin-slf4j-api branch March 25, 2024 08:20
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