Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use requirements.txt to lock dependencies #9781

Closed
marstr opened this issue Jun 24, 2019 · 5 comments
Closed

Use requirements.txt to lock dependencies #9781

marstr opened this issue Jun 24, 2019 · 5 comments
Assignees
Milestone

Comments

@marstr
Copy link
Member

marstr commented Jun 24, 2019

As part of #8592, I updated our dependencies in the azure-cli package to describe their semantic range of support. However, for the sake of actual deployments and test runs, we want to have a locked-down set of dependencies that we use. There are several options for tooling to help with this. However, the first step is to just have something. The simplest way to handle this is to provide requirements.txt based on the different platforms that we're targeting.

@marstr
Copy link
Member Author

marstr commented Jun 24, 2019

#9785 takes care of the first part of this effort, providing the concrete requirements. The second part will be adjusting our installers/test infrastructure to use the appropriate requirements.*.txt file.

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 8, 2019

add to S165.

@yonzhan yonzhan modified the milestones: S164, S165 Feb 1, 2020
@fengzhou-msft
Copy link
Member

RPM, Deb and Docker already use requirements.*.txt file now. MSI and Homebrew still use setup.py for dependencies. For pip, we can use pip install -r requirements.txt.

I will evaluate the work to change MSI and homebrew.

@fengzhou-msft
Copy link
Member

add @haroldrandom to check CI and tests.

@fengzhou-msft
Copy link
Member

azdev setup, CI and packaging except pypi are using requirements.txt to lock dependencies now. This issue can be closed.

Documentation on pip install with requirements.txt or modify the linux install script will be another discussion.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants