Replies: 1 comment 2 replies
-
|
Hey @mike-live, if you want to use relative path dependencies you have to use the Within the Also see https://python-poetry.org/docs/dependency-specification/#path-dependencies |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Poetry Development Team,
I would like to suggest a feature enhancement for the poetry add command. Currently, when adding local packages, Poetry records the absolute path in the pyproject.toml. This can be inconvenient for project portability and clarity, especially when sharing or working across different environments using version control systems like git.
It would be highly beneficial if poetry add could accept relative paths and store them as relative in pyproject.toml by default or using flag. This would improve project maintainability and make dependency management more intuitive, particularly in monorepos or multi-package repositories.
Please consider adding support for this feature in future releases. Thank you for your ongoing efforts to improve Poetry!
Beta Was this translation helpful? Give feedback.
All reactions