This illustrates the use of nox in a simpler project. It can build docs,
run linters, and execute unittests simply and effectively.
Note we pin the packaging package as newer versions have changed
behavior on rolling release distros that don't have proper version. This
is necessary to fix gating. The followup change fixes it properly.
Change-Id: I795e4d73f60d90b0f027df43a80ebda773ee9194
Modernize our package metadata in the following ways:
* switch from description-file to long_description with the file
attribute, and specify an explicit content type and encoding
* replace the home-page parameter with the newer general url one
* add specific labelled project links for improved navigation from
PyPI's summary sidebar
* include some appropriate keywords to help folks searching
* use the specific license metadata in addition to the corresponding
trove classifier for it
* make sure wheels when built also incorporate the LICENSE and
AUTHORS files so that we're not distributing them without a copy
of the license text
* indicate support for MacOS X/Darwin in trove classifiers
https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
Also adjust tox.ini to no longer pick a specific Python 3.x
interpreter in the default envs list, instead making it use whatever
python3 the developer has on hand since that's probably "good
enough" for local testing.
Change-Id: Ib509016b532ec7cf65472cf3ee9a5e1b29949534
Since we have release notes for bindep, we should publish them
alongside our documentation. Also update to more modern patterns for
invoking Sphinx, splitting documentation build requirements to their
own file. Drop use of the openstackdocstheme and just rely on the
default Alibaster theme like other OpenDev tools do. Remove a few
other OpenStackisms in the Sphinx configuration too, and drop the
autogenerated date included in the copyright value (not only is it
unnecessary, it's bad practice from a rebuildability standpoint, and
inaccurate since the date docs were built is not necessarily the
date the content was written).
Change-Id: I84ab856dc92d0546653fe7ca7c4e9683835c9c4a
Upgraded hacking and fixed issues with code. This fixes pep8 job
which was failing on py38 as dependencies were too old.
Change-Id: I1b1a980eb1cb7ad0a6754b3aebfb3e3e1617c3be
This requires updating newer hacking which requires
some small fixes for pep8 to pass. Also adjust sphinx
dependencies so that py2.7 environment continues to work.
Change-Id: I576a6c42867a3fed7cc7090bd4a6219de3bced66
* Use openstackdocstheme instead of obsolete oslosphinx
* Update requirements to current versions
* Use sphinx-build instead of pbr specific commands
* Fix wrong indend to avoid sphinx warning
Change-Id: I5aff91ec45466f25b825b1729561976db69eb188
We test py35 in the gate, add that to tox.ini too.
Change-Id: Ifb3b313caedd427dec777ad7e72649ec78f6a80f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
as of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Change-Id: I6dce75d0d1e015e690fe2b7c5e739c10bc12d48e
Related-Bug: #1519510
Update boilerplate content, modernize for more recent PBR
advancements, and get tests and style checks working.
Change-Id: I86b6a171d2d81dd870f092542d2f4569a6772fac