소스 검색

Lock down requirements

Signed-off-by: Aarni Koskela <akx@iki.fi>
Aarni Koskela 5 년 전
부모
커밋
9332d61571
3개의 변경된 파일49개의 추가작업 그리고 14개의 파일을 삭제
  1. 13 0
      python/requirements.in
  2. 35 13
      python/requirements.txt
  3. 1 1
      python/setup.py

+ 13 - 0
python/requirements.in

@@ -0,0 +1,13 @@
+matplotlib>=2.0,<4.0
+numpy>=1.12.0,<2.0
+pandas>=0.20.0,<1.0
+PyYAML>=3.0,<5.0
+scipy>=0.19.0,<1.2.2
+protobuf>=3.5.0,<4.0
+munch>=2.0,<3.0
+hdbscan>=0.8.0,<2.0
+seriate>=1.0,<2.0
+fastdtw>=0.3.2,<2.0
+python-dateutil>=2.6.0,<3.0
+lifelines>=0.20.0,<2.0
+tqdm>=4.3,<5.0

+ 35 - 13
python/requirements.txt

@@ -1,13 +1,35 @@
-matplotlib>=2.0,<4.0
-numpy>=1.12.0,<2.0
-pandas>=0.20.0,<1.0
-PyYAML>=3.0,<5.0
-scipy>=0.19.0,<1.2.2
-protobuf>=3.5.0,<4.0
-munch>=2.0,<3.0
-hdbscan>=0.8.0,<2.0
-seriate>=1.0,<2.0
-fastdtw>=0.3.2,<2.0
-python-dateutil>=2.6.0,<3.0
-lifelines>=0.20.0,<2.0
-tqdm>=4.3,<5.0
+#
+# This file is autogenerated by pip-compile
+# To update, run:
+#
+#    pip-compile requirements.in
+#
+autograd-gamma==0.4.1     # via lifelines
+autograd==1.3             # via autograd-gamma, lifelines
+cycler==0.10.0            # via matplotlib
+cython==0.29.13           # via hdbscan
+fastdtw==0.3.2
+future==0.17.1            # via autograd
+hdbscan==0.8.22
+joblib==0.13.2            # via hdbscan, scikit-learn
+kiwisolver==1.1.0         # via matplotlib
+lifelines==0.22.7
+matplotlib==3.1.1
+munch==2.3.2
+numpy==1.17.2
+ortools==7.3.7083         # via seriate
+packaging==19.2           # via seriate
+pandas==0.25.1
+protobuf==3.9.2
+pyparsing==2.4.2          # via matplotlib, packaging
+python-dateutil==2.8.0
+pytz==2019.2              # via pandas
+pyyaml==3.13
+scikit-learn==0.21.3      # via hdbscan
+scipy==1.2.1
+seriate==1.1.0
+six==1.12.0               # via cycler, munch, ortools, packaging, protobuf, python-dateutil
+tqdm==4.36.1
+
+# The following packages are considered to be unsafe in a requirements file:
+# setuptools==41.2.0        # via kiwisolver, protobuf

+ 1 - 1
python/setup.py

@@ -9,7 +9,7 @@ try:
 except FileNotFoundError:
 except FileNotFoundError:
     long_description = ""
     long_description = ""
 
 
-with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), encoding="utf-8") as f:
+with open(os.path.join(os.path.dirname(__file__), "requirements.in"), encoding="utf-8") as f:
     requirements = f.readlines()
     requirements = f.readlines()