Skip to content

network_info_plus_linux nm version update #651

@guyluz11

Description

@guyluz11

Use case

Currently network_info_plus_linux package uses an old nm version ^0.3.0 where the last version is nm ^0.4.2.
After updating the flutter_local_notifications to version ^9.1.5 I am getting a dependency block because it uses a newer version of dbus than nm ^0.3.0 support.

image

  Because no versions of connectivity_plus_linux match >1.1.0 <1.1.1 and connectivity_plus_linux >=1.1.1 depends on nm ^0.4.0, connectivity_plus_linux >1.1.0 requires nm ^0.4.0.
(1) So, because network_info_plus_linux 1.1.0 depends on nm ^0.3.0 and connectivity_plus_linux 1.1.0 depends on dbus ^0.5.1, if network_info_plus_linux 1.1.0 and connectivity_plus_linux >=1.1.0 then dbus ^0.5.1.

   Because no versions of network_info_plus_linux match >1.1.0 <2.0.0 and network_info_plus_linux >=1.0.0-nullsafety.0 <1.0.2 depends on dbus ^0.2.1, network_info_plus_linux >=1.0.0-nullsafety.0 <1.0.2-∞ or >1.1.0 <2.0.0 requires dbus ^0.2.1.
   And because network_info_plus_linux >=1.0.2 <1.1.0 depends on dbus ^0.5.1, network_info_plus_linux >=1.0.0-nullsafety.0 <1.1.0-∞ or >1.1.0 <2.0.0 requires dbus ^0.2.1 or ^0.5.1.
   And because if network_info_plus_linux 1.1.0 and connectivity_plus_linux >=1.1.0 then dbus ^0.5.1 (1), if connectivity_plus_linux >=1.1.0 and network_info_plus_linux ^1.0.0-nullsafety.0 then dbus ^0.2.1 or >=0.5.1 <0.6.0.
   Because no versions of network_info_plus match >2.1.1 <3.0.0 and network_info_plus 2.1.1 depends on network_info_plus_linux ^1.0.0, network_info_plus ^2.1.1 requires network_info_plus_linux ^1.0.0.
   Thus, if network_info_plus ^2.1.1 and connectivity_plus_linux >=1.1.0 then dbus ^0.2.1 or >=0.5.1 <0.6.0.
   And because flutter_local_notifications_linux >=0.4.0 depends on dbus ^0.6.0, one of network_info_plus ^2.1.1 or connectivity_plus_linux >=1.1.0 or flutter_local_notifications_linux >=0.4.0 must be false.
   And because flutter_local_notifications >=9.1.5 <10.0.0-dev.1 depends on flutter_local_notifications_linux ^0.4.0 and connectivity_plus 2.1.0 depends on connectivity_plus_linux ^1.1.0, one of network_info_plus ^2.1.1 or flutter_local_notifications >=9.1.5 <10.0.0-dev.1 or connectivity_plus 2.1.0 must be false.
   And because no versions of connectivity_plus match >2.1.0 <3.0.0 and cybear_jinni depends on connectivity_plus ^2.1.0, network_info_plus ^2.1.1 is incompatible with flutter_local_notifications >=9.1.5 <10.0.0-dev.1.
   So, because cybear_jinni depends on both flutter_local_notifications ^9.1.5 and network_info_plus ^2.1.1, version solving failed.
pub get failed (1;     So, because cybear_jinni depends on both flutter_local_notifications ^9.1.5 and network_info_plus ^2.1.1, version solving failed.)

Proposal

Let's update the package network_info_plus_linux to the last version available of nm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions