rrousselGit / functional_widget

A code generator to write widgets as function without loosing the benefits of classes.
596 stars 46 forks source link

Update constraints to allow latest versions of the packages: `_fe_analyzer_shared` `analyzer` `dart_style`. #121

Closed water-mizuu closed 9 months ago

water-mizuu commented 10 months ago

As I was dealing with dependency constraints, it turns out that this package keeps the following packages from upgrading. The versions they are stuck in are:

_fe_analyzer_shared: 61.0.0 analyzer: 5.13.0 dart_style: 2.3.2

rrousselGit commented 10 months ago

I am correctly able to use analyzer 6.0.0 & co. So I don't think functional_widget is the issue

yousefak007 commented 9 months ago

image

Because no versions of riverpod_lint match >2.3.7 <3.0.0 and riverpod_lint 2.3.7 depends on analyzer ^6.0.0, riverpod_lint ^2.3.7 requires analyzer ^6.0.0. And because functional_widget >=0.10.1 depends on analyzer ^5.2.0, riverpod_lint ^2.3.7 is incompatible with functional_widget >=0.10.1. So, because arabic_lang depends on both functional_widget ^0.10.1 and riverpod_lint ^2.3.7, version solving failed.

yousefak007 commented 9 months ago

for now, I solve the problem by adding an analyzer to the dependency override

dependency_overrides:
  analyzer: ^6.0.0
rrousselGit commented 9 months ago

Oh I haven't released the change. Let me do it.