If you don't explicitly set package-mode=false in your pyproject.toml file, poetry treats your project as a package and will install it as a package every time you install it. So if you set --no-root: It will not install the root package (your project).