As per the current release tested runtime, we
need to test till python 3.11 so adding the test
and updating the same in python classifier in setup.cfg
Change-Id: I08709e4da19682be2cd174ab55b0293c74cfcf06
The check makes sense for comment lines as well.
An example:
if :; then
<tab># comment
<spaces>echo hello
fi
Change-Id: I3baff60fe272440bbcbe5dd809f264bca1092b78
In Yoga testing, we are making py3.9 job to run as voting, so
adding py3.9 job as voting.
Also, as bashate is branchless and needs to support older
supported stable branches, let's test it with all the
python version supported in those supported stable branches.
For that, we need to explicitly dd the py jobs instead of using
the template. This way, we will explicitly know that we are testing
all supported python versions when the new release template bumps the
min python version in the template.
Change-Id: Ifda17adba4c5fab369204a34b3ae49eab309a7dd
doc. job is failing as requires some font 'tgtermes.sty'
to generate pdf doc. This patch adds that required
package in bindep.txt to fix doc job.
Change-Id: Ifcb95a3d2d21f0c6186782765048a1b3bc5d75d3
Resolves pip warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Also, updates the url to docs.
Change-Id: I716e7c05baf8183fdd9a500e15d614ef0492ad41
The CI no longer provides us with preinstalled tox, we have to ensure that
it is present ourselves.
Change-Id: Ib8da29ca2156aafd89fec69db7910360efe266a2
This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.
Also, this patch makes minor changes in the documentation source
code to make sure that the .pdf and .html documentation looks
good.
Story: 2006070
Task: 35454
Change-Id: I74a151163812a3dc8fde9f85739882a54ad11fd3
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints and requirements.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: I25645fcff3c772d5c5cd1f4564385fa943871e01
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_auto_name to use 'project' as name.
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.
Create separate doc/requirements.txt file and use it, this allows
to continue testing with py35 and build docs that require py36.
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.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Ic97beaec35ff633380688beb93318273ab6ca15c
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: Id71d25ff658f864da150fb52542378141b7c3f70
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
Change-Id: I40cf60b58847cee619bcac0a60c760bebd001954
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix:
W605 invalid escape sequence
E117 over-indented
E305 expected 2 blank lines after class or function definition, found 1
Ignore:
W504 line break after binary operator
Change-Id: Iab3fded493e781156ab7ac85aac641bf536361d5
While dropping py2 support, we dropped py3.5 support also
- Ib769d9cbb7ba9f191014c5445ed7f289e013aef4
There might be some user of it using on py3.5 distro like
stable/rocky jobs on xenial.
There is no deps issue to support the py3.5 so let's keep
it as long as we can.
Change-Id: Ifa1e53fc8c1a665c9fb35845960cc8bc700d19c8
Retire the legacy job for an equivalent native job.
Note this drops devstack-gate testing; that runs tox without a
basepython so breaks when we move bashate to Python 3. bashate is
pinned in devstack-gate to 0.5.0, and devstack-gate is considered
deprecated, so it will not update to a non-supported version. We
don't need to keep linting it.
Change-Id: If2ea649d897293a1129b5e30924080936cfc96de
This commit removes the pylintrc file. The pylint requirement was
removed 4 years ago[0] and we don't use it now. So, we can remove this
rc file safely.
[0] https://review.opendev.org/#/c/150816/
Change-Id: If032e7a345d5a612fbaaa6850e880c2a8601e718
This commit updates sphinx version which aligns to g-r. Without this
patch, py27 tests fail because of an error like this:
ERROR: Sphinx requires Python '>=3.5' but the running Python is 2.7.15
Change-Id: Iaaf4b2dabd04f85217cb4a1af9af79165e5b1ba9
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: Ib63065396f832e0144563c881560c3f1fcf7bc8f