dart-code-metrics icon indicating copy to clipboard operation
dart-code-metrics copied to clipboard

Version bump [http] package

Open saropa opened this issue 1 year ago • 4 comments

DCM version

v5.7.4

What problem do you want to solve?

Resolving dependencies... Because dart_code_metrics 5.7.4 depends on http ^0.13.5 and no versions of dart_code_metrics match >5.7.4 <6.0.0, dart_code_metrics ^5.7.4 requires http ^0.13.5.

What do you think is the correct solution?

Please support the current http package

Participation

  • [ ] I am willing to submit a pull request for this change.

Additional comments

Unfortunately DCM has had to be disabled as the current google_fonts package uses http v1

saropa avatar May 24 '23 11:05 saropa

In the meantime, you can add this to your pubspec.yaml:

dependency_overrides:
  http: ^1.0.0

maxlapides avatar May 31 '23 23:05 maxlapides

I think this is blocked by https://github.com/VeryGoodOpenSource/pub_updater/pull/47

maxlapides avatar May 31 '23 23:05 maxlapides

Pub updater version 0.3.1 fixes this

renancaraujo avatar Jun 19 '23 13:06 renancaraujo

Hello, I just created a PR here : https://github.com/dart-code-checker/dart-code-metrics/pull/1246 to fix this issue

If someone is willing to review it this would be a pleasure.

Thank you

vareversat avatar Jul 01 '23 22:07 vareversat