Commit Graph

24 Commits

Author SHA1 Message Date
Ghanshyam Mann 875b5930e6 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: I709f3609f52b7d75a0c176d5ecb0704600a00c8b
2024-01-11 16:19:43 -08:00
Ghanshyam b4c4869dbe Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit a9324198e9.

Keeping Python 3.10 in setup.cfg classifier and zuul.yaml changes.

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: I2fe191cbcc71fdb52d05d1d08e1dfd40de95a8c3
2023-05-05 18:51:54 +00:00
Hervé Beraud a9324198e9 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: If044570184e1df33c8754a39a782ea94e4ea165f
2023-04-10 13:02:18 +09:00
Hervé Beraud dc04fb1e93 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)

Also indicates that we support python 3.9.

Change-Id: Ic6dd48a11ae639ad9bc0ebeeffce7483c8bed588
2022-05-05 16:05:26 +02:00
YuehuiLei 19f369a6e5 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: Ide75d5a0fb9215a81f0410b6ffa77849463cf888
2021-05-05 09:58:35 +08:00
melissaml 4da02c3510 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: Ib2b1a9bd05148ab6c0a164b4463232b36f423de0
2020-05-15 11:16:23 +08:00
Sean McGinnis 50306b5052
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I2fd048c0d9bf7d93d6c7c515056abe7287019974
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:13 -05:00
Andreas Jaeger 5f184f1f5e Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Update classifiers
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version

Change-Id: I2c59ca525fa329b91720149cff3faee00fafff97
2020-04-13 11:18:16 +02:00
Hervé Beraud 65e2aa81b8 [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: I3ea32bcc39d887d296d70b080a90c536debd91b3
2020-02-03 18:35:41 +01:00
Corey Bryant d349cb974a 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: I6b399a382e18905aca344791bda18bd9ac98c049
Story: #2005924
Task: #34234
2019-07-05 15:02:28 -04:00
Ghanshyam Mann f16329aa62 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: I578831a20138ecb2746bf61d6dce85e6f7c4b47a
2019-04-15 18:28:57 +00:00
ZhongShengping ab74753e7f 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: I078a42e74409de8068b78e2e3e644b696070c3ac
2018-12-05 09:38:55 +08:00
Hervé Beraud 903a4f714f Always build universal wheels
All of our projects are pure python, so we can build
universal wheels by default.

Change-Id: Ic27b8da68977156d1eca3a33d91f352dca551ddf
2018-10-09 16:16:21 +02:00
ChangBo Guo(gcb) 5a8a712c26 Update URLs in documents according to document migration
Change-Id: I71f5444055b997905a913fdaaf31080cfbe85513
2017-07-12 23:28:29 +08:00
Stephen Finucane 7c5ab22f8f 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.

Change-Id: If31f68a80ab9e490dbf1457c274ac9f0c78239c4
2017-03-22 13:26:14 +00:00
Eric Brown 087d0c76b5 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: I0f71ce22b44cdb59340f4101c60c507367842603
2017-01-17 10:37:12 -08:00
melissaml 93537f2801 Changed the home-page link
Set the correct link for home-page.

Change-Id: Ib934ae8ce6797b398cd2db63866a532729750b71
2016-10-16 21:05:31 +08:00
Andreas Jaeger 5304525755 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.service/locale/oslo.service.pot to
oslo_service/locale/oslo_service.pot. For this we need to update
setup.cfg.

Update also domain name in i18n.py.

The project has no translations currently, let's remove the outdated
pot files, the updated scripts work without them. So, we can just
delete the files and once there are translations, an updated pot file
together with translations can be imported automatically.

Change-Id: I4bbe492faee1c04ede16b3a4e9da2a9521eecccd
2016-01-29 11:43:28 +01:00
ChangBo Guo(gcb) 27b1561f5a Remove Python 2.6 classifier
We have decided to remove Python 2.6 support, this commit
removes Python 2.6 classifier before dropping any Python
2.6 support in code.

Change-Id: I3f93645b3ad29f3793af5bd26338153e67d5ac5f
2015-11-17 16:05:08 +08:00
venkatamahesh edd3bc80f4 Fix the home-page value in setup.cfg
the current value is launchpad url which is not
relevant value and is replaced with oslo wiki page

Change-Id: Id67c74a7f6f0615d4c2ac824cfbf7e858c3811cc
2015-09-20 06:56:07 +05:30
Marian Horban 6dd3ad50b6 Added wsgi functionality
Because of copy-pasted wsgi functionality in projects(nova, cinder,
glance, etc.) it is added to oslo.service with perspective to remove
it from other projects.
DocImpact

Change-Id: If8840168f10cc3561f4f01e6d456d6b4fd1de8b5
2015-08-19 12:01:40 +00:00
Elena Ezhova 8c56f24291 Make logging option values configurable
It is not always desirable to log full set of conf at service
start. This change adds new option "log_options" that allows to
enable or disable logging values of all registered options.

Also moved list_opts function for service submodule to service.py
as service and eventlet_backdoor opts have to be grouped together
and changed the entrypoint accordingly.

Change-Id: I2a97ebf736fd361e6f1d05796d5077bc9627ff85
Closes-Bug: #1461250
2015-06-08 11:08:45 +03:00
Elena Ezhova 9deacabdb0 Add entrypoints for option discovery
oslo-config-generator relies on entrypoints listed
in setup.cfg to add options to the generated sample conf
files in different projects. So expose options avaliable in
oslo.service using the following entrypoints:

* oslo.service.periodic_task
* oslo.service.service
* oslo.service.sslutils

The following commands can be used to generate sample conf:
tox -evenv -- oslo-config-generator --namespace oslo.service.periodic_task
tox -evenv -- oslo-config-generator --namespace oslo.service.service
tox -evenv -- oslo-config-generator --namespace oslo.service.sslutils

bp graduate-oslo-service
Change-Id: I61372047b70341e3536db21aa3f1bd9d99c08185
2015-06-05 11:14:27 +03:00
Elena Ezhova dd2f334781 exported from oslo-incubator by graduate.sh 2015-05-21 16:51:40 +03:00