Commit Graph

12 Commits

Author SHA1 Message Date
Pierre Riteau 0a184a0a05 Configure bandit security linter
Change-Id: I4c3b4fec50e7b2aedd8cb3b7dfa5dacd0d44c329
2020-10-02 16:48:11 +02:00
Hervé Beraud 1bc2c223b1 drop mock from lower-constraints and requirements
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints and requirements.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I310cb8deafdd85498d3f425257506e11332c298c
2020-06-08 22:24:24 +02:00
Ghanshyam Mann 98944bf7d6 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I9bfb66c5e21ca3c1b81f84fbd46df7ce34d86378
2020-05-13 08:08:35 +00:00
Andreas Jaeger 26fda6b697 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Update hacking to version 3.0; remove hacking and friends
  from requirements, they are not needed; fix warnings found
- Use unittest.mock

Change-Id: I379c086a15477da4b0223fddd48035c829992c88
2020-04-16 15:23:47 +02:00
Tetsuro Nakamura ab1da46b99 Add pytest requirement
Fix py36 and py37 tests, they are failing since pytest is not installed.

Change-Id: I03a384b5dd0e8cf977d08237472fa1a6e15452d3
2020-04-16 02:52:01 +00:00
jacky06 39e9ba4f2c Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I67df079c0a61099f5728a7d9cd7a186ec14b2741
2019-06-03 12:45:59 +00:00
Akihiro Motoki aef0a30ba9 Drop nose dependencies
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.

The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.

Also drops unnecessary Django dependencies. There is no need to
install Django explicitly as it is a horizon dependency.
Babel is dropped from the same reason.

Change-Id: I796942c59d9c8031a0c67261eecd3498d9ef8af8
2018-08-17 01:08:24 +09:00
Hiroaki Kobayashi d1eeeff45a Drop mox from requirements
Partially Implements: blueprint mox-removal

Change-Id: I0e0f1eccfd0c41ef5be114e23b339ac1132c696c
2018-04-27 02:22:02 +00:00
Hiroaki Kobayashi 0c286007c3 Use OpenStack documentation standards / Nova hypervisor-list API
This patch updates documents for aligning with OpenStack documentation
standards which include using the openstackdocstheme.
This patch also replaces Nova host-list API calls with hypervisor-list
API calls because the former was superseded by the latter [1].

These changes are not related but squashed into one patch for passing
gate tests.

[1] https://docs.openstack.org/releasenotes/python-novaclient/queens.html#id4

Change-Id: I1fe652c17983f2b4505be50d01a26678bf50ef29
Partial-Bug: #1721489
2018-02-13 09:19:21 +00:00
OpenStack Proposal Bot a9ca28bf90 Updated from global requirements
Change-Id: I371cf84d9c9cd5446d1527f1c5405e9390179202
2017-11-16 10:59:33 +00:00
OpenStack Proposal Bot 3086ea62b0 Updated from global requirements
Change-Id: Ib2f62f0d4ecdca22c2f4e515e5d7a914cdd4873f
2017-09-28 13:57:12 +00:00
Hiroaki Kobayashi c4afe8b438 Add Horizon plugin for Blazar
This patch adds a Horizon plugin for Blazar. The following features are
currently supported:

* Show a list of leases
* Show details of a lease
* Update a lease
* Delete lease(s)

Change-Id: I24c14e697d4280fa29d84d11324fb881009f089b
Partially Implements: blueprint climate-dashboard
Co-Authored-By: Pablo Andres Fuente <pablo.a.fuente@intel.com>
2017-08-03 10:23:54 +00:00