Commit Graph

13 Commits

Author SHA1 Message Date
Takashi Kajinami 9eb0242aa8 Remove deprecated pbr options
The api_doc_dir option and the autodoc_index_modules option were both
deprecated in pbr 4.2.

The required options for the sphinxcontrib-apidoc extension are already
defined in doc/source/conf.py .

Change-Id: Ic17df7be9763bfa536f7145836161e7909ce542d
2023-12-20 11:44:39 +09:00
Takashi Kajinami 9dc4c36f9e setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ic2f7e933c8e304c012cefc83308726d2a219b25f
2022-10-28 10:00:55 -05:00
LiZekun c31edd9572 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: I562d51f54859d1009b6599c7f75e0a5d7803fe36
2022-07-16 14:00:36 +00:00
Andreas Jaeger be98d6d605 Cleanup py27 support
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:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I2602377334889d08ea3832a7f115b2937af2aa42
2020-04-05 09:37:51 +02:00
Vishakha Agarwal a9e8ec4e3c [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ldappool is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Iafa765c5aa8ac83656003d8addf698795ce93e1a
2019-12-17 15:14:50 +00:00
jacky06 732fc6bec7 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Replace git.openstack.org URLs with opendev.org URLs

Change-Id: Id9f496f57acd2d5a388920e6bdebe52c40a98073
2019-06-19 14:40:58 +08:00
Vishakha Agarwal 0c1f6fb480 Drop py35 jobs
Python 3.5 was the target runtime for the Rocky release.
The current target py3 runtime for Stein is Python 3.6,
so there is no reason to keep testing against the older version.

https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein

Change-Id: Ie8dbbf3180da6ba487cebfa40bf831f20ba33a90
2019-02-28 11:43:53 +05:30
Vieri a89bfd9d3c Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ia31bda114889b4e043b95dba19172085817eb7e3
2018-12-04 19:20:53 +00:00
qingszhao 3c1ce2d830 Removed older version of python added 3.5
In setup.cfg file the python 3.5 is added
In tox.ini the python 3.5 is added

Change-Id: If4b47cb1a4bdd7c92ce438548defd8bf552dc170
2018-09-29 16:30:04 +08:00
Colleen Murphy 459e1b1399 Add author email to setup.cfg
The release linter checks for this.

Change-Id: I5d4fdf7edc086f78a44f702e5b40a102a01e80b2
2018-07-19 18:21:21 +02:00
Samriddhi Jain a47bcb6b73 Turn on warning-is-error for sphinx build
The doc-migration spec requires all projects to treat warnings
as errors during sphinx build. This patches turns that function
on.

Change-Id: I3b57177cc1dfa34dea57e62bbc93fafa40899899
2017-07-15 23:42:17 +05:30
Morgan Fainberg 62b14c6320 Add py3 info to setup.cfg
Add the python 3 classifiers to setup.cfg and proper envs to
tox.ini.

Change-Id: I771c148ee8d246a5a3ac45e3a2e45c1fe3a691b1
2016-05-17 16:51:19 -07:00
Morgan Fainberg 6350323b7f Add support for tox unit testing
Add support for tox unit testing prior to import into openstack's
gerrit/CI system.
2016-05-12 08:36:14 -07:00