It's needed downstream when packaging. In RDO and Fedora,
we are hitting the issue "ERROR: ambiguous python shebang" during
the build.
Change-Id: I3f6fa3457b704bf57e3d7328f27e3440f57daa49
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I109bcad38b84266055c472e68834a64870561f1d
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I6ae1c373329f5801105a503947eee42bbe651cf4
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: Ia4edb289fe0cec122da3be58eb158faef174c1c1
Python 2 has been deprecated. This patch removes all
traces of six, unicode strings and Python 2 tweaks.
Change-Id: Ie6d62561fdaede0496052aa884021faa1927d5b8
In zed cycle, OpenStack projects has dropped the py3.6 and py3.7
support, so we will remove them from this project.
And add py38 and py39 support in setup.cfg file.
- https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: I7805ba2ff67335d23917de8b04d6aeaeff83120f
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I6a76ab9dda34c39b1f59131d57df6d5f4227ba9f
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: If252381c9a4638f6d3fba6fa926ba42a91ee67d9
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I20953152dcb4444cc87cf7133d5bba273f17f66a
Apply the fixes already applied to other repositories
to address compatibility issues with the newer test
platform and for cleanup reasons.
Change-Id: I546b8a7021ccc172a7c6a711f63d2ddc73da5d42
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I66629891ce82556a16a6da189cf5fc14c7c2315f
Sem-Ver: feature
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.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: I3555380e048f966e4dd87a4f43fcc38c01c1359d
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_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
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.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
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: If7524adfe3f585f78e6ce372f8ab6335faa2aa4f
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: I080863ce61f437d5a2e6b5db10dafab68d444ba0
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: I8a80b920072f3acfc26c3d95efe0bb61ab936be8
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: I856b2e44186d1e57247a6c2f9796515a77c6f5ad
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I9512086aa96d4d067b44786e0c3d660b47ca47f1
Sem-Ver: feature
- Updated CONTRIBUTING.rst per goal guidelines
- Created doc/source/contributor/contributing.rst per goal guidelines
Change-Id: I95087fc365f7fd4e2f13adde63ad84178de4612a
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I9f6ec4261e9d1aa5921706ace8b5c4a66f0d7021
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Remove hacking and friends from lower-constraints, they are not needed
for installation.
Change-Id: Idde52770aa10a2811f6c28eb184d8b58e7ef552f
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: Ia74ff16e9d2c9a8bd86882673f13860ec4b39cdb
Probably coming from a newer pycodestyle.
Follow along with the earlier sahara changes, see also:
https://review.opendev.org/633912
In a nutshell: fix E305, ignore W504 and W605.
Change-Id: Ica6c9896e937f5a74944717627111271ac24f72a
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: I9b43edfb10b9e55d7d16a637c9519e9e2b47c64e
Sem-Ver: feature
- add the pdf-docs tox environment according the established guidelines;
- remove a useless extra title (for both builders);
- docs tox environment: clean up only the generated html, not the entire
build directory;
- disable the too smart smartquotes option for the latex builder;
- improve the title of the latex document.
Story: 2006117
Task: 35491
Change-Id: I353e33db27c8d676398973995960b98d3163aa0d
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: I34024f0bcf3956bedc33b60f9762e046e53098f2
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train. The correct zuul jobs are
already in place so this change just limits default 'tox' calls to py37
to save developers time.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Change-Id: I54ff9e8730cb163482b1bcc7983852fe64f61b95
Story: #2005924
Task: #34244