- Pin tornade version less than 6.0.
Currently, monasca-analytics use asynchronous decorator in tornade.web.
But this decorator has been removed in tornade version 6.0.
Therefore, openstack-tox-py35 in Zuul check is failed.
This is tentative approach. tornade should be replaced to flask in near future.
Change-Id: I5e2e310c17b1dcdd4ab8e71c37f4f59104e2e63e
This patch includes the following updates.
- Remove "findspark" and "libpgm" packages.
There are no longer in use.
- Rename "sklearn" to "scikit-learn".
"global-reqirements" needs "scikit-learn" instead of "sklearn" which is old package name.
- Pin scipy version less than 1.2.0.
Currently, according to upper-constraints.txt of openstack/requirements, scipy version is '1.2.0'.
However, this scipy version seems to be unable to import and use some scikit-learn libraries.
- Remove "docopt" and re-wite code wihtout "docopt".
"docopt" is not used in OpenStack.
- Remove requirements-check job.
Currently, "tornado" is a required package, but requirements-check job has a error.
However, to remove that error, adding "tornado" package to openstack/requirements was refused.
Change-Id: I3bb98ef733ff16558d241968b06c31fa7508d047
This patch provides tox support.
Note:
Basically flake8 section follows monasca-api's ignore rule
except H404.
H405: multi line docstring summary not separated with an empty line
Change-Id: Iac8d5516a66226a7b3fface95059c5e238e8cb72