wakelock icon indicating copy to clipboard operation
wakelock copied to clipboard

win32 ^3.0.0 - version mismatch

Open fikretonuresen opened this issue 2 years ago • 4 comments

I need to upgrade file_picker to fix a bug but this version mismatch is not allowing me. I'm gonna make a pull request about this too.

In short win32 needs to be upgraded to ^4.1.3

Because no versions of wakelock_windows match >0.2.1 <0.3.0 and wakelock_windows <0.2.1 depends on win32 ^2.0.0, wakelock_windows <0.2.1-∞ or >0.2.1 <0.3.0 requires win32 ^2.0.0. And because wakelock_windows 0.2.1 depends on win32 ^3.0.0 and file_picker >=5.2.11 depends on win32 ^4.1.3, file_picker >=5.2.11 is incompatible with wakelock_windows <0.3.0. And because wakelock 0.6.2 depends on wakelock_windows ^0.2.0 and no versions of wakelock match >0.6.2 <0.7.0, file_picker >=5.2.11 is incompatible with wakelock ^0.6.2. So, because routewix_executive depends on both wakelock ^0.6.2 and file_picker ^5.2.11, version solving failed.

fikretonuresen avatar Apr 22 '23 08:04 fikretonuresen

File picker here as well: And because file_picker >=5.2.11 depends on win32 ^4.1.3, wakelock ^0.6.2 is incompatible with file_picker >=5.2.11.

Thanks for your PR

MrCsabaToth avatar May 04 '23 05:05 MrCsabaToth

I recommend overriding wakelock_windows:

dependency_overrides:
  # Can be removed when
  # https://github.com/creativecreatorormaybenot/wakelock/pull/203 is merged.
  wakelock_windows:
    git:
      url: https://github.com/diegotori/wakelock
      ref: 40464c75e908f57f458597ef4912f5273ab89b1a
      path: wakelock_windows

nilsreichardt avatar May 15 '23 12:05 nilsreichardt

im getting "fatal: repository 'https://github.com/timsneath/wakelock/' not found" when trying this

I recommend overriding wakelock_windows:

dependency_overrides:
  # Can be removed when
  # https://github.com/creativecreatorormaybenot/wakelock/pull/203 is merged.
  wakelock_windows:
    git:
      url: https://github.com/timsneath/wakelock
      ref: win32-v5
      path: wakelock_windows

dzab5 avatar Jun 20 '23 13:06 dzab5

@dzab5 I updated the comment with a different repository which works 👍

nilsreichardt avatar Jun 20 '23 13:06 nilsreichardt

I will soon discontinue this repository. Please use wakelock_plus: ^1.1.6 instead.