← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1766919] [NEW] inspect.getargspec usage is deprecated in python 3

 

Public bug reported:

As seen in py35 CI logs:

b'/home/osboxes/git/nova/.tox/functional-py35/lib/python3.5/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated.  Call .resolve and .require separately.'
    b'  return pkg_resources.EntryPoint.parse("x=" + s).load(False)'
    b'/home/osboxes/git/nova/nova/utils.py:751: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead'
    b'  arg_names, a, kw, _default = inspect.getargspec(base_f)'


Also seen all over:

http://logs.openstack.org/01/558001/5/check/openstack-tox-py35/b9ea932
/job-output.txt.gz

** Affects: nova
     Importance: Low
         Status: Confirmed


** Tags: python3

** Changed in: nova
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1766919

Title:
  inspect.getargspec usage is deprecated in python 3

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  As seen in py35 CI logs:

  b'/home/osboxes/git/nova/.tox/functional-py35/lib/python3.5/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated.  Call .resolve and .require separately.'
      b'  return pkg_resources.EntryPoint.parse("x=" + s).load(False)'
      b'/home/osboxes/git/nova/nova/utils.py:751: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead'
      b'  arg_names, a, kw, _default = inspect.getargspec(base_f)'

  
  Also seen all over:

  http://logs.openstack.org/01/558001/5/check/openstack-tox-py35/b9ea932
  /job-output.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1766919/+subscriptions


Follow ups