← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1809755] [NEW] DeprecationWarning: Please use rfc3986.validators.Validator instead.

 

Public bug reported:

rfc3986.is_valid_uri is deprecated in 1.1.0.
It generates the following warning in testing.

Please use rfc3986.validators.Validator instead. This method will be
eventually removed.

e.g.
2018-12-25 04:03:30.873344 | ubuntu-bionic | {3} nova.tests.unit.api.openstack.compute.test_agents.AgentsTestV21.test_agents_create_without_os [0.015027s] ... ok
2018-12-25 04:03:30.873443 | ubuntu-bionic |
2018-12-25 04:03:30.873478 | ubuntu-bionic | Captured stderr:
2018-12-25 04:03:30.873500 | ubuntu-bionic | ~~~~~~~~~~~~~~~~
2018-12-25 04:03:30.873643 | ubuntu-bionic |     b'/home/zuul/src/git.openstack.org/openstack/nova/.tox/py36/lib/python3.6/site-packages/rfc3986/uri.py:235: DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed.'
2018-12-25 04:03:30.873669 | ubuntu-bionic |     b'  DeprecationWarning)'
2018-12-25 04:03:30.873683 | ubuntu-bionic |     b''

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: New


** Tags: testing

-- 
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/1809755

Title:
  DeprecationWarning: Please use rfc3986.validators.Validator instead.

Status in OpenStack Compute (nova):
  New

Bug description:
  rfc3986.is_valid_uri is deprecated in 1.1.0.
  It generates the following warning in testing.

  Please use rfc3986.validators.Validator instead. This method will be
  eventually removed.

  e.g.
  2018-12-25 04:03:30.873344 | ubuntu-bionic | {3} nova.tests.unit.api.openstack.compute.test_agents.AgentsTestV21.test_agents_create_without_os [0.015027s] ... ok
  2018-12-25 04:03:30.873443 | ubuntu-bionic |
  2018-12-25 04:03:30.873478 | ubuntu-bionic | Captured stderr:
  2018-12-25 04:03:30.873500 | ubuntu-bionic | ~~~~~~~~~~~~~~~~
  2018-12-25 04:03:30.873643 | ubuntu-bionic |     b'/home/zuul/src/git.openstack.org/openstack/nova/.tox/py36/lib/python3.6/site-packages/rfc3986/uri.py:235: DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed.'
  2018-12-25 04:03:30.873669 | ubuntu-bionic |     b'  DeprecationWarning)'
  2018-12-25 04:03:30.873683 | ubuntu-bionic |     b''

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


Follow ups