I can't compile on flutter version 3.32.6
Description
It is not possible to compile the project with Flutter 3.32.6 due to a version conflict with the collection package.
Expected result
The project should build successfully using flutter build web on Flutter 3.32.6, as it did on previous Flutter versions.
Current behavior
Running flutter pub get or flutter build web fails with:
Note: collection is pinned to version 1.19.1 by flutter_test from the flutter SDK. Because every version of flutter_test from sdk depends on collection 1.19.1 and tmail_ui_user depends on collection 1.18.0, flutter_test from sdk is forbidden. So, because tmail_ui_user depends on flutter_test from sdk, version solving failed. Failed to update packages.
Preconditions
- Flutter 3.32.6 (stable channel)
- Dart SDK 3.8.1
- Windows 10 or 11 environment
Reproduction Steps
- Clone the
tmail-flutterrepository at the affected tag/branch. - Run
flutter pub get. - Observe the dependency resolution error.
- Run
flutter build weband observe the same error.
Acceptance Criteria
- [ ] Resolve the
collectionversion conflict so that the project builds on Flutter 3.32.6. - [ ] Document the minimum Flutter version that successfully builds after the fix.
- [ ] Verify that both
flutter pub getandflutter build webcomplete without errors.
Context
- Device/OS: Windows 10/11
- Flutter channel: stable 3.32.6
- Dart SDK: 3.8.1
Additional Information
- Frequency: Occurs every time
flutter pub getorflutter build webis run on Flutter 3.32.6. - Full logs are included in the reproduction steps above.
Question
- Which Flutter version can successfully build this project without dependency conflicts?
interesting series if compiled versions were made available for download
Hi @insinfo We now support flutter version 3.32.8 on the master branch. You can now pull the latest master and use it. If you need details about this upgrade, please see the PR https://github.com/linagora/tmail-flutter/pull/4059. Thanks
Thank you for your excellent work as soon as I have time I will try to compile this new version