let's avoid getting new versions of those packages by accident.
Unfortunately this means we have to manually update those
packages regurarly.
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
[testenv:mypy]
basepython = python3
deps =
- mypy==0.901
+ mypy
types-boto
types-requests
types-jwt
types-PyYAML
types-cryptography
types-python-dateutil
+ -c{toxinidir}/../src/mypy-constrains.txt
commands = mypy {posargs:.}
[testenv:import-tasks]
[testenv:mypy]
basepython = python3
-deps = mypy==0.901
+deps =
+ mypy
+ -c{toxinidir}/../mypy-constrains.txt
commands = mypy --config-file ../mypy.ini {posargs:cephadm}
[testenv:fix]
--- /dev/null
+# let's avoid getting new versions of those packages by accident.
+# Unfortunately this means we have to manually update those
+# packages regularly.
+
+mypy==0.901
+
+# global
+types-python-dateutil==0.1.3
+types-requests==0.1.11
+types-jwt==0.1.3
+types-PyYAML==5.4.0
+
+# src/pybind
+types-backports==0.1.2
+
+# qa/
+types-boto==0.1.0
+types-cryptography==0.1.1
+types-paramiko==0.1.3
deps =
cython
-rrequirements.txt
- mypy==0.901
+ -c{toxinidir}/../../mypy-constrains.txt
+ mypy
types-backports
types-python-dateutil
types-requests
[testenv]
[testenv:mypy]
-deps = mypy
+deps =
+ mypy
+ -c{toxinidir}/../mypy-constrains.txt
commands =
python -m mypy --config-file ../mypy.ini \
-m ceph_daemon \
pytest >=2.1.3,<5; python_version < '3.5'
mock; python_version < '3.3'
-mypy==0.901; python_version >= '3'
+mypy; python_version >= '3'
pytest-mypy; python_version >= '3'
pytest >= 2.1.3; python_version >= '3'
pyyaml
typing-extensions; python_version < '3.8'
-types-PyYAML
\ No newline at end of file
+types-PyYAML
[testenv:py3]
deps=
-rrequirements.txt
+ -c{toxinidir}/../mypy-constrains.txt
commands=
pytest --doctest-modules ceph/deployment/service_spec.py
pytest {posargs}