This drops Python 2.7 testing from bindep and removes trove labels for
Python 2.7 in setup.cfg. We also remove Python 3.5 trove labels as we
stopped testing 3.5 some time ago. Additionally, we stop producing
universal wheels as this is now a python 3 only project.
This has been a long time coming. With Debian Bookworm not shipping a
python2 at all this is a good indication it is time for us to stop using
python2 with Bindep. Those that need Bindep with Python 2 or 3.5 can do
so using older releases. To help make this almost automagic we set
python_requires >= 3.6 which will make pip select an appropriate version
based on the python version being used.
Change-Id: Ief77df0b210c6d236adab2ba6659f181eea17459
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
SetupTools expects its options in setup.cfg to use underscores
instead of hyphens these days, but when revisiting the file in
Ib509016b532ec7cf65472cf3ee9a5e1b29949534 the author-email option
was overlooked. Correct it to author_email in per the deprecation
warnings.
Change-Id: Iaf1172ef120beb1293d99a027fac6f402c2ee278
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
- assure we can all bindep as a module (python -m bindep)
- add test the assures output is the same regardless how is called
- include argparse fix which needs to know executable name when
called as modules.
- enables use of bindep without needing to have it in PATH
Change-Id: Ib2aac359e2f23cb0ac7857835905e0a02e90888d
Now that bindep works with Python 3.4 and 3.5 as well as 2.7, start
making its wheels universal so they can be used for any of these.
Also update our trove classifiers to include Python 3.5 as
supported.
Change-Id: I7c70592e0e4a3464471d9a8c4ef9623cc9afd937
Update boilerplate content, modernize for more recent PBR
advancements, and get tests and style checks working.
Change-Id: I86b6a171d2d81dd870f092542d2f4569a6772fac