parse-community / Parse-SDK-Flutter

The Dart/Flutter SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
575 stars 186 forks source link

incompatibility of file_picker && parse_server_sdk_flutter #944

Open catalunha opened 1 year ago

catalunha commented 1 year ago

New Issue Checklist

Issue Description

incompatibility of file_picker && parse_server_sdk_flutter pubspec.yaml

dependencies:
  # Back4app
  parse_server_sdk_flutter: ^5.1.0
  # image/file
  file_picker: ^5.2.11

output

[fluxus3] flutter pub get
Resolving dependencies...
Because no versions of file_picker match >5.3.2 <6.0.0 and file_picker 5.3.2 depends on win32 ^5.0.2, file_picker ^5.3.2 requires win32 ^5.0.2.
And because parse_server_sdk_flutter >=4.0.0 depends on package_info_plus ^3.0.3 which depends on win32 >=2.7.0 <5.0.0, file_picker ^5.3.2 is incompatible with parse_server_sdk_flutter >=4.0.0.
So, because fluxus3 depends on both parse_server_sdk_flutter ^5.1.0 and file_picker ^5.3.2, version solving failed.
exit code 1

Steps to reproduce

Import packegs to generate problem with dependencies

Actual Outcome

version solving failed

Expected Outcome

version solving success

Environment

Parse Flutter SDK

Server

Logs

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

catalunha commented 1 year ago

Thanks to the entire update team. Sorry to post an issue without acknowledgment at the beginning. But it was running on time.

Parsing Flutter SDK 5.0.1 works.