Commit Graph

15 Commits

Author SHA1 Message Date
Takashi Kajinami dd046e42f8 Bump hacking
The version currently used is too old.

Also fix E275 "missing whitespace after keyword" newly detected.

Change-Id: I37e88d6b6bd707e9cc626e3625b9c034c7b5c553
2024-01-17 01:22:22 +09:00
manchandavishal 157a343e80 Fix lower-constraints job
This patch updates some packages version in lower-contraints.txt
to fix lower-constraint job. It also drops some linter from
lower-constraints.txt as not required for lower-constraints job.

Change-Id: If62522f716ae589d3b227ecdd1ea156090ca887a
2021-09-24 10:45:40 +05:30
Ghanshyam Mann f7c44fb750 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: I2d4d416d6b00d402819edf2eaed7ebd025e764f8
2020-05-12 19:25:35 -05:00
Andreas Jaeger 4f8b5ea08b Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: Ib6f30427e736ff488598e80e87ce0a8b39e92f33
2020-04-21 04:57:35 +09:00
Akihiro Motoki bd68639408 Use unittest.mock instead of third party mock
horizon recently switched from the third-party mock to unittest.mock.
This breaks heat-dashboard unit tests somehow.
We no longer support py27 and we can use the standard library
unittest.mock module. Rather than investigating the cause of
the failure, it would be nice to switch to unittest.mock.

horizon dependency is updated to 18.3.1 as unittest.mock is used
since 18.3.0 and 18.3.0 has an issue that it always requires pytest.
lower-constraints is updated to match horizon requirements.

hacking local-check-factory is disabled temporarily due to
the incompatibility with hacking 2.0 or later.
https://review.opendev.org/#/c/715690/ will recover it.

Change-Id: I517d6d7d36410c64bf48ad958b3e2115725a6491
2020-04-21 04:56:58 +09:00
jacky06 25415b0e46 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I45befc03377d96c27db8b1d8d78dd7b5bec5ec14
2019-03-27 14:00:03 +08:00
Ivan Kolodyazhny e4a8ab4a11 Add heat-dashboard integration tests
This patch adds basic tests to verify that heat-dashboard is
installed and could be opened.

heat-dashboard-integration-tests job is added in a
non-voting mode.

Depends-On: https://review.openstack.org/634712
Change-Id: I2550d6fcd1ce4e05502f247e227aaec05e762fcb
2019-02-05 09:40:06 +02:00
Chuck Short fbbd58a459 Remove mox3 completely
The porting of mock is complete. This fullfills the
community goal
200~"Remove Use of mox/mox3 for Testing" set for Rocky:
https://governance.openstack.org/tc/goals/rocky/mox_removal.html

This commit does the following code:
- Remove dead code that was previously used by mox.
- Raise the requirement to the Rocky M2 relase of Horizon.
- Convert the clients to use mock.

Change-Id: I33521b4bc8e873d50b1d2390e544eea0923dca4f
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-09-28 05:30:01 +00:00
Akihiro Motoki be8e3372aa 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.

Change-Id: I25cb4aa6558c599d3c1e334c5281dcb6ca7e3b9f
2018-08-17 01:06:34 +09:00
Andreas Jaeger 0525d28767 Avoid tox-install.sh
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.

Update tox.ini for this change and add horizon to requirements file.

Change-Id: I898fb222f5b36714c61e60c222e8b57ddea99df6
2018-03-20 09:42:20 +01:00
ricolin c2740a275a Create doc/requirements.txt
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

Refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: I32c84f17e4200314fb4a3e2c99d4e04608187a23
2017-12-29 15:02:52 +08:00
OpenStack Proposal Bot 8e9b3e6a41 Updated from global requirements
Change-Id: I2b56a87f2f9bb5b9c5897b91a597217163f896a1
2017-11-16 11:04:03 +00:00
OpenStack Proposal Bot e1650a0daf Updated from global requirements
Change-Id: I240fa4f416719d5424e74d889a1df6065cdc01e3
2017-11-15 11:43:53 +00:00
Keiichi Hikita ad9eba2e20 Add initial files as devstack settings/documents/requirements.
Change-Id: I79e42375151d06dd93a7529b7c6b6c25eafa68df
2017-10-31 15:58:55 +09:00
Keiichi Hikita e63ec107c5 add initial files. 2017-10-06 14:46:17 +09:00