]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/diskprediction_local: Updated dependencies in ceph.spec.in, debian/control to...
authorKaranraj Chauhan <chauhank@bu.edu>
Wed, 30 Oct 2019 16:17:35 +0000 (12:17 -0400)
committerKaranraj Chauhan <chauhank@bu.edu>
Thu, 7 Nov 2019 13:38:46 +0000 (08:38 -0500)
Added pandas dependency to ceph.spec.in and debian/control.

In the spirit of "if it aint broke, dont fix it", I did NOT add
scikit-learn as a dependency in spec or control, because scikit-learn
was already a dependency in diskprediction_local, and so it should have
already have been taken care of.

Also in the same spirit, removed joblib dependency from requirements.txt
because scikit-learn depends on it and therefore joblib will get
installed when scikit-learn gets installed.

Signed-off-by: Karanraj Chauhan <kachauha@redhat.com>
ceph.spec.in
debian/control
src/pybind/mgr/diskprediction_local/requirements.txt

index 519f0d257b57d54520ac45536798380f06df28f1..50d1ff0027272aba89f154fda91b1ad122030b7e 100644 (file)
@@ -537,13 +537,16 @@ Requires:       ceph-mgr = %{_epoch_prefix}%{version}-%{release}
 Requires:       python%{_python_buildid}-numpy
 %if 0%{without python2}
 Requires:       python3-scipy
+Requires:       python3-pandas
 %else
 Requires:       python2-scipy
+Requires:       python2-pandas
 %endif
 %endif
 %if 0%{?rhel} == 7
 Requires:       numpy
 Requires:       scipy
+Requires:       pandas
 %endif
 %description mgr-diskprediction-local
 ceph-mgr-diskprediction-local is a ceph-mgr plugin that tries to predict
index 3f43f25e776e38ccf23e8f83da5c617e40a73744..0c8d51ac2c9fd058d77a78b6fe50c054fcb06954 100644 (file)
@@ -269,6 +269,7 @@ Depends: ceph-mgr (= ${binary:Version}),
          python-numpy,
          python-scipy,
          python-sklearn,
+         python-pandas,
          ${misc:Depends},
          ${python:Depends},
          ${shlibs:Depends},
index 4bfcec0fcc987fddaaec4f7821ecc3f13ad483aa..f524b07a1e74549bba890739e0d17ce28f6a07f3 100644 (file)
@@ -1,5 +1,4 @@
 numpy==1.15.1
 scipy==1.1.0
 pandas==0.23.4
-joblib==0.11
 scikit-learn==0.19.2