Add 'types-paramiko' for paramiko type hints

This is the split out type hints for paramiko from typeshed [1]. It's
necessary for nova to avoid the following issue:

  error: Library stubs not installed for "paramiko" (or incompatible with Python 3.9)
  note: Hint: "python3 -m pip install types-paramiko"
  note: (or run "mypy --install-types" to install all missing stub packages)
  note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

This can be resolved by installing the hints package, as the error
suggests.

* Is the library actively maintained?
  Yes. It's part of typeshed [1].

* Is the library good code?
  Yes.

* Is the library python 3 compatible?
  Yes.

* Is the library license compatible?
  Yes - Apache 2.0.

* Is the library already packaged in the distros we target?
  No.

* Is the function of this library already covered by other libraries
  in global-requirements.txt?
  No.

* Is the library required for OpenStack project or related dev or
  infrastructure setup?
  Yes. It's required by nova, which uses paramiko and type hints.

[1] https://github.com/python/typeshed

Change-Id: I9437e48ad382c6e04a37bfe2448ad1299e72d1af
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2021-06-09 13:34:29 +01:00
parent ba5e968ada
commit 653b9130b3
2 changed files with 2 additions and 0 deletions

View File

@ -469,6 +469,7 @@ testrepository # Apache-2.0/BSD
testresources # Apache-2.0/BSD
testscenarios # Apache-2.0/BSD
testtools # MIT
types-paramiko # Apache-2.0
unittest2 # BSD
virtualbmc # Apache-2.0
virtualenv!=16.3.0 # MIT

View File

@ -575,6 +575,7 @@ XStatic-jquery-ui===1.12.1.1
monasca-statsd===2.2.0
python-dateutil===2.8.1
typing-extensions===3.10.0.0
types-paramiko===0.1.3
virtualenv===20.4.7
colorama===0.4.4
confetti===2.5.3