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

[firebase_core]: dependency conflict, firebase_core and source_span #16919

Open
1 task done
yanaico opened this issue Dec 28, 2024 · 1 comment
Open
1 task done

[firebase_core]: dependency conflict, firebase_core and source_span #16919

yanaico opened this issue Dec 28, 2024 · 1 comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: android Issues / PRs which are specifically for Android. plugin: core type: bug Something isn't working

Comments

@yanaico
Copy link

yanaico commented Dec 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Core

Which platforms are affected?

Android

Description

Because no versions of firebase_core match >3.9.0 <4.0.0 and firebase_core 3.9.0 depends on firebase_core_platform_interface ^5.4.0, firebase_core ^3.9.0 requires firebase_core_platform_interface ^5.4.0.
And because no versions of firebase_core_platform_interface match >5.4.0 <6.0.0, firebase_core ^3.9.0 requires firebase_core_platform_interface 5.4.0.
And because firebase_core_platform_interface 5.4.0 depends on flutter_test from sdk which depends on source_span 1.10.0, firebase_core ^3.9.0 requires source_span 1.10.0.
So, because be_pass depends on both firebase_core ^3.9.0 and source_span ^1.10.1, version solving failed.

Reproducing the issue

Because no versions of firebase_core match >3.9.0 <4.0.0 and firebase_core 3.9.0 depends on firebase_core_platform_interface ^5.4.0, firebase_core ^3.9.0 requires firebase_core_platform_interface ^5.4.0.
And because no versions of firebase_core_platform_interface match >5.4.0 <6.0.0, firebase_core ^3.9.0 requires firebase_core_platform_interface 5.4.0.
And because firebase_core_platform_interface 5.4.0 depends on flutter_test from sdk which depends on source_span 1.10.0, firebase_core ^3.9.0 requires source_span 1.10.0.
So, because be_pass depends on both firebase_core ^3.9.0 and source_span ^1.10.1, version solving failed.

Firebase Core version

3.9.0

Flutter Version

3.27.1

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

@yanaico yanaico added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Dec 28, 2024
@SelaseKay SelaseKay added plugin: core platform: android Issues / PRs which are specifically for Android. labels Dec 30, 2024
@SelaseKay
Copy link
Contributor

Hi @yanaico, could you try pinning source_span version to 1.10.0? Like so

...
source_span: 1.10.0

@SelaseKay SelaseKay added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Dec 30, 2024
@SelaseKay SelaseKay changed the title dependency conflict, firebase_core and source_span [firebase_core]: dependency conflict, firebase_core and source_span Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: android Issues / PRs which are specifically for Android. plugin: core type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants