Skip to content
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

Automatically mirroring all dependencies #1849

Open
qomhmd opened this issue Jan 10, 2025 · 1 comment
Open

Automatically mirroring all dependencies #1849

qomhmd opened this issue Jan 10, 2025 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed needs_external_pr Will rely on non maintainer PR in order to close

Comments

@qomhmd
Copy link

qomhmd commented Jan 10, 2025

Is there a way to automatically mirror dependencies (and dependencies of dependencies and so on) of allowlisted packages?

@cooperlees
Copy link
Contributor

No. But I am open to someone including a resolver library into a plugin, it's just a LOT ot work.

Today for that I recommend you use a venv + pip. Something like:

python3 -m venv --upgrade-deps /tmp/p
/tmp/p/bin/pip install $PACKAGE
/tmp/p/bin/pip freeze

Then use the output of pip freeze to see all the packages you need (minus pip and probably setuptools) in your allow list.

@cooperlees cooperlees added enhancement New feature or request help wanted Extra attention is needed needs_external_pr Will rely on non maintainer PR in order to close labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed needs_external_pr Will rely on non maintainer PR in order to close
Projects
None yet
Development

No branches or pull requests

2 participants