Commit Graph

40 Commits

Author SHA1 Message Date
Ayumu Ueha 74e1c70f2e Fix gate by adding extras to test-requirements.txt
The unit test fails with the following error:
```
ModuleNotFoundError: No module named 'extras'
```
This patch fixes the gate by adding `extras` package to
test-requirements.txt.

Change-Id: Idb653575b4a7a8ecd5f484cd23ba2c06429f8f28
2024-02-09 14:25:13 +00:00
Manpreet Kaur 6687b35b46 Move heat-translator to new hacking 4.0.0
Hacking 4.0.0 has introduce new optimal assert checks.
Please refer [1] for more details.

Additionally Hacking has enabled some new checks by default,
and the next update to the new release will introduce failures
in heat-translator pep8 jobs.
The main impact is from I122d250cab90964c346e9d53046a97c25054bc00.

This patch adopts new optimal assert check.
  [H211]:  Change assertTrue(isinstance(A, B)) to
           assertIsInstance(A, B).

On bumping up the hacking version, below mention pep8 jobs failed.
This patch address the issues now, when the new hacking release starts
being used it will not cause a disruption.

pep8 run-test: commands[0] | flake8
./translator/tests/test_utils.py:51:13: H211: Use assert{Is,IsNot}instance
         self.assertTrue(

[1] https://docs.openstack.org/releasenotes/hacking/unreleased.html#relnotes-4-0-0

Change-Id: Iae79b8c5c6873d6bf5f6ef1b427dc8c60bade03f
2021-01-26 14:00:21 +05:30
Ghanshyam Mann 7dc0b749b6 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: I1b80db04389256f0629de9bec1f2045b63250bd2
2020-05-12 19:25:38 -05:00
Andreas Jaeger 98e848606f Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

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

Change-Id: I36cc496d9374169b0eafdf8d66747b07f2b2cabb
2020-04-07 17:35:28 +02:00
zhulingjie de9d98cfc6 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: Ib3a7568750ca5bf14b445e3de3aa3b020c6dbb2a
2018-12-10 05:25:03 -05:00
Nguyen Hai 17aedacea5 Follow the new PTI for document build
Reference:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I32256af5d8530435321e84f5dd19d8a9ce57840a
2018-05-30 15:02:54 +09:00
Nguyen Hai 060361fb11 Switch from oslosphinx to openstackdocstheme
- Change to openstackdocstheme which is a theme and extension
support for Sphinx documentation that is published to
docs.openstack.org and developer.openstack.org.
- This patch also updates README.rst

Change-Id: I5922eb9b0f5835be65a5ba3eead78bdf92458452
2018-05-29 19:43:49 +09:00
OpenStack Proposal Bot 9611dff318 Updated from global requirements
Change-Id: I7754f7b9b45a9997535acb3a9f57396e28613b5f
2018-03-15 06:57:57 +00:00
OpenStack Proposal Bot 2a71a16668 Updated from global requirements
Change-Id: I3ced4465676ec2bdf01426e9dc60ff33185d0b90
2018-03-13 06:53:23 +00:00
OpenStack Proposal Bot f105a8ab67 Updated from global requirements
Change-Id: Idf9393b55f5070b64f9037223c55d30cfb862b8d
2018-03-10 13:13:38 +00:00
OpenStack Proposal Bot c089696aaf Updated from global requirements
Change-Id: I78882d59137f06c8450ebb0dbef529bf7d3bdb77
2018-01-17 20:33:45 +00:00
OpenStack Proposal Bot a57ac0376e Updated from global requirements
Change-Id: I8ad125256418e90aec0f57d95caa5037767bcc7b
2018-01-16 04:07:00 +00:00
OpenStack Proposal Bot e263a71ca2 Updated from global requirements
Change-Id: I6f07ed18b218ede01fc8ee8dd619b73fff532250
2017-11-16 11:04:10 +00:00
OpenStack Proposal Bot 4a37a5680c Updated from global requirements
Change-Id: I52d2d6000dab76a3ab926f1a9831cd218e99b217
2017-06-27 12:10:09 +00:00
OpenStack Proposal Bot cf2417849a Updated from global requirements
Change-Id: Ie149765274189cd85aeb137d69b3528c16c16f9e
2017-05-17 03:47:54 +00:00
OpenStack Proposal Bot 8184fa5a65 Updated from global requirements
Change-Id: Ia7c0bbc8b1e7d60198e375f9090051f3fdf477cf
2017-05-15 00:44:04 +00:00
OpenStack Proposal Bot cda0680aae Updated from global requirements
Change-Id: Ib16ec038730041e705b75eb272c146ae5570f283
2017-03-03 22:49:09 +00:00
ricolin 6493c983ef [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I4e6679e5cb1ae3858c1d1c717c96c49878a72c78
2017-03-02 22:15:38 +08:00
OpenStack Proposal Bot cb84abda53 Updated from global requirements
Change-Id: I2356f8fcb7c31ee0042bf245192384da916ceb29
2017-02-10 05:48:55 +00:00
OpenStack Proposal Bot 6f55ff521a Updated from global requirements
Change-Id: I74a149f63b3d2e50e07519417b98487b265ec69e
2016-10-22 01:19:08 +00:00
OpenStack Proposal Bot 9a328ab67f Updated from global requirements
Change-Id: I7a9eff6606f2c1b8f9adb9b526b68fb14cdbe69d
2016-09-28 16:52:53 +00:00
OpenStack Proposal Bot b90c4d7fdb Updated from global requirements
Change-Id: I79dac5b624c7cc549c10eb7d99350bbef5f244cb
2016-09-27 09:59:38 +00:00
Swapnil Kulkarni (coolsvap) 7ce20e4329 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I9e7bc657e6e9766a71acc98ab074057e7278d947
2016-07-21 10:12:06 +00:00
OpenStack Proposal Bot 877f805a71 Updated from global requirements
Change-Id: I2a4dbf04d48b47739920e8c22813ce730d81f681
2016-06-21 17:59:05 +00:00
OpenStack Proposal Bot bc5fb206bc Updated from global requirements
Change-Id: Iec23f3a31da8c6c0bb77c6e702e67c29999ec4e4
2016-06-03 18:12:34 +00:00
OpenStack Proposal Bot 17ff8da08b Updated from global requirements
Change-Id: I5f2536afd41c293f97c1f6c681b07d0c18b344b7
2016-05-30 20:40:07 +00:00
OpenStack Proposal Bot d39bc39475 Updated from global requirements
Change-Id: I1616824ccf4ce6e2409e2bfb9333b91aa94a530c
2016-05-30 00:33:25 +00:00
OpenStack Proposal Bot 6a37956cf4 Updated from global requirements
Change-Id: Id2adfc35c28527175d1a695f4c96d072db92e934
2016-04-08 00:26:51 +00:00
OpenStack Proposal Bot 97b27dda52 Updated from global requirements
Change-Id: Ie6cdf9e3e8a4dc2fb685274e383884b2b5b62c02
2016-01-16 03:26:29 +00:00
OpenStack Proposal Bot 9641857e07 Updated from global requirements
Change-Id: I6daa8db4b55e428501d99d822671a8ab6bb9fbd1
2015-11-19 15:45:25 +00:00
OpenStack Proposal Bot 5664caa37d Updated from global requirements
Change-Id: I3ebb52494168052a141af2f2495d72eb522daf95
2015-09-04 19:43:25 +00:00
OpenStack Proposal Bot 9e599f9655 Updated from global requirements
Change-Id: I22f9e0a77d5a1a9503154367faf6a57a1c36b841
2015-07-15 01:32:17 +00:00
OpenStack Proposal Bot cd0dbc79c3 Updated from global requirements
Change-Id: I30cb4c0afdf01827ca6093bd398c78d63e0bd1a7
2015-06-30 19:56:12 +00:00
OpenStack Proposal Bot c947875772 Updated from global requirements
Change-Id: I2dc7deea32588ac7a702ea7a0a3b2f1aee062cd1
2015-06-23 21:42:39 +00:00
Steve Martinelli c52d403e7b Update code base to be hacking compatible
Lots of minor changes to make the latest version of hacking happy.

Change-Id: Ide0cfaa64f33f4e3157f5aaafdbd6de94a13b127
2015-04-27 15:24:45 -04:00
Steve Martinelli 88ce5ec962 Update requirements and test-requirements
Update the requirements and test-requirements files to match with
global-requirements. A hacking update will be performed in a
separate commit.

Change-Id: I3fb976c00fe97378cbe1e2291a911be755254e41
2015-04-27 14:13:40 -04:00
Steve Martinelli bf87dbfa62 Update heat-translator's documentation theme
Use the theme that is bundled with oslosphinx to create a more
'openstack' themed documentation site.

Change-Id: Iaeb9aed5fc7e1f0dd78ff847dbcb70a624e944f9
2015-04-27 12:19:34 -04:00
Brad Topol 4e39b5729f Add a debug env for tox
Running a test with the pdb debugger was difficult because
tox captures output and causes the pdb prompt to quit.

Tips for how to run with debug are provided here:
https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests

This change puts these commands into a debug env in tox.ini so
you can do a command like

tox -e debug

and when it hits your breakpoint you'll get the debug prompt.

Change-Id: I84b2df606db17209706d12f6f6a03e7812210d53
2014-12-19 16:24:35 -06:00
Steve Martinelli 2f9f244b29 Revert use of olsosphinx library
Use the default theme since the projects under stackforge should
not be using the openstack brand, and oslosphinx extensions when
building documentation

Change-Id: I075f3ec3524a85ceabd228dc8085752e9f608b42
2014-08-28 11:34:45 -04:00
Sahdev Zala d4d826ef96 Add .gitreview file and apply cookiecutter template.
Add .getreview file and add files generated via cookiecutter template.
Also delete some originally added files to have project's initial layout
ready.

Change-Id: I494f52469b5a4aff1c1f12d58bcf41140ad3e680
2014-04-01 09:43:50 -05:00