This is step 2 in the retirement process for mox3. It removes all
content from the repo other than a note in the README file notifying of
its status and how to get the last version of the code
Depends-on: https://review.opendev.org/736712
Change-Id: Ifbea265fdef149791d02a642037ac30611ad4c81
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.
This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.
Change-Id: I582da6161dcbeb665df0b05adc8df7421f1da1c1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Address suggestions from https://review.opendev.org/#/c/700679:
* remove install_command from tox.ini, this is the default
* Use sphinx-build as modern way to run sphinx, remove setup.cfg
settings for build-sphinx
* Add python-requires to setup.cfg to make Python 3.6 requirement
explicit
Change-Id: Ib93f6f3822c7f9d9013f095268700e3a19d252fb
flake8 is a linter so we don't need to pull in for the unit
tests or other tox environments.
Also update to the newer flake8 2.6.x which is the version
chosen by current hacking release (which causes no fallout so should be fine).
Also this is the first version that is compatible being run
under python 3.6/7.
Change-Id: I54f99e7e29c7b3727db98bdaf8bc168da3890a1d
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: I0190d49f1f6153937a2032f199a17696c21efa83
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: I286299b3ef10c008e73900e0d08a461637796b67
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Set the default python to python3 except for the py27 environment. We
have to set that explicitly to override the new default.
Change-Id: Ib98c64b490cf621ffd1ce96cb403a1b94a9246ad
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I0906638c2fd77dbdcff56ffc43e5c3b70ca729f5
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: If030c81dfb5b1e016cf5335815a7e6e65b921a7c
There weren't called before because test-requirements
hardcoded an older version that is not what flake8 expected.
Change-Id: I43b0c9f89d8411ae536ffd0540ff7ba47df46dda
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove mox3.
Change-Id: I45b01a7cfca742233ac1f63a17d72cd96a6830ba
Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.
This helps ensure that the _ from i18n is used.
Activating this check did not flag any violations.
Change-Id: I9cae8a2e16ff49b8272f42925228f1524ddf0fea
Version 0.7.0 has a conflicting pbr requirement, so we need to update
the requirements and produce a new release. Making our tools work after
importing into gerrit required several updates simultaneously:
1. Update requirements based on our global-requirements list.
2. Fix tox.ini so tests pass for 2.7 and 3.4.
3. Skip a test that is failing for 3.4 until we have more time to debug.
4. Fix the .gitreview settings to point to the right repository.
5. Add skeleton documentation structure.
6. Add links to the README in a format understood by our release tools.
Related-bug: #1403214
Change-Id: I28213fb1dbb76a8640d7aa7dc844a7b593d1c6da