-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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
kotlinx-coroutines-bom seems to break upgrade to Spring Boot 2.7.1 #31521
Comments
No, we haven't seen this as far as I know. Our Gradle-based build is not affected and a Maven-based project that we build as part of the release process was also unaffected. Perhaps the problem only occurs with certain dependencies. Can you please provide a minimal sample that reproduces the problem so that we can assess its impact? |
Yes you are right about that. It does not occur in the projects where I do not use coroutines. But if I use coroutines, it apparently goes through the build of materials and then it tries to download kotlinx-coroutines-bom.jar which of course does not exist. So indeed this is something related when using some dependencies. I've also opened an issue to them about this, because this isn't something particularly related to Spring Boot: Kotlin/kotlinx.coroutines#3345 I'll make a sample project for you today about this. |
@wilkinsona , maybe this log output helps? It's one of my projects in GitLab. It's a much simpler project: https://gitlab.com/jesperancinha/video-series-app/-/jobs/2634783454 |
@wilkinsona And this after I've removed the kotlinx-coroutines BOM from the pom file of that same project: https://gitlab.com/jesperancinha/video-series-app/-/jobs/2635016725 So it just happens whenever I include certain coroutine dependencies that make use of the couroutines debug library, I suppose. But of course apparently Spring Boot now also includes coroutines (I don't know when this started) so this is why I've opened this issue also to you. |
I think I found out what's needing that debug library. <dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-runner-junit5-jvm</artifactId>
<scope>test</scope>
</dependency> Tough one this one :) because then it will only happen to whoever is using Kotest, but apparently this one actually starts in kotlinx coroutines, that's where the problem seems to begin. I'm waiting for a reaction from them at the moment, but this seems to be an issue with the kotlinx-couroutines libraries. |
Thanks, @jesperancinha. We import Given that the problem is limited to users |
Hi there, I'm not sure if I should open the issue here too but I noticed that after trying to upgrade to Spring boot 2.7.1 I'm getting this error:
I dug into the BOM of spring boot and I found that it is using kotlinx-coroutines-bom 1.6.3 which is using kotlinx-coroutines-debug dependency which wants to download apparently a BOM as a jar file:
Have you seen this issue and are you going to release a fix soon?
Thanks!
The text was updated successfully, but these errors were encountered: