tox now hard fails if there is mismatch in spec
attributes[1]. This works around the issue
temporarily. We probably have to drop py38 jobs
and specify basepython for py39 target in the
future.
Removes ansible-galaxy --timeout for py* jobs to
workaround. We may hit the timeout with py* jobs.
[1] https://github.com/tox-dev/tox/pull/2824/
Change-Id: Ie9bacf18cf167139601eff80bba91f2b3454b5dd
* Replace .testr.conf by .stestr.conf for migration and update
.gitignore, tox.ini and test-requirements.txt files accordingly
Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: Ia577800e7a342beaad58009239a98b9e7044d01a
- Ceiling of pbr version can create installation conflicts with pip.
- Fixes tox default env list to be python version agnostic
- Updated template to use newer jobs (include testing with newer python)
Bug: #1921679
Change-Id: Ifd0d2f810799992faa1db41b80bf93bc97d5d19d
Change order of default tox envlist in order of likeliness to fail on a
new change and add py37 and py36.
Change-Id: If665ba6101ab2419a4418d7bb473ae5bb5b890c4
The commands used by constraits need at least tox 2.0, update to reflect
reality, which should help with local running constraints targets.
Change-Id: I422714a265305143137c345cb86b6e0318d68df2
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I7ac34fa0215114f3d7345abd183c84159a30440e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This change also fixes the python tests to properly mock the path so our
stubs work if the command already exists on the system path.
Change-Id: I7c54b1d99e7cf6c4e3f4ded8c518bf447b2ba1de
Python 2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it too.
Change-Id: Ie229982e38b53eb52a7e1e20a1e1be9465181137
ensure the Python scripts in the doc and elements directories are PEP8
compliant.
test_os_svc_daemon.py test is fixed in another patch:
I9b1859f9fc5846c7c42606644231105618e1a1a0.
Change-Id: If5068ef77d6643c19de36bfcf4b4bf790f86b538
This will allow the docs jobs to pass which allows us to conform to the
OpenStack infra without specialness.
Change-Id: I4c80d71f211ed396cabda82dde088291a4bfe08d
Adds the necessary scaffolding to run unit tests in this project.
Actual tests will be added in later commits.
Change-Id: Ia348dda6b482ca269dceace09f6ac3b24bbd6b32
This is not an actual python project, so there is an amount of cruft
in the repo that is not needed. However, it does generate tarballs in
OpenStack Infra, so it needs the tox venv environment and the pbr
setup.py stuff. It also is totally possible to check python files in
the repo for flake8 violations, so set that up.
Change-Id: Ifb94f65912716efe1c4596d552beee92d2dc3d6a
Per http://wiki.openstack.org/ProjectTestingInterface we enable all
of the commands except build_sphinx because we do not have any sphinx
documentation as of yet. Includes babel support though there are no
properly internationalized strings just yet.
Change-Id: Iae6e6b3f9e605106f4575196fa5527d2187255df