nautobot-app-ssot icon indicating copy to clipboard operation
nautobot-app-ssot copied to clipboard

Pypi installation make conflicts in version dependancies Jinja2 and PyAML forcing nautobot downgrade

Open htam-net opened this issue 3 years ago • 1 comments

Environment

  • Python version: 3.8.3
  • Nautobot version: 1.3.8 (and 1.4.1)
  • nautobot-ssot-aci version: 1.0 (from pypi)

Expected Behavior

nautobot-plugin-ssot-aci should accept the same dependencies as Nautobot itself and the nautobot-plugin-ssot plugin. It shouldn't conflict with version of Jinja2 and PyAML

Observed Behavior

Installing nautobot-plugin-ssot-aci make a downgrade to nautobot 1.2.11. When re-upgrading nautobot (as of date of posting : 1.4.1), it conflicts with Jinja2 and PyAML versions.

Steps to Reproduce

  1. The starting version of Nautobot was 1.3.8
  2. Installing through pip nautobot-plugin-ssot-aci :
$ pip install --upgrade nautobot-ssot-aci
[-- cut --]
Attempting uninstall: nautobot
    Found existing installation: nautobot 1.3.8
    Uninstalling nautobot-1.3.8:
      Successfully uninstalled nautobot-1.3.8
Successfully installed Django-3.1.14 GitPython-3.1.18 Jinja2-2.11.3 MarkupSafe-2.0.1 PyYAML-5.4.1 django-cacheops-5.1 django-cors-headers-3.7.0 django-filter-2.4.0 django-jinja-2.7.1 django-mptt-0.11.0 django-prometheus-2.1.0 django-rq-2.4.1 django-tables2-2.3.4 django-taggit-1.3.0 djangorestframework-3.12.4 jsonschema-3.2.0 nautobot-1.2.11 nautobot-ssot-aci-1.0.0 netutils-1.0.0 psycopg2-binary-2.8.6 pycryptodome-3.10.4 social-auth-app-django-4.0.0
  1. Re-upgrade Nautobot
$ pip install --upgrade nautobot
[-- cut --]
Attempting uninstall: nautobot
    Found existing installation: nautobot 1.2.11
    Uninstalling nautobot-1.2.11:
      Successfully uninstalled nautobot-1.2.11
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
nautobot-ssot-aci 1.0.0 requires Jinja2<3, but you have jinja2 3.0.3 which is incompatible.
nautobot-ssot-aci 1.0.0 requires PyYAML<6.0.0,>=5.4.1, but you have pyyaml 6.0 which is incompatible.
Successfully installed Django-3.2.15 GitPython-3.1.27 Jinja2-3.0.3 Markdown-3.3.7 MarkupSafe-2.1.1 Pillow-9.2.0 PyYAML-6.0 celery-5.2.7 django-cacheops-6.0 django-cors-headers-3.13.0 django-extensions-3.2.0 django-filter-21.1 django-jinja-2.10.2 django-mptt-0.13.4 django-prometheus-2.2.0 django-rq-2.5.1 django-tables2-2.4.1 django-taggit-1.5.1 django-tree-queries-0.11.0 djangorestframework-3.13.1 jsonschema-4.7.2 nautobot-1.4.1 netutils-1.1.0 psycopg2-binary-2.9.3 pycryptodome-3.13.0 social-auth-app-django-5.0.0

htam-net avatar Aug 25 '22 06:08 htam-net

Hi @jasonjuenger, we are working on consolidating different SSoT integrations into the SSoT framework to simplify maintainability. We will check this is addressed there.

chadell avatar Sep 05 '23 12:09 chadell

I think we can close this out as it's years old and for 1.x of NB which we're up to 2.3.0 support.

jdrew82 avatar Aug 23 '24 23:08 jdrew82