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
...when, instead, the logic is intended to parse just the version string for the Nautobot dependency.
Later, when trying to synthesize the URL for the required Docker image, the following exception happens:
...
File "/srv/docker-compose/nautobot-docker-compose-v2.0.0/tasks.py", line 90, in docker_compose
return context.run(compose_command, env=compose_env, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/nautobot-docker-compose-ENx6_Wnd-py3.11/lib/python3.11/site-packages/invoke/context.py", line 104, in run
return self._run(runner, command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/nautobot-docker-compose-ENx6_Wnd-py3.11/lib/python3.11/site-packages/invoke/context.py", line 113, in _run
return runner.run(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/nautobot-docker-compose-ENx6_Wnd-py3.11/lib/python3.11/site-packages/invoke/runners.py", line 395, in run
return self._run_body(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/nautobot-docker-compose-ENx6_Wnd-py3.11/lib/python3.11/site-packages/invoke/runners.py", line 440, in _run_body
self.start(command, self.opts["shell"], self.env)
File "/root/.cache/pypoetry/virtualenvs/nautobot-docker-compose-ENx6_Wnd-py3.11/lib/python3.11/site-packages/invoke/runners.py", line 1337, in start
self.process = Popen(
^^^^^^
File "/usr/lib64/python3.11/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.11/subprocess.py", line 1870, in _execute_child
env_list.append(k + b'=' + os.fsencode(v))
^^^^^^^^^^^^^^
File "<frozen os>", line 812, in fsencode
TypeError: expected str, bytes or os.PathLike object, not DynamicInlineTableDict
The text was updated successfully, but these errors were encountered:
I was trying to enable Napalm functionality on our Nautobot instance, using the instructions from Nautobot Documentation -> User Guide -> Administration -> Installation -> Installing Nautobot. In the context of the new poetry + Invoke setup, that just means doing the following:
That results in the following being changed in
pyproject.toml
:When running any Invoke command, the following lines get run:
nautobot-docker-compose/tasks.py
Lines 44 to 47 in 40eec08
Which evaluates like so:
...when, instead, the logic is intended to parse just the version string for the Nautobot dependency.
Later, when trying to synthesize the URL for the required Docker image, the following exception happens:
The text was updated successfully, but these errors were encountered: