]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr,python-common: drop modules for python2 in requirements.txt 33906/head
authorKefu Chai <kchai@redhat.com>
Thu, 12 Mar 2020 06:47:15 +0000 (14:47 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 12 Mar 2020 06:49:30 +0000 (14:49 +0800)
we don't support python2 anymore, so no need to install them for
python2 anymore.

also, this helps to silence the messages from pip like

```
Ignoring pytest: markers 'python_version < "3.5"' don't match your environment
Ignoring mock: markers 'python_version < "3.3"' don't match your environment
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/requirements-test.txt
src/pybind/mgr/requirements.txt
src/python-common/requirements.txt

index 9305006176ea8409687474f5e0e601ac4dca0493..e45e05a0e467efa05027a23baf2edb7f0e4647c4 100644 (file)
@@ -1,4 +1,3 @@
-mock; python_version <= '3.3'
 pytest<4
 pytest-cov
 pytest-instafail
index c43770d2d72ecc7780eb1976211e0b1aed4ff4b9..1ac1ff3130cccdd7374f80455d08165f82a26f02 100644 (file)
@@ -1,6 +1,4 @@
 pytest-cov==2.7.1
-mock; python_version <= '3.3'
-ipaddress; python_version < '3.3'
 -e../../python-common
 kubernetes
 requests-mock
index c935efe169a016b04f308977df68fdb8cb940c5b..a6cf7096dbceb1463920f11a310504a6e5c408ad 100644 (file)
@@ -1,6 +1,4 @@
 six
-pytest >=2.1.3,<5; python_version < '3.5'
-mock; python_version < '3.3'
 mypy; python_version >= '3'
 pytest-mypy; python_version >= '3'
 pytest >= 2.1.3; python_version >= '3'