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

Flutter 3.19.0, versions problem #201

Closed
marcinkaczmarzyk opened this issue Feb 16, 2024 · 2 comments · Fixed by #202
Closed

Flutter 3.19.0, versions problem #201

marcinkaczmarzyk opened this issue Feb 16, 2024 · 2 comments · Fixed by #202

Comments

@marcinkaczmarzyk
Copy link

Environment

Flutter (Channel stable, 3.19.0, on macOS 14.3.1 23D60 darwin-arm64, locale pl-PL)
sentry_dart_plugin: ^1.7.0
integration_test:
sdk: flutter

Steps to Reproduce

Try to install sentry dart plugin with integration_test flutter package on the latest flutter version 3.19.0

Expected Result

That should work

Actual Result

Because no versions of sentry_dart_plugin match >1.7.0 <2.0.0 and sentry_dart_plugin 1.7.0 depends on process ^4.2.4, sentry_dart_plugin ^1.7.0 requires process ^4.2.4.
And because no versions of process match >4.2.4 <5.0.0, sentry_dart_plugin ^1.7.0 requires process 4.2.4.
And because process 4.2.4 depends on file ^6.0.0 and every version of integration_test from sdk depends on file 7.0.0, sentry_dart_plugin ^1.7.0 is incompatible with integration_test from sdk.
So, because XXX depends on both integration_test from sdk and sentry_dart_plugin ^1.7.0, version solving failed.

@buenaflor buenaflor moved this from Needs Discussion to Backlog in Mobile & Cross Platform SDK Feb 16, 2024
@buenaflor buenaflor moved this from Backlog to In Progress in Mobile & Cross Platform SDK Feb 16, 2024
@buenaflor
Copy link
Contributor

buenaflor commented Feb 16, 2024

hey thanks for the issue.

while we ship a fix you can work around this with overriding the dependency for now

dependency_overrides:
  process: ^5.0.0

@buenaflor
Copy link
Contributor

buenaflor commented Feb 16, 2024

the fix is now part of 1.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants