← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1986418] [NEW] DeprecationWarning: Using the 'user' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'user_id' argument instead

 

Public bug reported:

Running "tox -e py38", the following deprecation warning appears.


2022-08-11 16:42:57.207280 | ubuntu-focal | {6} neutron.tests.unit.test_policy.PolicyTestCase.test_enforce_invalid_scope [0.145266s] ... ok
2022-08-11 16:42:57.207326 | ubuntu-focal |
2022-08-11 16:42:57.207344 | ubuntu-focal | Captured stderr:
2022-08-11 16:42:57.207356 | ubuntu-focal | ~~~~~~~~~~~~~~~~
2022-08-11 16:42:57.207386 | ubuntu-focal |     /home/zuul/src/opendev.org/openstack/neutron/.tox/py38/lib/python3.8/site-packages/neutron_lib/context.py:43: DeprecationWarning: Using the 'user' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'user_id' argument instead
2022-08-11 16:42:57.207404 | ubuntu-focal |   super().__init__(
2022-08-11 16:42:57.207434 | ubuntu-focal |

** Affects: neutron
     Importance: Undecided
     Assignee: Takashi Natsume (natsume-takashi)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Takashi Natsume (natsume-takashi)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1986418

Title:
  DeprecationWarning: Using the 'user' argument is deprecated in version
  '2.18' and will be removed in version '3.0', please use the 'user_id'
  argument instead

Status in neutron:
  New

Bug description:
  Running "tox -e py38", the following deprecation warning appears.

  
  2022-08-11 16:42:57.207280 | ubuntu-focal | {6} neutron.tests.unit.test_policy.PolicyTestCase.test_enforce_invalid_scope [0.145266s] ... ok
  2022-08-11 16:42:57.207326 | ubuntu-focal |
  2022-08-11 16:42:57.207344 | ubuntu-focal | Captured stderr:
  2022-08-11 16:42:57.207356 | ubuntu-focal | ~~~~~~~~~~~~~~~~
  2022-08-11 16:42:57.207386 | ubuntu-focal |     /home/zuul/src/opendev.org/openstack/neutron/.tox/py38/lib/python3.8/site-packages/neutron_lib/context.py:43: DeprecationWarning: Using the 'user' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'user_id' argument instead
  2022-08-11 16:42:57.207404 | ubuntu-focal |   super().__init__(
  2022-08-11 16:42:57.207434 | ubuntu-focal |

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



Follow ups