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: Ia5b166e3a45d38f98e18f1f7f85bb5352e4de4ae
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I24daffca6667325bd7710e02e0b6a057935e9ac9
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Change-Id: Ifa4b61c66561c114f6e35355de51f0e2d525b5d5
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I532dc11528dfa1e9f566e3a2c860fd62a56418b3
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: I55e3749037faa2ccf32b7c724be27cbd1d94d5cc
Manually updating the requirements, since this project isn't in
the list getting requirements syncs from global requirements. Updating
hacking required some format changes to docstrings, and I included those
in this patch.
Change-Id: Ib33f6308ed121fa2350eb32846e476f2a9dd28f4
[DIB] Add posibility to build image from specified commit of agent
Included gitpython, required by file-downloading feature
Incorrect generation of file path where to put script symlink caused
"OSError: [Errno 2] No such file or directory" exception to be raised
after first execution plan run
Change-Id: Ifb6dffde5afd5ad5ce363934be71c7cc1e046de2
Closes-Bug: #1439367
Closes-Bug: #1439767
Co-Authored-By: Stan Lagun <slagun@mirantis.com>
Co-Authored-By: Kirill Zaitsev <kzaitsev@mirantis.com>
Execution plan files can be tranfered as binaries as just an URL to be download.
This code download the file when it is a URL
Partially-Implements Blueprint: conf-language-support
Change-Id: I102546a04a93dc74a4647cc8ad7a33d78ebca86b