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_platform_interface] Direct non-dev dependency on flutter_test causing dependency resolution issues #17001

Open
Rexios80 opened this issue Jan 22, 2025 · 0 comments
Labels
Needs Attention This issue needs maintainer attention. platform: all Issues / PRs which are for all platforms. plugin: core type: enhancement New feature or request

Comments

@Rexios80
Copy link
Contributor

Rexios80 commented Jan 22, 2025

Because firebase_database >=11.0.1 <11.0.4 depends on firebase_core_platform_interface ^5.1.0 and firebase_database >=11.0.4 <11.1.0 depends on firebase_core_platform_interface
  ^5.2.0, firebase_database >=11.0.1 <11.1.0 requires firebase_core_platform_interface ^5.1.0.
And because firebase_database >=11.1.0 <11.1.3 depends on firebase_core_platform_interface ^5.2.1, firebase_database >=11.0.1 <11.1.3 requires firebase_core_platform_interface
  ^5.1.0.
And because firebase_database >=11.1.3 <11.2.0 depends on firebase_core_platform_interface ^5.3.0 and firebase_database >=11.2.0 depends on firebase_core_platform_interface ^5.3.1,
  firebase_database >=11.0.1 requires firebase_core_platform_interface ^5.1.0.
And because pub_stats depends on firebase_database ^11.0.3 and firebase_core_platform_interface >=4.4.3 depends on flutter_test from sdk, flutter_test from sdk is required.
And because every version of flutter_test from sdk depends on test_api 0.7.3 and test >=1.25.9 depends on test_api 0.7.4, test >=1.25.9 is forbidden.
And because pub_stats_core depends on test ^1.25.0 and test >=1.24.4 <1.25.9 depends on analyzer >=5.12.0 <7.0.0, analyzer >=5.12.0 <7.0.0 is required.
So, because pub_stats_firebase_functions depends on rexios_lints ^9.3.0 which depends on analyzer ^7.1.0, version solving failed.

Is the direct dependency on flutter_test really necessary? Why can't the packages that need the mocks also depend on it?

@SelaseKay SelaseKay added plugin: core Needs Attention This issue needs maintainer attention. platform: all Issues / PRs which are for all platforms. type: enhancement New feature or request labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Attention This issue needs maintainer attention. platform: all Issues / PRs which are for all platforms. plugin: core type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants