Skip to content

raise package upper bounds and/or migrate to Dart 3 #947

@dave-doty

Description

@dave-doty
  • Issue Type: FEATURE REQUEST
  • over_react Version(s): 5.3.0

My project depends heavily on OverReact, and I finished migrating it to null safety with Dart 2.19.6. (If it matters, it's what's on the dev branch here: https://github.com/UC-Davis-molecular-computing/scadnano/tree/dev)

I thought I could then proceed to upgrade to Dart 3, but I ran into some issues that I believe are coming from package upper bounds in OverReact: UC-Davis-molecular-computing/scadnano#990 (comment) In particular, although OverReact is ostensibly compatible with Dart 3:

image

I think the package upper bounds of OverReact make this difficult. In particular (as I mention in the comment linked above) I suspect that you need frontend_server_client version 4 in order to run dart run build_runner build (or related build_runner tasks such as dart run build_runner build, or webdev serve, which I think runs dart run build_runner build behind the scenes) with Dart 3.

Maybe I'm just doing something wrong, but I wrestled with this for a while and, based on the discussion I linked in the comment (dart-lang/sdk#55911 (comment)) I suspect that I won't be able to upgrade to Dart 3 until OverReact raises the package upper bounds on frontend_server_client (and perhaps others? e.g., build_runner is currently at version 2.4.12 but I ran into resolving issues, I believe related to other version upper bounds in OverReact that limits it to 2.3 for build_runner).

Sorry if this isn't the right place to put this. There used to be a gitter page that the team used (https://app.gitter.im/#/room/#over_react_Lobby:gitter.im?source=orgpage), but I'm not sure how to contact them anymore.


FYI: @greglittlefield-wf @aaronlademann-wf @kealjones-wk @evanweible-wf @maxwellpeterson-wf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions