Skip to content

Commit f14d533

Browse files
committed
refactor python requirements
-define a separate requirements list for test and production environment
1 parent e3951a7 commit f14d533

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
command: |
1717
python3 -m venv venv
1818
. venv/bin/activate
19-
pip install -r requirements.txt
19+
pip install -r requirements/requirements_test.txt
2020
- python/save-cache
2121
- run:
2222
name: Test
File renamed without changes.

requirements/requirements_ubi8.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file is used for generating python requirements list on top of the redhat UBI8 image.
2+
# To update, run:
3+
#
4+
# $ pip-compile requirements_ubi8.in --output-file requirements_ubi8.txt
5+
#
6+
setuptools
7+
cherrypy
8+
urllib3
9+
requests

0 commit comments

Comments
 (0)