From ce49ae2ea4ad7e3b530ace28e375b2fbf52e9b73 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 5 Dec 2019 01:18:24 +0800 Subject: [PATCH] docs: document how requirements.txt is updated we should update this document once https://github.com/jazzband/pip-tools/issues/625 is fixed and/or https://github.com/jazzband/pip-tools/issues/908 is merged Signed-off-by: Kefu Chai --- docs/INSTALL.rst | 10 ++++++++++ requirements.in | 1 + 2 files changed, 11 insertions(+) create mode 100644 requirements.in diff --git a/docs/INSTALL.rst b/docs/INSTALL.rst index e02704ef69..63c9369c67 100644 --- a/docs/INSTALL.rst +++ b/docs/INSTALL.rst @@ -60,3 +60,13 @@ Or from GitHub:: where the dependencies for orchestrating are installed. They are used for interacting with the services to schedule tests and to report the test results. + + +Update Dependencies +------------------- + +We track the dependencies using ``requirements.txt``. These packages are tested, +and should work with teuthology. But if you want to bump up the versions of them, +please use the following command to update this file :: + + pip-compile -qo- | sed '/^-e / d' > requirements.txt diff --git a/requirements.in b/requirements.in new file mode 100644 index 0000000000..27b1825b87 --- /dev/null +++ b/requirements.in @@ -0,0 +1 @@ +-e .[coverage,orchestra,test]