Dependency conflict with path package when using Flutter SDK ≥3.29
Describe the issue:
Trying to use appium_flutter_server 0.0.27 with Flutter SDK 3.29.3 results in a dependency resolution failure due to an incompatible path dependency.
Resolving dependencies...
Note: path is pinned to version 1.9.1 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because appium_flutter_server 0.0.27 depends on path 1.9.0 and every version of flutter_localizations from sdk depends
on path 1.9.1, appium_flutter_server 0.0.27 is incompatible with flutter_localizations from sdk.
So, because my_app depends on both flutter_localizations from sdk and appium_flutter_server 0.0.27,
version solving failed.
This also occurs when using other SDK-pinned packages like integration_test or flutter_test, which similarly lock path to 1.9.1.
Steps to Reproduce:
- Use Flutter SDK
3.29.3
- Add
appium_flutter_server: ^0.0.27 to dev_dependencies
- Run
flutter pub get
Expected Behavior:
Dependencies should resolve successfully.
Actual Behavior:
Fails with version solving error due to path 1.9.0 vs. 1.9.1 conflict.
Important Note:
We cannot remove or replace flutter_localizations (or similar conflicting SDK packages), as it is required by the application. This makes the conflict effectively unresolvable without a change in appium_flutter_server.
Environment:
- Flutter: 3.29.3
- Dart: 3.7.2
- Platform: macOS
Dependency conflict with
pathpackage when using Flutter SDK ≥3.29Describe the issue:
Trying to use
appium_flutter_server 0.0.27with Flutter SDK3.29.3results in a dependency resolution failure due to an incompatiblepathdependency.This also occurs when using other SDK-pinned packages like
integration_testorflutter_test, which similarly lockpathto1.9.1.Steps to Reproduce:
3.29.3appium_flutter_server: ^0.0.27todev_dependenciesflutter pub getExpected Behavior:
Dependencies should resolve successfully.
Actual Behavior:
Fails with version solving error due to
path1.9.0 vs. 1.9.1 conflict.Important Note:
We cannot remove or replace flutter_localizations (or similar conflicting SDK packages), as it is required by the application. This makes the conflict effectively unresolvable without a change in appium_flutter_server.
Environment: