Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve dependencies when fixing the lock file in developer mode #255

Open
igor-sadalski opened this issue Sep 17, 2024 · 2 comments

Comments

@igor-sadalski
Copy link

igor-sadalski commented Sep 17, 2024

after git cloning the file and simply trying to install dependencies (I want to work in developer mode) I get error:

pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock [--no-update]` to fix the lock file. when running

when I run:

poetry lock

I get the issue that the dependencies cannot be resolved i.e.:

The current project's supported Python range (>=3.7.12,<3.11) is not compatible with some of the required packages Python requirement:

  - jaxlib requires Python >=3.10, so it will not be satisfied for Python >=3.7.12,<3.10
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - jaxlib requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - jaxlib requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - jaxlib requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - jaxlib requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - jaxlib requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - jaxlib requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.9, so it will not be satisfied for Python >=3.7.12,<3.9
  - jaxlib requires Python >=3.10, so it will not be satisfied for Python >=3.7.12,<3.10
  - orbax requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - orbax requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - orbax requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - orbax requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - orbax requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - orbax requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8
  - orbax requires Python >=3.8, so it will not be satisfied for Python >=3.7.12,<3.8

    Because no versions of orbax match <0.0.0 || >0.0.0,<0.0.1 || >0.0.1,<0.0.2 || >0.0.2,<0.0.3 || >0.0.3,<0.0.4 || >0.0.4,<0.0.5 || >0.0.5,<0.0.6 || >0.0.6,<0.0.7 || >0.0.7,<0.0.8 || >0.0.8,<0.0.9 || >0.0.9,<0.0.10 || >0.0.10,<0.0.11 || >0.0.11,<0.0.12 || >0.0.12,<0.0.13 || >0.0.13,<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8
 and orbax (0.0.0) depends on jaxlib (*), orbax (<0.0.1 || >0.0.1,<0.0.2 || >0.0.2,<0.0.3 || >0.0.3,<0.0.4 || >0.0.4,<0.0.5 || >0.0.5,<0.0.6 || >0.0.6,<0.0.7 || >0.0.7,<0.0.8 || >0.0.8,<0.0.9 || >0.0.9,<0.0.10 || >0.0.10,<0.0.11 || >0.0.11,<0.0.12 || >0.0.12,<0.0.13 || >0.0.13,<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.1) depends on jaxlib (*), orbax (<0.0.2 || >0.0.2,<0.0.3 || >0.0.3,<0.0.4 || >0.0.4,<0.0.5 || >0.0.5,<0.0.6 || >0.0.6,<0.0.7 || >0.0.7,<0.0.8 || >0.0.8,<0.0.9 || >0.0.9,<0.0.10 || >0.0.10,<0.0.11 || >0.0.11,<0.0.12 || >0.0.12,<0.0.13 || >0.0.13,<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.2) depends on jaxlib (*)
 and orbax (0.0.3) depends on jaxlib (*), orbax (<0.0.4 || >0.0.4,<0.0.5 || >0.0.5,<0.0.6 || >0.0.6,<0.0.7 || >0.0.7,<0.0.8 || >0.0.8,<0.0.9 || >0.0.9,<0.0.10 || >0.0.10,<0.0.11 || >0.0.11,<0.0.12 || >0.0.12,<0.0.13 || >0.0.13,<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.4) depends on jaxlib (*)
 and orbax (0.0.5) depends on jaxlib (*), orbax (<0.0.6 || >0.0.6,<0.0.7 || >0.0.7,<0.0.8 || >0.0.8,<0.0.9 || >0.0.9,<0.0.10 || >0.0.10,<0.0.11 || >0.0.11,<0.0.12 || >0.0.12,<0.0.13 || >0.0.13,<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.6) depends on jaxlib (*)
 and orbax (0.0.7) depends on jaxlib (*), orbax (<0.0.8 || >0.0.8,<0.0.9 || >0.0.9,<0.0.10 || >0.0.10,<0.0.11 || >0.0.11,<0.0.12 || >0.0.12,<0.0.13 || >0.0.13,<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.8) depends on jaxlib (*)
 and orbax (0.0.9) depends on jaxlib (*), orbax (<0.0.10 || >0.0.10,<0.0.11 || >0.0.11,<0.0.12 || >0.0.12,<0.0.13 || >0.0.13,<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.10) depends on jaxlib (*)
 and orbax (0.0.11) depends on jaxlib (*), orbax (<0.0.12 || >0.0.12,<0.0.13 || >0.0.13,<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.12) depends on jaxlib (*)
 and orbax (0.0.13) depends on jaxlib (*), orbax (<0.0.14 || >0.0.14,<0.0.15 || >0.0.15,<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.14) depends on jaxlib (*)
 and orbax (0.0.15) depends on jaxlib (*), orbax (<0.0.16 || >0.0.16,<0.0.18 || >0.0.18,<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.16) depends on jaxlib (*)
 and orbax (0.0.18) depends on jaxlib (*), orbax (<0.0.19 || >0.0.19,<0.0.20 || >0.0.20,<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.19) depends on jaxlib (*)
 and orbax (0.0.20) depends on jaxlib (*), orbax (<0.0.21 || >0.0.21,<0.0.22 || >0.0.22,<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
    And because orbax (0.0.21) depends on jaxlib (*)
 and orbax (0.0.22) depends on jaxlib (*), orbax (<0.0.23 || >0.0.23,<0.1.0 || >0.1.0,<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).
(1) So, because orbax (0.0.23) depends on jaxlib (*)
 and orbax (0.1.0) depends on jaxlib (*), orbax (<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*).

    Because no versions of jaxlib match >=0.1.65,<0.4.6 || >0.4.6,<0.4.7 || >0.4.7,<0.4.9 || >0.4.9,<0.4.10 || >0.4.10,<0.4.11 || >0.4.11,<0.4.12 || >0.4.12,<0.4.13 || >0.4.13,<0.4.14 || >0.4.14,<0.4.16 || >0.4.16,<0.4.17 || >0.4.17,<0.4.18 || >0.4.18,<0.4.19 || >0.4.19,<0.4.20 || >0.4.20,<0.4.21 || >0.4.21,<0.4.22 || >0.4.22,<0.4.23 || >0.4.23,<0.4.24 || >0.4.24,<0.4.25 || >0.4.25,<0.4.26 || >0.4.26,<0.4.27 || >0.4.27,<0.4.28 || >0.4.28,<0.4.29 || >0.4.29,<0.4.30 || >0.4.30,<0.4.31 || >0.4.31,<0.4.33 || >0.4.33
 and jaxlib (0.4.6) requires Python >=3.8, jaxlib is forbidden.
    And because jaxlib (0.4.7) requires Python >=3.8
 and jaxlib (0.4.12) requires Python >=3.8, jaxlib is forbidden.
    And because jaxlib (0.4.11) requires Python >=3.8
 and jaxlib (0.4.10) requires Python >=3.8, jaxlib is forbidden.
    And because jaxlib (0.4.9) requires Python >=3.8
 and jaxlib (0.4.13) requires Python >=3.8, jaxlib is forbidden.
    And because jaxlib (0.4.14) requires Python >=3.9
 and jaxlib (0.4.16) requires Python >=3.9, jaxlib is forbidden.
    And because jaxlib (0.4.17) requires Python >=3.9
 and no versions of jaxlib match >=0.1.37,<0.1.65, jaxlib is forbidden.
    And because jaxlib (0.4.18) requires Python >=3.9
 and jaxlib (0.4.19) requires Python >=3.9, jaxlib is forbidden.
    And because no versions of jaxlib match <0.1.37
 and jaxlib (0.4.20) requires Python >=3.9, jaxlib is forbidden.
    And because jaxlib (0.4.21) requires Python >=3.9
 and jaxlib (0.4.22) requires Python >=3.9, jaxlib is forbidden.
    And because jaxlib (0.4.23) requires Python >=3.9
 and jaxlib (0.4.24) requires Python >=3.9, jaxlib is forbidden.
    And because jaxlib (0.4.25) requires Python >=3.9
 and jaxlib (0.4.26) requires Python >=3.9, jaxlib is forbidden.
    And because jaxlib (0.4.27) requires Python >=3.9
 and jaxlib (0.4.28) requires Python >=3.9, jaxlib is forbidden.
    And because jaxlib (0.4.29) requires Python >=3.9
 and jaxlib (0.4.30) requires Python >=3.9, jaxlib is forbidden.
    And because jaxlib (0.4.31) requires Python >=3.10
 and jaxlib (0.4.33) requires Python >=3.10, jaxlib is forbidden.
    And because orbax (<0.1.1 || >0.1.1,<0.1.2 || >0.1.2,<0.1.3 || >0.1.3,<0.1.4 || >0.1.4,<0.1.5 || >0.1.5,<0.1.6 || >0.1.6,<0.1.7 || >0.1.7,<0.1.8) requires jaxlib (*) (1), orbax is forbidden
    And because orbax (0.1.1) requires Python >=3.8
 and orbax (0.1.2) requires Python >=3.8, orbax is forbidden.
    And because orbax (0.1.3) requires Python >=3.8
 and orbax (0.1.4) requires Python >=3.8, orbax is forbidden.
    And because orbax (0.1.5) requires Python >=3.8
 and orbax (0.1.6) requires Python >=3.8, orbax is forbidden.
    So, because orbax (0.1.7) requires Python >=3.8
 and scgpt depends on orbax (<0.1.8), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For jaxlib, a possible solution would be to set the `python` property to ">=3.10,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.9,<3.11"
    For jaxlib, a possible solution would be to set the `python` property to ">=3.10,<3.11"
    For orbax, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For orbax, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For orbax, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For orbax, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For orbax, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For orbax, a possible solution would be to set the `python` property to ">=3.8,<3.11"
    For orbax, a possible solution would be to set the `python` property to ">=3.8,<3.11"```



when running with 

```poetry lock --no-update```

it also fails as it cannot install jaxlib. I am using python3.9.2
@igor-sadalski igor-sadalski changed the title Unable to resolve dependencies when fixing the lock file Unable to resolve dependencies when fixing the lock file in developer mode Sep 17, 2024
@David-M-P
Copy link

Same errors here, cannot seem to find the way around it

@igor-sadalski
Copy link
Author

Maybe just Git checkout to earlier commits where the lock was working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants