network-importer
network-importer copied to clipboard
Add compatibility with Nautobot v1.2.9
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.
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?