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>
Switch to openstackdocstheme 2.2.1 versions. Using
these versions will allow especially:
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I3600b36580b01bd122d84dc14316b94f6c2ee78f
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>
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: I9889db5f710af545d11008090b455048011e38ea
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
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest
Change-Id: I1bb1b6861f804f3a28d863bcab795ed39819d3aa
Small cleanups:
* Use openstack-lower-constraints-jobs template, remove individual
jobs.
* Sort list of templates
Change-Id: I3ccd43896a032762400260d34b6aeef8b034feab
Needed-By: https://review.openstack.org/623229
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
This also modifies a unit test to not attempt to pass the re.LOCALE flag
when the regex is a string, which is prohibited in Python 3.6. It would
be possible to use a raw bytes object as the regex instead, but we're
testing the repr() here and it has a different representation between
Python 2 and Python 3. Just use the re.IGNORECASE flag instead for the
purposes of the test.
Change-Id: I666d49d0a29963bcaef6ca69be34dc4869f6db6f
Co-Authored-By: Zane Bitter <zbitter@redhat.com>
Story: #2002586
Task: #24322
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I223abedcedadda2e0328175b6b16da0228b70067
Story: #2003250
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
flake8 already pulls in the new dependency (pycodestyle and pyflakes)
in the right versions, so listing it explicitely is wrong and
unnecessary. flake8 2.5.5 depends on:
'pep8 (>=1.5.7,!=1.6.0,!=1.6.1,!=1.6.2)',
'pyflakes (<1.1,>=0.8.1)']
This seems to be from times where flake8 wasn't doing that before.
Change-Id: Ib145e2afa97f441c07fada9c30f0f0e2410870ae
There weren't called before because test-requirements
hardcoded an older version that is not what flake8 expected.
Change-Id: I43b0c9f89d8411ae536ffd0540ff7ba47df46dda