Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: I3dee8ebf67de1f4cb6724e832cace24a273ba483
Sem-Ver: feature
Small cleanups:
* Use openstack-lower-constraints-jobs template, remove individual
jobs.
* Sort list of templates
Change-Id: Ie4fa0a49318e20b9c4a32db44de0bdb59666eddd
Needed-By: https://review.openstack.org/623229
Logging via the application object was deprecated in sphinx 1.6 and is
now removed in the master branch that will become 2.0. This updates our
sphinx extension to use the recommended sphinx.util.logging instead.
Closes-bug: #1798174
Change-Id: Ie66579146d68680905c3eac3d256369309130cf4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The autodoc_default_flags option is now deprecated.[1] This warning can
cause documentation build failed. use autodoc_default_options instead.
[1]https://github.com/matplotlib/matplotlib/pull/11928
Change-Id: I73041da072edb635661503b75a9c7460e1242220
This is a mechanically generated patch to add a functional test job
running under Python 3 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: I760a924068be4d61496010cec967e5a181042b1b
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: Ia67171e6d46244a712ec8b8aa5736e9b8683600e
Story: #2003250
The pyNN factors automatically set basepython unless explicitly requested otherwise.
Therefore, "testenv:py27" section are unnecessary and should be removed
as the recommendation from Stephen in [1]
[1] https://review.openstack.org/#/c/580250/3/tox.ini@15
Change-Id: I07428041f70c68520c451589fc65cb586741b69b
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: I1b5bd8a53d0f93b99dd60fd5711a60f1135bcc4c
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.
Decode subprocess output so it has the right type under python 3.
Change-Id: Id2df5439fa6e788199bec4ac7c98c56347053621
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: Ia540b70e648d585aa0de017f72ceb96214b67e27
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: Id469e90d53d52f13b596b71904604ec073289e88
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
'pip install -U' ugrades specified packages, this is not necessary
since we use constraints, remove the parameter '-U' from the line.
With tools/tox_install.sh - which a previous change of mine removed -
the -U was not harmful, but with the current set up, it might cause
upgrades, so remove it.
Change-Id: Idf400c13258ecbe0e986a31fd747ab9ba42d25ed
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: Iabc08e643c5978b486d966b824b70ac92b45b4cc
Add the bandit security scanner to the pep8 job.
Change-Id: I4fa14f3c42f064b6ec58e1f3a3cde22ad031ac7a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The documentation jobs now look for requirements in
doc/requirements.txt and do not use tox for release notes. Move the
dependency list from setup.cfg to the new file and update tox.ini so
the developer experience is consistent with what the CI system does.
Change-Id: I739c9eba21d1b9a680d6b0e9cc6a4cbaca56e543
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.
Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.
Change-Id: I84ff1e6675f272d68055037634833836bc26a9fd
reno is not used for testing so it should not be in test-requirements.txt .
Move it to the optional docs requirements.
Change-Id: Idf09d2fe9632882a830311a1ab1fe28b72f1d5d9
Looks like the requirements bot can not handle comments correctly. Commit
95f3944a60 removed the correct indent and commit 6b31e1de17 added
a duplicate openstackdocstheme requirement instead of updating the
available one.
Solving this for now with the removal of the comment itself.
Change-Id: I6e25e8d626254b112b3ba5e525d89791ea4a25f2
stevedore is a library that is used outside of OpenStack, too. Having
a build requirement that needs something OpenStack specific makes
life in cases (eg. for downstream packagers) more difficult.
So let's make openstackdocstheme an optional requirement.
Change-Id: Ic8cc577e617e5da699f9dc43830183005bd2ee66
The ExtensionManager.items() method is analogous to the Mapping.items()
method.
(This also refactors the _extensions_by_name generation logic out of
__getitem__.)
Change-Id: Iad3a58aec7908eb3a829892bbea567705ab2dd97