Merge "Python2: Add funcsigs dependency"
This commit is contained in:
commit
6ec607639b
|
@ -11,7 +11,6 @@
|
|||
# under the License.
|
||||
import abc
|
||||
import collections
|
||||
import inspect
|
||||
import logging
|
||||
import threading
|
||||
import time
|
||||
|
@ -21,6 +20,11 @@ from typing import Iterable
|
|||
from typing import Optional
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
try:
|
||||
import funcsigs as inspect # Python 2.7
|
||||
except ImportError:
|
||||
import inspect
|
||||
|
||||
from ospurge import exceptions
|
||||
|
||||
if TYPE_CHECKING: # pragma: no cover
|
||||
|
|
|
@ -2,3 +2,6 @@ os-client-config>=1.22.0 # Apache-2.0
|
|||
pbr>=1.8 # Apache-2.0
|
||||
shade>=1.13.1
|
||||
typing>=3.5.2.2 # PSF
|
||||
|
||||
# Python 2.7 dependencies
|
||||
funcsigs; python_version < '3.0'
|
||||
|
|
Loading…
Reference in New Issue