diff --git a/containers/dev/.devcontainer/entrypoint.sh b/containers/dev/.devcontainer/entrypoint.sh index 211f761e4ee..66dafa7c6a5 100644 --- a/containers/dev/.devcontainer/entrypoint.sh +++ b/containers/dev/.devcontainer/entrypoint.sh @@ -15,8 +15,9 @@ if [ -z "$(command -v ansible)" ]; then ansible-galaxy collection install --force ${AVD_INSTALL_PATH} # otherwise install requirements and collection from container workspace elif [ -f ${CONTAINER_WORKSPACE}/python-avd/pyproject.toml ] && [ -f ${CONTAINER_WSF_AVD_PATH}/requirements-dev.txt ] ; then - # use editable install for requirements - pip install -e ${CONTAINER_WORKSPACE}/python-avd[ansible-collection] --config-settings editable_mode=compat -r ${CONTAINER_WSF_AVD_PATH}/requirements-dev.txt + # Install pyavd from source and dev requirements from file + pip install ${CONTAINER_WORKSPACE}/python-avd[ansible-collection] -r ${CONTAINER_WSF_AVD_PATH}/requirements-dev.txt + # Install arista.avd collection from source ansible-galaxy collection install --force ${CONTAINER_WSF_AVD_PATH} fi