Commit Graph

12 Commits

Author SHA1 Message Date
Clark Boylan 1d4f5113a3 Drop Python 2.7/3.5 testing and support
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
2023-08-22 14:54:19 -07:00
Zuul 2a9a8b0751 Merge "Update formatting of author_email in setup.cfg" 2023-01-26 03:45:32 +00:00
Clark Boylan 697af0b17a Use nox
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
2023-01-25 16:09:12 -08:00
Jeremy Stanley ba5ac5025b Update formatting of author_email in setup.cfg
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
2021-11-20 18:59:13 +00:00
Jeremy Stanley cad541f4fe Overhaul Python package metadata
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
2021-02-04 17:02:56 +00:00
Sorin Sbarnea 6deb027936 Assure bindep can be called as a module
- 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
2021-01-27 17:18:05 +00:00
qingszhao 0ff8c739cc Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: If4fe938546c615144bc46494814b6ea7a325e50f
2019-07-12 02:01:09 +00:00
Jeremy Stanley aa018ee787 Build universal wheels
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
2016-08-03 13:46:51 +00:00
Morgan Fainberg 0cca514af2 Add python 3 classifiers
Add the python 3 classifiers to bindep.

Change-Id: Ifb2e41cb3bab556ed8d4a28e7d0a41eb3496506e
Depends-On: I8d4f19cfc4255f1effbad00c557f889c5c386514
2016-06-29 11:10:31 +00:00
Jeremy Stanley 8aee58408a Update PyPI trove classifiers preparing for 1.0.0
Change-Id: Ib8d7024c0d7586309a1b96b1d3bcf3e45d552cda
2016-05-04 19:39:14 +00:00
Jeremy Stanley 0407bb62a3 Sync with openstack-dev/cookiecutter
Update boilerplate content, modernize for more recent PBR
advancements, and get tests and style checks working.

Change-Id: I86b6a171d2d81dd870f092542d2f4569a6772fac
2015-04-03 19:49:22 +00:00
Robert Collins cb397d5f3e Initial project docs and framework. 2013-06-09 21:24:01 +12:00