A tox file has been created with the following targets:
* py3: run unit tests using python3 + provide unit test coverage information
-* py27: run unit tests using python2.7
* pep8: python linting with flake8 (python3)
* pylint: python linting with pylint (python3), pylint provide a rate estimation
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-pbr!=2.1.0 # Apache-2.0
+pbr
deepdiff
dnspython
future
jsonpath-rw
kafka-python
paramiko
-protobuf==3.16.0
+protobuf
pyyaml
requests
-robotframework
robotframework-requests==0.9.3
robotlibcore-temp
six
urllib3
-more-itertools~=5.0.0
\ No newline at end of file
+more-itertools
Intended Audience :: Information Technology
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
- Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.7
[options]
-python_requires = >=2.7,<=3.9
+python_requires = >=3.7
[files]
packages =
[tox]
-envlist = py27,pep8,pylint,py3
+envlist = pep8,pylint,py3
distdir = {toxinidir}/dist
modules =
ONAPLibrary
--cover-xml \
--cover-html \
tests
-
-[testenv:py27]
-basepython = python2.7
-commands =
- nosetests --all-modules tests