Let's use openstack-python3-wallaby-jobs template.
Also update setup.cfg to be compatible with supported pythons.
flake8==2.6.2 and pyflakes==2.0.0 seems not to be compatible
with python3.8 on Ubuntu so the patch addresses this as well.
Change-Id: Ic09b2d836315d9a223bb8592d0e48ef475c56aa5
Add requirements repo as required repo that is checked out on the
correct branch and use it for upper-constraints.txt file.
This allows depends-on to work with constraints.
Use also TOX_CONSTRAINTS_FILE as UPPER_CONSTRAINTS_FILE is obsolete.
Change-Id: I9e33e590b541dd524cbb4d5ec303c55a15ff141f
Thorough replacement of git.openstack.org and review.openstack.org URLs
with their opendev.org counterparts.
Change-Id: I1b07e63476a930e95e445686b674377fa959c25d
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I8e91d721d75789bc1c66b0a38fd05a7427081706
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: If50767b3735389b641cccfd49bda79d47f1fe289
- use the six version of configparser and urllib, and depends on six;
- remove relative imports;
- adapt few tests to the changes.
The changes above should be noop from the point of view of
functionalities, at least on python 2.
And also:
- replace the py34 tox virtualenv with py35;
- add a non-voting py35 job (locally for now, it will be enabled
to project-config also for gating when stable).
Story: 2002574
Task: 22142
Change-Id: I0a35abaae6f5b7095ebae765fbe2163046e0a4da
Bump the dependencies to something more up-to-date, move reno
to documentation requirements, which are now a dependency
for the releasenotes tox target (even if not needed on the gates).
Clean up the configuration options and one title.
Change-Id: I760d21a6420d2928e60792455b59bbe63a49a8ae
Implement optional cleanup to support the new PTI jobs for
documentation which won't use tox anymore.
Docs tox environment will still available for developers
but it is no loger used in the gate to construct the documentation.
See http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Change-Id: I411115977f095e0e0ee01b65d01fe8c389a8754e
The patch:
* replaces .testr.conf by .stestr.conf
* removes os-testr requirement
* adds stestr requirement
* edits tox.ini file so that only stestr is used
* removes .testrepository from .gitignore
Change-Id: I14dae1cc58e3b5e2b3157df0803c3a15e9b55102
These Hacking checks are enabled in Tempest[1], so we might as well
include them here.
For info:
* H106: Don't put vim configuration in source files.
* H203: Use assertIs(Not)None to check for None
* H904: Delay string interpolations at logging calls
More on this can be found in the Hacking doc[2].
[1]: https://git.openstack.org/cgit/openstack/tempest/tree/tox.ini?h=master#n149
[2]: https://pypi.python.org/pypi/hacking
Change-Id: Id2fd27f726811eeea682227f3566dbe0b011a8b0