As per the OpenStack TC decision [1], the doc requirements should
be listed separately.
This also simplifies the requirements handling. At them moment,
we're facing some issues due to conflicting doc related lower
constraints.
While at it, we're bumping the lower constraints based on Nova's
requirements, dropping indirect dependencies which are very difficult
to maintain.
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ifffbb94c069d58df1dbaa1c5a1681312e8455ae2
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.
Disable openstackdocs_auto_name to use 'project' variable as name.
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: I51ed3c145a96259b9439d0ffda4685bff9721177
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.
Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I8abacb64ca67bd3da04b1597b5b860761bd34e7a
This repo is now testing only with Python 3, so let's 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
- 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
- Remove old python compatiblity test code
Change-Id: If7296703fc4848a16dd10d904ba3f49f19054546
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Change-Id: I7c6896dd25d76dc02145f4d09a4d09de35a4afb1
Use latest release 1.1.0 and compatible changes w.r.t pep8
It's worth noting that the pep8 package has been renamed to
pycodestyle. New hacking packages no longer install the old pep8
package automatically.
Change-Id: Ibbad8b42188ade597d9a3032389e930c2f5fe2d0
Move to stestr. That's what most of the OpenStack projects have done
given that testrepository seems to be unmaintained (last release in
2014[1]).
[1] https://pypi.org/project/testrepository/
Change-Id: I83c2ceb74eb291266b3afa33f49d17db84ee9cde
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: I9e013fe5ce2abc6a9850d62a9a455c4090d200da
The oslosphinx theme has been deprecated. Besides, we're currently
inconsistent with the other project docs themes.
Change-Id: I6a7a105d8b689ff5e5ca2f7829ce06d166e8db2e
This change adds an automatically generated config sample to the
os-win docs.
The config sample is generated each time the docs are built, using
the oslo.config sphinxconfiggen extension.
Related-Bug: #1709648
Change-Id: I01f44bf02c92ecfced6d5266caa40683a0a9248e
The current hacking requirement breaks the gate, due to
conflicting pbr requirements across the project's dependencies.
Change-Id: I804487c610198d9ea1b29db3c69414c54ffbe87d
The 0.13.1 release breaks some documentation jobs when
it tries to build docs with remote images. This has been
reported upstream [0]. The version matches the supported
docutils versions for sphinx.
[0] https://sourceforge.net/p/docutils/bugs/301/
Change-Id: I16edd24cc89a3e7b791f7d91a43b6b627870d4f8
Mounting loopback highly available shares is not supported.
The Hyper-V Nova driver needs a way to check whether a share is
local and use the local path in that case.
This change adds a method that attempts to resolve the share server
address and compare the IPs with the local IPs.
In case of a share exposed by a Scale-Out server, we'll use the
Distributed Node Name of the share, which points to all the nodes
of the cluster.
ddt is added as a requirement.
Change-Id: I04ac0b514ccac9c910728da205f0f0f11b43509a
Partial-Bug: #1580122