-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite relative package dependencies as regular dependencies #54
Comments
Hi @tnielens, thank you for reporting this issue! Can you explain a bit further? I don't understand the problem. Do you have examples of |
I recommend the long thread in issue python-poetry/poetry#2270 :). From the example above:
The way I undestand the doc of this plugin, if
If the This can be almost achieved by using poetry path dependencies as in
But the issue with this second approach is that the sdist and wheel built will include a relative reference to |
Thank you for the clarification! The use case for this plugin is to share code between services, apps or libraries. This can be done in several ways but it is recommended that the actual Python code to be shared lives outside of the project(s) themselves as suggested in the docs. About packages: The things that are added in the |
I'll close this one, because I believe there is no action to be taken right now. Please reopen this issue if you don't agree and have ideas on how to proceed 🙏 |
Is your feature request related to a problem? Please describe.
I have a multi package repository.
These packages can depend on one another in an acyclic fashion. These packages can also depend on 3rd party dependencies. All packages are versioned and published together.
I'd like to publish each of these packages separately to my package index and have the relative dependencies turned into regular transitive dependencies. The current behavior I observe with this plugin is that transitive dependencies are copied entirely in the wheel instead of being referred to by package coordinates in the wheel metadata.
Describe the solution you'd like
Publish the packages separately instead of folding everything into a fat package.
Describe alternatives you've considered
None.
Additional context
I'm coming from the jvm world where publishing modules this way is common. At my orgnanisation, we maintain several multi module repositories and publish all modules separately with the same version.
The text was updated successfully, but these errors were encountered: