Reviewed:  https://review.openstack.org/627316
Committed: 
https://git.openstack.org/cgit/openstack/nova/commit/?id=2d2dc78975f1551a46f693a1e071c9917839ae2b
Submitter: Zuul
Branch:    master

commit 2d2dc78975f1551a46f693a1e071c9917839ae2b
Author: Takashi NATSUME <[email protected]>
Date:   Wed Dec 26 09:43:48 2018 +0900

    Fix rfc3986.is_valid_uri deprecation warnings
    
    The rfc3986.is_valid_uri has been deprecated in 1.1.0.
    It generates the following warnings.
    
    DeprecationWarning: Please use rfc3986.validators.Validator instead.
    This method will be eventually removed.
    
    So this patch replaces rfc3986.is_valid_uri with
    rfc3986.validators.Validator.
    
    Even after applying this patch, the warnings are still output
    because it is caused by oslo.config.
    The fix for oslo.config will be done in another patch.
    
    Change-Id: I70aebad6c6bd384dbd11ef732226356922bf1913
    Closes-Bug: #1809755


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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

  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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to