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
In the chapter Managing dependencies in Nox sessions with Poetry you explain how we can use poetry to pin the development dependencies and avoid installing some according to the type of test session.
The result is each time I launch now -rs test first poetry uninstall dependencies that pip will re-install just after. It doesn't seem optimal.
Yes, this is a known limitation. There is a better technique for installing the package into Nox sessions, that does not have this issue: Pip-install the core dependencies using poetry export, then build and install a wheel from your package. Take a look at the Hypermodern Python Cookiecutter for how to do this.
In the chapter
Managing dependencies in Nox sessions with Poetry
you explain how we can usepoetry
to pin the development dependencies and avoid installing some according to the type of test session.The result is each time I launch
now -rs test
first poetry uninstall dependencies that pip will re-install just after. It doesn't seem optimal.Log:
The text was updated successfully, but these errors were encountered: