This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-muchos.git
The following commit(s) were added to refs/heads/main by this push:
new 7a03d31 Specify Python package versions explicitly (#373)
7a03d31 is described below
commit 7a03d315bbee9982d0a2a8173df1b87684536c1f
Author: Arvind Shyamsundar <[email protected]>
AuthorDate: Mon Sep 28 20:28:37 2020 -0700
Specify Python package versions explicitly (#373)
Fixes #349
* Use -r for pip install
---
.travis.yml | 3 +--
CONTRIBUTING.md | 4 ++--
lib/requirements.txt | 5 +++++
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b6ed779..5cb19a5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,6 @@ language: python
python:
- "3.5"
install:
- - pip install flake8
- - pip install ansible-lint
+ - pip install -r ./lib/requirements.txt
script:
- ./scripts/cibuild
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4154f43..630d76b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -21,9 +21,9 @@ If you believe that you have found a bug, please search for
an existing [issue](
## Muchos Testing
-Muchos has unit tests. To run them, first install nose using pip:
+Muchos has unit tests. To run them, first install required packages:
```
- pip install nose
+ pip install -r ./lib/requirements.txt
```
The following command runs the unit tests:
```
diff --git a/lib/requirements.txt b/lib/requirements.txt
new file mode 100644
index 0000000..90e584e
--- /dev/null
+++ b/lib/requirements.txt
@@ -0,0 +1,5 @@
+flake8==3.8.0
+ansible-lint==4.2.0
+ansible==2.9.13
+ansible[azure]==2.9.13
+nose==1.3.7