This is motivated by OpenDev's desire to drop the old Bullseye container
images as well as container images for older versions of python. We bump
testing to python3.11 on the high end of the range and convert the
container image to python3.11 + Bookworm.
Python 2.7 testing is removed because tox + virtualenv can't actually
create python2.7 virtualenvs any longer. There are workarounds but
dropping the tests is simpler.
Python 3.5 testing is replaced with 3.6 testing beacuse the version of
easy_install on ubuntu xenial does not understand TLS + SNI. A while
back pypi.org dropped non SNI connection support which means we can't
install PBR for to run the setup.py for the projcet. There are
workarounds but 3.5 is old enough taht we should be able to move on.
Change-Id: I2f2a2d0cf71c69d7babd6df9bfdb41a759e9c0ee
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
* 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 all recent Python releases in trove
classifiers
* drop Python 3.4 cruft from the bindep list
https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
Also replace the contributor documentation with a more up to date
copy from opendev/bindep, and adjust the copyright assertions in the
built Sphinx docs to refer to "OpenDev Contributors" and drop the
unnecessary year.
Change-Id: I39c5f5afc66edec0cf51709218f143b2a749eddd
It is possible to use python3 for gear, so support both python2 and
python3 wheels.
Also update classifier to indicate which versions of python we
support.
Change-Id: I74384871cabc8d5b22f2d7555201c21f1bf37099
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Add more events.
Also, return Job objects from event handlers for convenience of
subclasses.
Add sphinx config to setup.cfg.
Change-Id: I2ccc32fbc5f043a67d5da86cc3c37ab3d2c30d99