-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Dependency Audit #5720
Comments
Is it possible for poetry to vendor some of its dependencies? I don't think poetry exactly needs 50 dependencies installed, as sometimes those dependencies break |
i count 39 non-dev transitive dependencies. I don't think that's necessarily an issue, since they are managed and isolated. I'm more interested in ensuring the foundation packages used by Poetry are solid, then in changing the way those packages are distributed. Are there specific dependencies that you think should be vendored? if so, why? |
@danieleades I agree with you on When it comes to Long story short, PRs are welcome :D |
I've got a few open PRs to refresh |
Sure. Marked it as "Good first issue", maybe someone will take a look at the |
Regarding, entrypoints, I have a migration to importlib.metadata ready. However, as it stands it's nontrivial to gather entrypoints via importlibs public api when a path to distributions is provided. Once that is solved, will replace entrypoints. As for cachy, I was thinking we should just pull out relevant bits from cachy (file cache) and pull it into the poetry codebase. This has yet to be discussed. Either we do that, or pull cachy into the poetry org. For the former, a poc PR would be great to start discussions. If anyone is willing. |
|
nice one! looking at it now, it seems to be relying on an undocumented feature. the Ideally it would be refactored to only use the documented api, available in import_lib.metadata in python 3.8+. I'm not sure how non-trivial that is. I had a quick look and it wasn't completely obvious. |
Threw together a PR testing to see if what replacing cachy could look like. Looking around, I think cachy's footprint can be shrunk by quite a bit as Poetry only uses a small subset of its features. |
Closing this for now as we've addressed all the dependencies here (cachy is now dropped, and we're using newer features of |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
We should audit Poetry's dependencies to ensure they are rock solid.
Some of the dependencies could do with a refresh-
cachy7/8/19some tidying required. No type annotations. Deps out of dateentrypointsunmaintainedthis dep should be replaced withimportlib-metadata
/importlib.metadata
there may be others worth looking at
The text was updated successfully, but these errors were encountered: