Commit Graph

30 Commits

Author SHA1 Message Date
Ghanshyam Mann 701b09642e Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I7308fb528048bce7aa0fe44ac466a05f1a576649
2024-01-11 16:38:03 -08:00
Ghanshyam 541ba307e2 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 8c63440f34.

Keeping Python 3.10 in setup.cfg classifier. 

Reason for revert:

Needed-By: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

TC has been discussing about re-adding the python 3.8
testing in current master 2023.2 release testing.

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-04-25-18.00.log.html#l-191
- https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033469.html

While governance changes are under review, TC agreed to add py3.8 testing
so that we do not see more project/lib dropping python 3.8 and make them
uninstalable on python 3.8

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-05-02-18.00.log.html#l-17
- https://review.opendev.org/c/openstack/governance/+/882165

Also adding py3.8 testing back in job https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

Change-Id: I23797010c517205f71105fafb625379f071672b4
2023-05-04 20:18:53 +00:00
Hervé Beraud 8c63440f34 Moves supported python runtimes from version 3.8 to 3.10
Within 2023.2 python version 3.9 and 3.10 are the
supported python runtimes [1].

[1] https: //review.opendev.org/c/openstack/governance/+/872232

Change-Id: Iff1d2cd5ff16b1e6855bec95fdc9aca2911914d0
2023-04-10 01:51:40 +00:00
Hervé Beraud 383789ce70 Drop python3.6/3.7 support in testing runtime
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,

example nova:
- 56b5aed08c/setup.cfg (L13)

Change-Id: I0f9f23514867820fcf1d6397d08cde0dd15f29c8
2022-05-05 16:00:20 +02:00
dengzhaosen 38e5ba4d2e Update python testing classifier
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

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

Change-Id: I3a74a608fec5cc9f562c8a1cc99d3d35fc8d505a
2021-12-21 17:38:47 +08:00
wangzihao cf45c2cf8a setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].

Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages like the following
on new enough versions of setuptools:

  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: I000dcc5db4e19e24f824a271c78e24529a8dd61a
2021-08-20 16:23:04 +00:00
melissaml 6836944c9f Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I9cf0d090b6360c32de3882f30e673512e2d6be88
2020-05-15 11:28:52 +08:00
Ben Nemec 9a5d6555da Remove universal wheel configuration
Now that we've dropped py2 support we shouldn't be setting this
anymore.

Change-Id: Ib8d04a107cba50e73f4ed7fad210135c98479b5c
2020-02-06 17:37:13 +00:00
Hervé Beraud 1868508341 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in Ussuri cycle.

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: If437786eb8dbba9386dd473b45dab0933812c649
2020-02-03 18:30:47 +01:00
Corey Bryant 1b8bafb391 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Iaf3ca4799bb9e78b180bbfdab26f57d88781bd42
Story: #2005924
Task: #34234
2019-07-05 15:10:54 -04:00
Ghanshyam Mann 1a87277dd0 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I431a9623991dfad180f0654891b930b547df2689
2019-04-15 18:29:32 +00:00
ZhongShengping e67579790e Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: I815cf3290b137940cbe9811bb5b5a59739425f01
2018-12-05 09:38:58 +08:00
Sean McGinnis 226639ec66 Remove sphinx settings from setup.cfg
These don't appear to hurt anything, but they are no longer used
and should be removed to avoid confusion.

Change-Id: I849d5bcc7c59803342b4399d5199e280d1842d06
2018-03-21 16:04:11 -05:00
ChangBo Guo(gcb) dd1ceea294 Update URLs in documents according to document migration
Change-Id: Id03c3457b54b338d656852638cb2731459c531c1
2017-07-12 23:34:11 +08:00
Stephen Finucane 6e04f882c4 Use Sphinx 1.5 warning-is-error
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate the
setting from the old warnerrors one.

There are two issues:

- The `*` character is recognized as an emphasis character and must be
  escaped
- The index references modules that have since been removed

These are resolved.

Change-Id: Id078022c0f75bf8f162b693d260f67116eb6428b
2017-03-16 15:43:01 +00:00
Eric Brown bc8c7d375b Remove references to Python 3.4
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.

Change-Id: I275c60c1d5154ee7f2e7637a0cee15a83a7d077f
2017-01-09 10:14:48 -08:00
avnish 8345aa0a30 Update homepage with developer documentation page
Change-Id: Ife1e16b65d656e47198b9c4470ff95b9c51d7e1b
2016-09-20 11:56:28 +05:30
Eric Brown 103a32216e Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: I96bd1ee7501905cc6a9cf9299b007dadaeac0d28
2016-07-11 20:25:58 -07:00
Akihiro Motoki 21fbb7e829 Update translation setup
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

This basically renames
oslo.utils/locale/oslo.utils.pot to
oslo_utils/locale/oslo_utils.pot. For this we need to update
setup.cfg.

Update also domain name in _i18n.py.

Change-Id: Ie4837571b06dd08da9676bf6a3f6eca932559fb1
2016-01-29 08:35:53 +09:00
Joshua Harlow 479587c6d9 Revert "Move netifaces to extras"
For now revert this, at a later date we can reapply
this but we need to order this a little differently to
make it work out.

This reverts commit 2abbe1c3b1.

Change-Id: I20f3c5804caf1af698aa0f6397a9953eb9aba829
2015-12-07 12:44:17 -08:00
Davanum Srinivas 2abbe1c3b1 Move netifaces to extras
netifaces is a very heavy requirement especially for
python clients, the code that uses netifaces is called
only in exception paths at least now. So let us move
this requirement to extras to reduce the time taken
to install oslo.utils.

Closes-Bug: #1517069
Change-Id: If3430364e49c1c0b1d9f4937bb67900380662728
2015-11-21 13:16:51 -05:00
ChangBo Guo(gcb) f00e8150eb Remove python 2.6 classifier
Change-Id: Ibafd8c2022f1c024643fbcb87dcd3de29c767dc8
2015-11-17 15:08:05 +08:00
Doug Hellmann 6bd180efc3 Remove oslo namespace package
Blueprint remove-namespace-packages

Depends-on: I4e1cb4f1caaee61683dc9fb0ffc67e8f9e06dc6d
for openstack/barbican
Depends-on: I52848a1f63cb4a1b30d9e1c32f4bb18c5d9fe80e
for openstack/castellan
Depends-on: Ia21c15e8eca6bf456f7cfe13f815f5ce068601e7
for openstack/designate
Depends-on: I695d2141c00a5ee36e042efbb9bac4e2803c1948
for openstack/ironic
Depends-on: I779d8df5872887d5d8ec44012d792b59b0cf4f64
for openstack/ironic-lib
Depends-on: I977248bec9560bcd730efe6bed741f1dc025fdf3
for openstack/keystonemiddleware
Depends-on: I75e6e15d50ef9830d0581efd4cbcceb3e626f7b7
for openstack/manila
Depends-on: I975592f3694be42d52685ebf606f6d3012caf1a8
for openstack/murano
Depends-on: Icbd2ae016553b5e5c886205e87acf38f3ccec550
for openstack/murano-dashboard
Depends-on: If8a132de65ba1e57ea93f98daac66816a3cefaa8
for openstack/neutron
Depends-on: I9891564317aa3cf84874debdc966e48fb270455e
for openstack/os-brick
Depends-on: Ie11a5d51a6471792e122942dfc9063a0d9d38399
for openstack/python-barbicanclient
Depends-on: I5d325e9397404211df00d9e39195b63d9a2f2e76
for openstack/python-muranoclient
Depends-on: I474dcd9de166b00d02b3586858a28797e97a3231
for openstack/python-neutronclient
Depends-on: I5e4746b58e11bf56957f10517d484c173335dfc9
for openstack/sahara

Change-Id: I9ef9506873605661f394476c96e4a3bbdb85fbed
2015-07-15 18:20:18 +00:00
Davanum Srinivas bb7eebb4c2 Advertise support for Python3.4 / Remove support for Python 3.3
Change-Id: I22b4e781eb96a39cbb49e750e6afc9a83cc9f51d
2015-05-10 19:22:25 -04:00
Dan Prince 942cf060a1 Make setup.cfg packages include oslo.utils
This properly deploys the oslo.utils package may resolve
sphinx build errors for projects which have not yet
upgraded to oslo_utils.

Change-Id: I4db750fb2356ebf44a8fccf7c422b474fefec0ee
2015-01-12 21:20:26 -05:00
Doug Hellmann ca76fdcb52 Move files out of the namespace package
Move the public API out of oslo.utils to oslo_utils. Retain the ability
to import from the old namespace package for backwards compatibility for
this release cycle.

bp/drop-namespace-packages

Change-Id: Ic6dd62097399bf75e3d11b4d8a6400971069c415
2015-01-06 17:07:36 -05:00
Davanum Srinivas c6bdccedcb Support building wheels (PEP-427)
Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).

Change-Id: I98d3c4f9f6f6e7045d9b28fc98b1141d246aa08e
2014-10-02 16:18:01 -04:00
Doug Hellmann 3a09189098 Add API docs and clean up other docs
Add auto-generated documentation for the public modules in the library
and clean up a bit of the docstrings used.

Change-Id: Id5efa5c413b82e13f1a7ac78c92e39c193f12214
2014-07-23 16:05:59 -04:00
Davanum Srinivas 01bca57862 Get the tox tests working 2014-06-18 23:12:10 -04:00
Davanum Srinivas 7b9410e41c exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00