octue / twined

A library to help data services talk to one another
https://twined.readthedocs.io
MIT License
24 stars 1 forks source link

Update constraint on jsonschema library version #113

Closed nvn-nil closed 2 months ago

nvn-nil commented 2 months ago

Feature request

The constraint on the jsonschema library version of ~=4.4.0 (==4.4.*) is too tight and incompatible with some open-source libraries' latest versions.

I'm trying to set up Jupyter in WindQuest so that python manage.py shell_plus --notebook works, but installing the latest version of the notebook fails with:

Using version ^7.1.3 for notebook

Updating dependencies
Resolving dependencies... (7.0s)
...
...
Because no versions of twined match >0.5.1,<0.5.2 || >0.5.2,<0.5.3 || >0.5.3,<0.5.4 || >0.5.4,<0.6.0
 and twined (0.5.1) depends on jsonschema (>=4.4.0,<4.5.0), twined (>=0.5.1,<0.5.2 || >0.5.2,<0.5.3 || >0.5.3,<0.5.4 || >0.5.4,<0.6.0) requires jsonschema (>=4.4.0,<4.5.0).
    And because twined (0.5.2) depends on jsonschema (>=4.4.0,<4.5.0)
 and twined (0.5.4) depends on jsonschema (>=4.4.0,<4.5.0), twined (>=0.5.1,<0.5.3 || >0.5.3,<0.6.0) requires jsonschema (>=4.4.0,<4.5.0).
    And because octue (0.52.0) depends on twined (>=0.5.1,<0.6.0)
 and twined (0.5.3) depends on jsonschema (>=4.4.0,<4.5.0), octue (0.52.0) requires jsonschema (>=4.4.0,<4.5.0).
    And because notebook (>=7.1.3,<8.0.0) requires jsonschema (>=4.17.3) (2), notebook (>=7.1.3,<8.0.0) is incompatible with octue (0.52.0)
    So, because wq depends on both octue (0.52.0) and notebook (^7.1.3), version solving failed.

These libraries have older releases, but it'd be great not to have to pin other libraries to older versions.