Skip to content

[flutter_tools] the tool manually pinning test_api is blocking rolling the latest dwds #106886

@christopherfujino

Description

@christopherfujino

To diagnose why dwds is did not get bumped by the auto-roll: #106837, I temporarily added 'dwds': '15.0.0', to the manual pin map: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/update_packages.dart#L29, and ran flutter update-packages --force-upgrade and got this error from pub:

Because test_core >=0.4.14 <0.4.15 depends on test_api 0.4.10 and test_core >=0.4.11 <0.4.14 depends on vm_service >=6.0.0 <9.0.0, test_core >=0.4.11 <0.4.15 requires test_api 0.4.10 or vm_service >=6.0.0 <9.0.0.
And because dwds >=15.0.0 depends on vm_service ^9.0.0, if dwds >=15.0.0 and test_core >=0.4.11 <0.4.15 then test_api 0.4.10.
And because test_core >=0.4.15 depends on test_api 0.4.11 and flutter_update_packages depends on test_api 0.4.9, dwds >=15.0.0 is incompatible with test_core >=0.4.11.
So, because flutter_update_packages depends on both dwds 15.0.0 and test_core >=0.4.13, version solving failed.

Because we're also manually pinning test_api.

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions