-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ata 6069 connector leak upgrades #624
Conversation
…leak Signed-off-by: Shailesh <shailesh.patil@iohk.io>
Signed-off-by: Shailesh <shailesh.patil@iohk.io>
Signed-off-by: Shailesh <shailesh.patil@iohk.io>
@@ -154,6 +157,7 @@ object Dependencies { | |||
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf", | |||
"com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapb.compiler.Version.scalapbVersion | |||
) | |||
val overrideVersionSchemes = libraryDependencySchemes += "org.tpolecat" %% "doobie-core" % VersionScheme.Always |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexITC I tried explained in the PR description but maybe not provided full context
There 1.0.0-RC2 is incompatible because sbt Versioning is added
https://github.com/lloydmeta/enumeratum/releases/tag/enumeratum-doobiev1.5.17 is still on 0.13.4 Doobie
But in Doobie 1.0.0-RC2 they have an update on strict sbt versioning, so it doesn't work I get the error described in tthe PR , enumeratum-doobie needs to have a release to fix this. I saw its on snaphot not released
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add a comment in this line to mention we are waiting for enumaratum to upgrade its doobie dependency.
Thanks for explaining.
Overview
Connector leaks connection when the stream is empty.
typelevel/fs2#2614 This PR fixes the bug in fs2.
To fix the version conflict on library added libraryDependencySchemes
unless there is another way to resolve the below is the error which is coming due to doobie version update 1.0.0-RC2
java.lang.RuntimeException: found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error]
[error] * org.tpolecat:doobie-core_2.13:1.0.0-RC2 (early-semver) is selected over 0.13.4
[error] +- io.iohk:management-console_2.13:1.2-635c44f6 (depends on 1.0.0-RC2)
[error] +- io.iohk:common_2.13:1.2-635c44f6 (depends on 1.0.0-RC2)
[error] +- org.tpolecat:doobie-postgres_2.13:1.0.0-RC2 (depends on 1.0.0-RC2)
[error] +- org.tpolecat:doobie-hikari_2.13:1.0.0-RC2 (depends on 1.0.0-RC2)
[error] +- org.tpolecat:doobie-postgres-circe_2.13:1.0.0-RC2 (depends on 1.0.0-RC2)
[error] +- com.beachape:enumeratum-doobie_2.13:1.7.0 (depends on 0.13.4)
[error]
[error]
[error] this can be overridden using libraryDependencySchemes or evictionErrorLevel
Screenshots
Checklists
Pre-submit checklist:
Pre-merge checklist: