]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rpm, debian: drop virtualenv from build deps
authorKefu Chai <kchai@redhat.com>
Sat, 31 Jul 2021 13:15:48 +0000 (21:15 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 31 Jul 2021 14:34:05 +0000 (22:34 +0800)
since we've replaced "virtualenv" with "python3 -m venv", there is no
need to have it in the build deps list.

since, on ubuntu, venv modules is not available by default, we need to
install python3-venv.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in
debian/control

index 4d4082394d469d86a123d9a51eccd0d02eb56d1c..a5639068a2834f571f2f8905ffa665c980f7be18 100644 (file)
@@ -259,7 +259,6 @@ BuildRequires:      python%{python3_pkgversion}-nose
 BuildRequires: python%{python3_pkgversion}-pecan
 BuildRequires: python%{python3_pkgversion}-requests
 BuildRequires: python%{python3_pkgversion}-dateutil
-BuildRequires: python%{python3_pkgversion}-virtualenv
 BuildRequires: python%{python3_pkgversion}-coverage
 BuildRequires: python%{python3_pkgversion}-pyOpenSSL
 BuildRequires: socat
index a3b6d524e41e8444d0056716d36e97d07d256a07..af74fbd5f4290c9383eea68e4c00b26bf16c90d9 100644 (file)
@@ -97,6 +97,7 @@ Build-Depends: automake,
                python3-scipy <pkg.ceph.check>,
                python3-setuptools,
                python3-sphinx,
+               python3-venv,
                python3-werkzeug <pkg.ceph.check>,
                python3-yaml,
                ragel <pkg.ceph.crimson>,
@@ -105,7 +106,6 @@ Build-Depends: automake,
                uuid-dev <pkg.ceph.check>,
                uuid-runtime,
                valgrind,
-               virtualenv,
                xfslibs-dev,
                xfsprogs <pkg.ceph.check>,
                xmlstarlet <pkg.ceph.check>,