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
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))
+#######################################################################################
# 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.
-##
-
+#######################################################################################
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");
# 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
# 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
-coverage==5.4
+coverage==5.5
# via
# -r requirements-test.in
# nose2
fog05-sdk==0.2.0
# TODO py3 genisoimage
logutils
+importlib-metadata
netaddr
networking-l2gw
oca
+#######################################################################################
# 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.
-##
-
-#
-# 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 pyone
alabaster==0.7.12
# via sphinx
-alembic==1.5.4
+alembic==1.5.8
# via
# neutron
# oslo.db
-amqp==5.0.5
+amqp==5.0.6
# via
# kombu
# oslo.messaging
# via azure
azure-batch==4.1.3
# via azure
-azure-common==1.1.26
+azure-common==1.1.27
# via
# azure-applicationinsights
# azure-batch
# 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 paramiko
beautifulsoup4==4.9.3
# via webtest
-bitarray==1.6.3
+bitarray==1.9.1
# via pyangbind
boto==2.49.0
# via -r requirements.in
# via cherrypy
cherrypy==18.1.2
# via -r requirements.in
-cliff==3.6.0
+cliff==3.7.0
# via
# osc-lib
# python-designateclient
# via cliff
colorama==0.4.4
# via cmd2
-cryptography==3.4.4
+cryptography==3.4.7
# via
# -r requirements.in
# adal
# python-designateclient
# python-keystoneclient
# python-neutronclient
-decorator==4.4.2
+decorator==5.0.5
# via
# dogpile.cache
# neutron
# via pyone
dnspython==1.16.0
# via eventlet
-docutils==0.16
+docutils==0.17
# via sphinx
dogpile.cache==1.1.2
# via
# oslo.cache
enum34==1.1.10
# via pyangbind
-eventlet==0.30.1
+eventlet==0.30.2
# via
# neutron
# os-ken
# eventlet
# oslo.privsep
# oslo.service
+ # sqlalchemy
hexdump==3.3
# via yaks
-httplib2==0.19.0
+httplib2==0.19.1
# via neutron
humanfriendly==9.1
# via pyvcloud
# via requests
imagesize==1.2.0
# via sphinx
+importlib-metadata==3.10.0
+ # via -r requirements.in
iso8601==0.1.14
# via
# keystoneauth1
# oslo.versionedobjects
# python-neutronclient
# python-novaclient
+ # python-openstackclient
isodate==0.6.0
# via msrest
-jaraco.functools==3.2.0
+jaraco.functools==3.3.0
# via
# cheroot
# tempora
# sphinx
jmespath==0.10.0
# via openstacksdk
-jsonpatch==1.28
+jsonpatch==1.32
# via
# openstacksdk
# warlock
-jsonpointer==2.0
+jsonpointer==2.1
# via jsonpatch
jsonschema==3.2.0
# via
# fog05-sdk
# python-designateclient
# warlock
-keystoneauth1==4.3.0
+keystoneauth1==4.3.1
# via
# keystonemiddleware
# neutron
# via
# -r requirements.in
# pecan
-lxml==4.6.2
+lxml==4.6.3
# via
# pyang
# pyangbind
# neutron
# openstacksdk
# oslo.utils
-networking-l2gw==17.0.1
+networking-l2gw==18.0.0
# via -r requirements.in
-neutron-lib==2.8.0
+neutron-lib==2.10.1
# via
# networking-l2gw
# neutron
-neutron==17.1.0
+neutron==17.1.1
# via networking-l2gw
oauthlib==3.1.0
# via requests-oauthlib
oca==4.10.0
# via -r requirements.in
-openstacksdk==0.53.0
+openstacksdk==0.55.0
# via
# neutron
# os-client-config
# python-openstackclient
os-client-config==2.1.0
# via python-neutronclient
-os-ken==1.3.0
+os-ken==1.4.0
# via
# neutron
# neutron-lib
# via
# keystoneauth1
# openstacksdk
-os-traits==2.4.0
+os-traits==2.5.0
# via neutron-lib
-os-vif==2.3.0
+os-vif==2.4.0
# via neutron
os-xenapi==0.3.4
# via neutron
# oslo.service
# oslo.versionedobjects
# osprofiler
-oslo.config==8.4.0
+oslo.config==8.5.0
# via
# keystonemiddleware
# neutron
# oslo.versionedobjects
# pycadf
# python-keystoneclient
-oslo.context==3.1.1
+oslo.context==3.2.0
# via
# keystonemiddleware
# neutron
# oslo.service
# oslo.versionedobjects
# python-neutronclient
-oslo.messaging==12.7.0
+oslo.messaging==12.7.1
# via
# neutron
# neutron-lib
# oslo.versionedobjects
-oslo.middleware==4.1.1
+oslo.middleware==4.2.0
# via
# neutron
# oslo.messaging
-oslo.policy==3.6.2
+oslo.policy==3.7.0
# via
# neutron
# neutron-lib
# oslo.upgradecheck
-oslo.privsep==2.4.0
+oslo.privsep==2.5.0
# via
# neutron
# os-vif
# oslo.messaging
oslo.upgradecheck==1.3.0
# via neutron
-oslo.utils==4.7.0
+oslo.utils==4.8.0
# via
# keystonemiddleware
# neutron
# via
# neutron
# neutron-lib
-ovs==2.13.0
+ovs==2.13.3
# via
# neutron
# os-ken
# ovsdbapp
-ovsdbapp==1.8.0
+ovsdbapp==1.9.0
# via
# networking-l2gw
# neutron
# via
# neutron
# neutron-lib
-portend==2.7.0
+portend==2.7.1
# via cherrypy
prettytable==0.7.2
# via
# via keystonemiddleware
pycparser==2.20
# via cffi
-pygments==2.7.4
+pygments==2.8.1
# via
# pyvcloud
# sphinx
# via adal
pynacl==1.4.0
# via paramiko
-pyone==5.12.7
+pyone==6.0.0
# via -r requirements.in
pyopenssl==20.0.1
# via
# httplib2
# oslo.utils
# packaging
-pyperclip==1.8.1
+pyperclip==1.8.2
# via cmd2
-pyroute2==0.5.14
+pyroute2==0.5.17
# 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 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
# -r requirements.in
# networking-l2gw
# neutron
-python-novaclient==17.3.0
+python-novaclient==17.4.0
# 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
# oslo.messaging
# oslo.policy
# pyvcloud
-regex==2020.11.13
+regex==2021.4.4
# via pyangbind
repoze.lru==0.7
# via routes
# osc-lib
# python-cinderclient
# python-neutronclient
- # python-novaclient
six==1.15.0
# via
# bcrypt
# oslo.i18n
# oslo.reports
# oslo.rootwrap
- # oslo.utils
# osprofiler
# paste
# pecan
# pynacl
# pyone
# pyopenssl
- # python-cinderclient
# python-dateutil
# python-designateclient
# python-keystoneclient
- # python-openstackclient
# pyvmomi
# routes
# sqlalchemy-migrate
# via sphinx
sortedcontainers==2.3.0
# via ovs
-soupsieve==2.2
+soupsieve==2.2.1
# via beautifulsoup4
-sphinx==3.4.3
+sphinx==3.5.3
# via -r requirements.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
# via sphinx
sqlalchemy-migrate==0.13.0
# via oslo.db
-sqlalchemy==1.3.23
+sqlalchemy==1.4.6
# via
# alembic
# neutron
# via pyone
tempita==0.5.2
# via sqlalchemy-migrate
-tempora==4.0.1
+tempora==4.0.2
# via portend
-tenacity==6.3.1
+tenacity==7.0.0
# via
# neutron
# tooz
# unittest2
unittest2==1.1.0
# via testtools
-urllib3==1.26.3
+urllib3==1.26.4
# via requests
uuid==1.30
# via -r requirements.in
# via amqp
voluptuous==0.12.1
# via tooz
-waitress==1.4.4
+waitress==2.0.0
# via webtest
warlock==1.3.3
# via python-glanceclient
wcwidth==0.2.5
# via cmd2
-webob==1.8.6
+webob==1.8.7
# via
# keystonemiddleware
# neutron
# 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
#######################################################################################
[testenv:pip-compile]
deps = pip-tools==5.5.0
+skip_install = true
commands =
- - 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"
whitelist_externals = sh