You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, as shown in the following full dependency graph of django-andablog, django-andablog requires django >=2.0,<2.3 , while the installed version of django (2.2.12) ,django-model-utils 4.0.0 requires django >=2.0.1.
According to Pip's “first found wins” installation strategy, django 2.2.12 is the actually installed version.
Although the first found package version django 2.2.12 just satisfies the later dependency constraint (django >=2.0.1), it will easily cause a build failure once the updated django-model-utils introduces a higher version of Django.
According to the release history of django-model-utils, it habitually upgrates Django in its recent releases. For instance, django-model-utils 3.0.0 upgrated Django’s constraint from >=1.4.2 to >=1.8, django-model-utils 3.2.0 upgrated Django’s constraint from >=1.8 to >=1.1.11, and django-model-utils 4.0.0 upgrated Django’s constraint from >=1.1.11 to >=2.0.1.
Dependency tree
django-andablog - 3.2.0
| +- django(install version:2.2.12 version range:>=2.0,<2.3)
| | +- pytz(install version:2019.3 version range:*)
| | +- sqlparse(install version:0.3.1 version range:*)
| +- django-markupfield(install version:2.0.0 version range:>=1.5,<3)
| +- django-model-utils(install version:4.0.0 version range:>=3.0,<5.0)
| | +- django(install version:2.2.12 version range:>=2.0.1)
| | | +- 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)
| +- django-taggit(install version:1.2.0 version range:>=0.22.2,<2.0.0)
| +- pillow(install version:7.1.2 version range:>=4.0.0,<8.0.0)
| +- six(install version:1.14.0 version range:*)
Thanks for your help.
Best,
Neolith
The text was updated successfully, but these errors were encountered:
Remove your direct dependency django, and use the django transitively introduced by django-model-utils.
Change the version range of django-model-utils to be >=3.0,<=4.0. @ivanvenosdel Which solution do you prefer, 1 ,2or 3?
Please let me know your choice. May I pull a request to solve this issue?
Thank you for noticing this and offering to do a PR. If I understand your concern correctly you are saying that, though there is not currently a dependency conflict, the way django-model-utils typically bumps its Django dependencies in minor releases means that there soon will be.
Lets go with your first suggestion as I would rather have the minimum Django be determined via actual testing efforts by this project.
Hi, as shown in the following full dependency graph of django-andablog, django-andablog requires django >=2.0,<2.3 , while the installed version of django (2.2.12) ,django-model-utils 4.0.0 requires django >=2.0.1.
According to Pip's “first found wins” installation strategy, django 2.2.12 is the actually installed version.
Although the first found package version django 2.2.12 just satisfies the later dependency constraint (django >=2.0.1), it will easily cause a build failure once the updated django-model-utils introduces a higher version of Django.
According to the release history of django-model-utils, it habitually upgrates Django in its recent releases. For instance, django-model-utils 3.0.0 upgrated Django’s constraint from >=1.4.2 to >=1.8, django-model-utils 3.2.0 upgrated Django’s constraint from >=1.8 to >=1.1.11, and django-model-utils 4.0.0 upgrated Django’s constraint from >=1.1.11 to >=2.0.1.
Dependency tree
Thanks for your help.
Best,
Neolith
The text was updated successfully, but these errors were encountered: