summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
96abfc2)
Change-Id: I729ee2d5d3628c30a0a265978a355eb26f3a9bb2
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
from copy import deepcopy
from http import HTTPStatus
from os import mkdir
from copy import deepcopy
from http import HTTPStatus
from os import mkdir
-from pkg_resources import iter_entry_points
+from importlib_metadata import entry_points
from shutil import rmtree
from unittest.mock import Mock
from shutil import rmtree
from unittest.mock import Mock
return self.plugins[name]
try:
return self.plugins[name]
try:
- for v in iter_entry_points("osm_ro{}.plugins".format(type), name):
- self.plugins[name] = v.load()
+ for ep in entry_points(group="osm_ro{}.plugins".format(type), name=name):
+ self.plugins[name] = ep.load()
except Exception as e:
raise NsWorkerException("Cannot load plugin osm_{}: {}".format(name, e))
except Exception as e:
raise NsWorkerException("Cannot load plugin osm_{}: {}".format(name, e))
+#######################################################################################
# Copyright ETSI Contributors and Others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright ETSI Contributors and Others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#######################################################################################
git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common
# via -r requirements-dev.in
git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common
# via -r requirements-dev.in
+#######################################################################################
# Copyright ETSI Contributors and Others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright ETSI Contributors and Others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-##
-
-#
-# This file is autogenerated by pip-compile
-# To update, run:
-#
-# pip-compile --output-file=requirements-dist.txt requirements-dist.in
-#
+#######################################################################################
setuptools-version-command==2.2
# via -r requirements-dist.in
stdeb==0.10.0
setuptools-version-command==2.2
# via -r requirements-dist.in
stdeb==0.10.0
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################################
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################################
-
-#
-# This file is autogenerated by pip-compile
-# To update, run:
-#
-# pip-compile --output-file=requirements-test.txt requirements-test.in
-#
-e RO-plugin
# via -r requirements-test.in
-e RO-plugin
# via -r requirements-test.in
# via
# -r requirements-test.in
# nose2
# via
# -r requirements-test.in
# nose2
fog05-sdk==0.2.0
# TODO py3 genisoimage
logutils
fog05-sdk==0.2.0
# TODO py3 genisoimage
logutils
netaddr
networking-l2gw
oca
netaddr
networking-l2gw
oca
+#######################################################################################
# Copyright ETSI Contributors and Others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright ETSI Contributors and Others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-##
-
-#
-# This file is autogenerated by pip-compile
-# To update, run:
-#
-# pip-compile --output-file=requirements.txt requirements.in
-#
-adal==1.2.6
+#######################################################################################
+adal==1.2.7
# via
# azure-datalake-store
# msrestazure
# via
# azure-datalake-store
# msrestazure
# via pyone
alabaster==0.7.12
# via sphinx
# via pyone
alabaster==0.7.12
# via sphinx
# via
# neutron
# oslo.db
# via
# neutron
# oslo.db
# via
# kombu
# oslo.messaging
# via
# kombu
# oslo.messaging
# via azure
azure-batch==4.1.3
# via azure
# via azure
azure-batch==4.1.3
# via azure
# via
# azure-applicationinsights
# azure-batch
# via
# azure-applicationinsights
# azure-batch
# via azure-cosmosdb-table
azure-cosmosdb-table==1.0.6
# via azure
# via azure-cosmosdb-table
azure-cosmosdb-table==1.0.6
# via azure
-azure-datalake-store==0.0.51
+azure-datalake-store==0.0.52
# via azure
azure-eventgrid==1.3.0
# via azure
# via azure
azure-eventgrid==1.3.0
# via azure
# via paramiko
beautifulsoup4==4.9.3
# via webtest
# via paramiko
beautifulsoup4==4.9.3
# via webtest
# via pyangbind
boto==2.49.0
# via -r requirements.in
# via pyangbind
boto==2.49.0
# via -r requirements.in
# via cherrypy
cherrypy==18.1.2
# via -r requirements.in
# via cherrypy
cherrypy==18.1.2
# via -r requirements.in
# via
# osc-lib
# python-designateclient
# via
# osc-lib
# python-designateclient
# via cliff
colorama==0.4.4
# via cmd2
# via cliff
colorama==0.4.4
# via cmd2
# via
# -r requirements.in
# adal
# via
# -r requirements.in
# adal
# python-designateclient
# python-keystoneclient
# python-neutronclient
# python-designateclient
# python-keystoneclient
# python-neutronclient
# via
# dogpile.cache
# neutron
# via
# dogpile.cache
# neutron
# via pyone
dnspython==1.16.0
# via eventlet
# via pyone
dnspython==1.16.0
# via eventlet
# via sphinx
dogpile.cache==1.1.2
# via
# via sphinx
dogpile.cache==1.1.2
# via
# oslo.cache
enum34==1.1.10
# via pyangbind
# oslo.cache
enum34==1.1.10
# via pyangbind
# eventlet
# oslo.privsep
# oslo.service
# eventlet
# oslo.privsep
# oslo.service
# via neutron
humanfriendly==9.1
# via pyvcloud
# via neutron
humanfriendly==9.1
# via pyvcloud
# via requests
imagesize==1.2.0
# via sphinx
# via requests
imagesize==1.2.0
# via sphinx
+importlib-metadata==3.10.0
+ # via -r requirements.in
iso8601==0.1.14
# via
# keystoneauth1
iso8601==0.1.14
# via
# keystoneauth1
# oslo.versionedobjects
# python-neutronclient
# python-novaclient
# oslo.versionedobjects
# python-neutronclient
# python-novaclient
+ # python-openstackclient
isodate==0.6.0
# via msrest
isodate==0.6.0
# via msrest
# via
# cheroot
# tempora
# via
# cheroot
# tempora
# sphinx
jmespath==0.10.0
# via openstacksdk
# sphinx
jmespath==0.10.0
# via openstacksdk
# via
# openstacksdk
# warlock
# via
# openstacksdk
# warlock
# via jsonpatch
jsonschema==3.2.0
# via
# via jsonpatch
jsonschema==3.2.0
# via
# fog05-sdk
# python-designateclient
# warlock
# fog05-sdk
# python-designateclient
# warlock
# via
# keystonemiddleware
# neutron
# via
# keystonemiddleware
# neutron
# via
# -r requirements.in
# pecan
# via
# -r requirements.in
# pecan
# via
# pyang
# pyangbind
# via
# pyang
# pyangbind
# neutron
# openstacksdk
# oslo.utils
# neutron
# openstacksdk
# oslo.utils
# via
# networking-l2gw
# neutron
# via
# networking-l2gw
# neutron
# via networking-l2gw
oauthlib==3.1.0
# via requests-oauthlib
oca==4.10.0
# via -r requirements.in
# via networking-l2gw
oauthlib==3.1.0
# via requests-oauthlib
oca==4.10.0
# via -r requirements.in
# via
# neutron
# os-client-config
# via
# neutron
# os-client-config
# python-openstackclient
os-client-config==2.1.0
# via python-neutronclient
# python-openstackclient
os-client-config==2.1.0
# via python-neutronclient
# via
# neutron
# neutron-lib
# via
# neutron
# neutron-lib
# via
# keystoneauth1
# openstacksdk
# via
# keystoneauth1
# openstacksdk
# via neutron
os-xenapi==0.3.4
# via neutron
# via neutron
os-xenapi==0.3.4
# via neutron
# oslo.service
# oslo.versionedobjects
# osprofiler
# oslo.service
# oslo.versionedobjects
# osprofiler
# via
# keystonemiddleware
# neutron
# via
# keystonemiddleware
# neutron
# oslo.versionedobjects
# pycadf
# python-keystoneclient
# oslo.versionedobjects
# pycadf
# python-keystoneclient
# via
# keystonemiddleware
# neutron
# via
# keystonemiddleware
# neutron
# oslo.service
# oslo.versionedobjects
# python-neutronclient
# oslo.service
# oslo.versionedobjects
# python-neutronclient
# via
# neutron
# neutron-lib
# oslo.versionedobjects
# via
# neutron
# neutron-lib
# oslo.versionedobjects
# via
# neutron
# oslo.messaging
# via
# neutron
# oslo.messaging
# via
# neutron
# neutron-lib
# oslo.upgradecheck
# via
# neutron
# neutron-lib
# oslo.upgradecheck
# oslo.messaging
oslo.upgradecheck==1.3.0
# via neutron
# oslo.messaging
oslo.upgradecheck==1.3.0
# via neutron
# via
# keystonemiddleware
# neutron
# via
# keystonemiddleware
# neutron
# via
# neutron
# neutron-lib
# via
# neutron
# neutron-lib
# via
# neutron
# os-ken
# ovsdbapp
# via
# neutron
# os-ken
# ovsdbapp
# via
# networking-l2gw
# neutron
# via
# networking-l2gw
# neutron
# via
# neutron
# neutron-lib
# via
# neutron
# neutron-lib
# via cherrypy
prettytable==0.7.2
# via
# via cherrypy
prettytable==0.7.2
# via
# via keystonemiddleware
pycparser==2.20
# via cffi
# via keystonemiddleware
pycparser==2.20
# via cffi
# via
# pyvcloud
# sphinx
# via
# pyvcloud
# sphinx
# via adal
pynacl==1.4.0
# via paramiko
# via adal
pynacl==1.4.0
# via paramiko
# via -r requirements.in
pyopenssl==20.0.1
# via
# via -r requirements.in
pyopenssl==20.0.1
# via
# httplib2
# oslo.utils
# packaging
# httplib2
# oslo.utils
# packaging
# via
# neutron
# os-vif
pyrsistent==0.17.3
# via jsonschema
# via
# neutron
# os-vif
pyrsistent==0.17.3
# via jsonschema
-python-cinderclient==7.3.0
+python-cinderclient==7.4.0
# via
# -r requirements.in
# python-openstackclient
# via
# -r requirements.in
# python-openstackclient
# via neutron
python-editor==1.0.4
# via alembic
# via neutron
python-editor==1.0.4
# via alembic
-python-glanceclient==3.2.2
+python-glanceclient==3.3.0
# via -r requirements.in
python-keystoneclient==4.2.0
# via
# via -r requirements.in
python-keystoneclient==4.2.0
# via
# -r requirements.in
# networking-l2gw
# neutron
# -r requirements.in
# networking-l2gw
# neutron
-python-novaclient==17.3.0
+python-novaclient==17.4.0
# via
# -r requirements.in
# neutron
# python-openstackclient
# via
# -r requirements.in
# neutron
# python-openstackclient
-python-openstackclient==5.4.0
+python-openstackclient==5.5.0
# via -r requirements.in
pytz==2021.1
# via
# via -r requirements.in
pytz==2021.1
# via
# oslo.messaging
# oslo.policy
# pyvcloud
# oslo.messaging
# oslo.policy
# pyvcloud
# via pyangbind
repoze.lru==0.7
# via routes
# via pyangbind
repoze.lru==0.7
# via routes
# osc-lib
# python-cinderclient
# python-neutronclient
# osc-lib
# python-cinderclient
# python-neutronclient
six==1.15.0
# via
# bcrypt
six==1.15.0
# via
# bcrypt
# oslo.i18n
# oslo.reports
# oslo.rootwrap
# oslo.i18n
# oslo.reports
# oslo.rootwrap
# osprofiler
# paste
# pecan
# osprofiler
# paste
# pecan
# pynacl
# pyone
# pyopenssl
# pynacl
# pyone
# pyopenssl
# python-dateutil
# python-designateclient
# python-keystoneclient
# python-dateutil
# python-designateclient
# python-keystoneclient
- # python-openstackclient
# pyvmomi
# routes
# sqlalchemy-migrate
# pyvmomi
# routes
# sqlalchemy-migrate
# via sphinx
sortedcontainers==2.3.0
# via ovs
# via sphinx
sortedcontainers==2.3.0
# via ovs
# via -r requirements.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
# via -r requirements.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
# via sphinx
sqlalchemy-migrate==0.13.0
# via oslo.db
# via sphinx
sqlalchemy-migrate==0.13.0
# via oslo.db
# via
# alembic
# neutron
# via
# alembic
# neutron
# via pyone
tempita==0.5.2
# via sqlalchemy-migrate
# via pyone
tempita==0.5.2
# via sqlalchemy-migrate
# unittest2
unittest2==1.1.0
# via testtools
# unittest2
unittest2==1.1.0
# via testtools
# via requests
uuid==1.30
# via -r requirements.in
# via requests
uuid==1.30
# via -r requirements.in
# via amqp
voluptuous==0.12.1
# via tooz
# via amqp
voluptuous==0.12.1
# via tooz
# via webtest
warlock==1.3.3
# via python-glanceclient
wcwidth==0.2.5
# via cmd2
# via webtest
warlock==1.3.3
# via python-glanceclient
wcwidth==0.2.5
# via cmd2
# via
# keystonemiddleware
# neutron
# via
# keystonemiddleware
# neutron
# via cherrypy
zenoh==0.3.0
# via -r requirements.in
# via cherrypy
zenoh==0.3.0
# via -r requirements.in
+zipp==3.4.1
+ # via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
# setuptools
# The following packages are considered to be unsafe in a requirements file:
# setuptools
#######################################################################################
[testenv:pip-compile]
deps = pip-tools==5.5.0
#######################################################################################
[testenv:pip-compile]
deps = pip-tools==5.5.0
- - sh -c 'for file in requirements*.in ; do pip-compile -rU --no-header $file ;\
- out=`echo $file | sed "s/.in/.txt/"` ; \
- head -16 tox.ini >> $out ;\
- done'
+ - sh -c "for file in requirements*.in ; do pip-compile -rU --no-header $file ;\
+ out=`echo $file | sed 's/.in/.txt/'` ; \
+ sed -i -e '1 e head -16 tox.ini' $out ;\
+ done"