Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Potential dependency conflicts between django-netjsongraph and django #125

@NeolithEra

Description

@NeolithEra

Hi, as shown in the following full dependency graph of django-netjsongraph, django-netjsongraph requires django >=2.2,<3.1 , while the installed version of django (3.0.6)jsonfield 3.1.0 requires django >=2.2.
According to Pip's “first found wins” installation strategy, django 3.0.6 is the actually installed version.
Although the first found package version django 3.0.6 just satisfies the later dependency constraint (django >=2.2), it will easily cause a build failure once the updated jsonfield introduces a higher version of django
According to the release history of jsonfield, it habitually upgrates django in its recent releases. For instance, jsonfield 2.0.0 upgrated django’s constraint from >=1.4.3 to >=1.8.0, jsonfield 2.0.1 upgrated django’s constraint from >=1.8.0 to >=1.11, and jsonfield 3.0.0 upgrated django’s constraint from >=1.11 to >=2.2.

Dependency tree

django-netjsongraph - 0.6.2
| +- django(install version:3.0.6 version range:>=2.2,<3.1)
| +- django-model-utils(install version:4.0.0 version range:*)
| | +- django(install version:3.0.6 version range:>=2.0.1)
| +- djangorestframework(install version:3.11.0 version range:>=3.3,<3.12)
| | +- django(install version:3.0.6 version range:>=1.11)
| +- jsonfield(install version:3.1.0 version range:>=3.1.0,<4.0.0)
| | +- django (install version:3.0.5 version range:>=2.2)
| | | +- asgiref (install version: version range:=3.2)
| | | +- pytz(install version:2019.3 version range:*)
| | | +- sqlparse (install version:0.3.1 version range:>=0.2.2)
| +- netdiff(install version:0.7 version range:>=0.7.0,<0.8.0)
| +- openwisp-utils(install version:0.4.5 version range:>=0.4.3,<0.5.0) 

Thanks for your help.
Best,
Neolith

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions