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

Add compatibility with Nautobot v1.2.9 #258

Open
dankot12 opened this issue Mar 21, 2022 · 1 comment
Open

Add compatibility with Nautobot v1.2.9 #258

dankot12 opened this issue Mar 21, 2022 · 1 comment

Comments

@dankot12
Copy link

Environment

  • Python version: ^3.7
  • Network Importer version: v3.0.3

Installing network-importer v3.0.3 with the latest version of nautobot (v.1.2.9) fails due to the following dependency conflict

  SolverProblemError

  Because network-importer (rev mzb-http-retries) depends on pyats (~21.4.0)
   and no versions of pyats match >21.4.0,<21.5.0, network-importer (rev mzb-http-retries) requires pyats (21.4.0).
  And because pyats (21.4) depends on pyats.log (>=21.4.0,<21.5.0), network-importer (rev mzb-http-retries) requires pyats.log (>=21.4.0,<21.5.0).
  And because no versions of pyats.log match >21.4.0,<21.5.0
   and pyats.log (21.4) depends on aiohttp-swagger (1.0.15), network-importer (rev mzb-http-retries) requires aiohttp-swagger (1.0.15).
  And because aiohttp-swagger (1.0.15) depends on markupsafe (>=1.1.1,<1.2.0)
   and nautobot (1.2.9) depends on MarkupSafe (2.0.1), network-importer (rev mzb-http-retries) is incompatible with nautobot (1.2.9).
  So, because nafnautobot depends on both nautobot (1.2.9) and network-importer (branch mzb-http-retries), version solving failed.

Steps to Reproduce

  • Update the python version to one defined above
  • Add network-importer v3.0.3 as one of the libraries in the pyproject.toml of nautobot
  • Update the dependency for network-import specifically through poetry
  • The dependency conflict error gets thrown

Can we update the dependency to allow network-importer v3.0.3 to be used with Nautobot v1.2.9? This behavior is displayed from Nautobot v1.2.6 onwards.

@jvanderaa
Copy link
Contributor

There should be no dependency of Nautobot. Network Importer is standalone and should not be installed with Nautobot.

Can you confirm @dankot12 if you run this on a separate machine, or container that this works?

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