Commit Graph

5 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez
478502b3df Remove library "six"
Now Python2 is not supported, this compatibility library for both
versions is not needed anymore.

Change-Id: Ic6da328a6219c8a00d38602f6b539a2ff5be1b2e
2020-01-22 13:16:45 +00:00
Frank Wang
66cbfc813a install neutron_lib international messages
neutron-lib needs to load internationalized file at initialization,
otherwise, international logging message will not work. refer to [1]
zh_CN neutron_lib.po has been completed.

[1] https://review.opendev.org/#/c/536011/

Change-Id: I76ab222da64589528defe434589b92a033ef8cdf
Closes-Bug: #1847586
2019-10-11 14:39:21 +08:00
Boden R
14bc0d9408 rehome db api orm event listener functions
The rehome/consumption of the db api caused some errors in consumer
projects related to the ORM event listeners no longer getting
initialized [1]. While the short term fix [1] was to import neutron's
db api elsewhere, this doesn't work longer term as consumers need to
decouple from neutron, thus not importing neutron modules.

This patch rehomes the db api ORM event listeners into neutron-lib and
initializes them upon import of neutron_lib (top-level). This change
will allow consumers to load the event listeners by importing anything
from neutron-lib, thus breaking the dependency on neutron.

This patch also bumps the requirement for SQLAlchemy to match neutrons.

[1] https://bugs.launchpad.net/neutron/+bug/1802369

Related-Bug: 1802369

Change-Id: I3e702b99fd5084e8090f93c384aa1f704edceaff
2018-12-31 10:28:49 -07:00
Cao Xuan Hoang
6a9e6d98e5 Removes unnecessary utf-8 encoding
The following file(s) added utf-8 encoding but never used. So we can
remove them at all.

neutron_lib/__init__.py
neutron_lib/tests/unit/callbacks/test_callback_exceptions.py
neutron_lib/tests/unit/test_exceptions.py
neutron_lib/tests/unit/test_neutron_lib.py
releasenotes/source/conf.py
doc/source/conf.py
api-ref/source/conf.py

Change-Id: I45f1d48f8df461b67e6c37a37e0577ed4c1296a1
2016-12-28 17:08:10 +07:00
Doug Wiegley
b0d12660ea Initial cookiecutter commit
Partially-Implements: bp neutron-lib
Change-Id: Ia6884f545efb56429bcb74246a74e95d1318376a
2015-11-20 17:24:43 -07:00