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

Add Python dependency interrogation technique #230

Open
tdstein opened this issue Jun 27, 2024 · 0 comments
Open

Add Python dependency interrogation technique #230

tdstein opened this issue Jun 27, 2024 · 0 comments
Labels
enhancement New feature or request sdk

Comments

@tdstein
Copy link
Collaborator

tdstein commented Jun 27, 2024

Implement a strategy to interrogate the requirements.txt file for bundles that have one. Some initial thoughts:

  • Create an abstraction on the archive written by bundle. download.
  • Add a method to that abstraction that allows the user to inspect the requirements.txt file.
archive = bundle.download('archive.tar.gz')
'dash' in archive.requirements_txt
>>> True
@tdstein tdstein added the enhancement New feature or request label Jun 27, 2024
@tdstein tdstein added the sdk label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sdk
Projects
None yet
Development

No branches or pull requests

1 participant