arrow-kt / arrow

Λrrow - Functional companion to Kotlin's Standard Library
http://arrow-kt.io
Other
6.13k stars 442 forks source link

Update Arrow 2.0.0-alpha.2 misses a dependency #3440

Closed Atternatt closed 3 months ago

Atternatt commented 3 months ago

What version are you currently using? Updating to Arrow 2.0.0-alpha.2 I faced an issue:

> Task :database:compileKotlinIosArm64 FAILED
e: KLIB resolver: Could not find "io.arrow-kt:arrow-continuations" in [/Users/marc/IdeaProjects/Archer, /Users/marc/.konan/klib, /Users/marc/.konan/kotlin-native-prebuilt-macos-aarch64-2.0.0/klib/common, /Users/marc/.konan/kotlin-native-prebuilt-macos-aarch64-2.0.0/klib/platform/ios_arm64]

seems that a dependency that is no longer present is not found.

Our initial guess is that perhaps kotest arrow is using them but we didn't find any evidence running a dependency task so we are a bit confused

serras commented 3 months ago

Could you send the output of ./gradlew -q dependencies?

Atternatt commented 3 months ago

here the changes (gradle/libs.versions.toml specifically) you should be able to just fork the PR and run ./gradlew check

and here de dependencies (to make it work in the PR I added explicitly the arrow-continuations = { module = "io.arrow-kt:arrow-continuations", version.ref = "arrowContinuations" } but i removed it in the dependencies gradle task as it's how it fails: deps.txt

serras commented 3 months ago

This should be fixed in alpha.3