Commit Graph

33 Commits

Author SHA1 Message Date
Ghanshyam Mann 7f1b9d1588 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: I2c0432d7bfe39721602ac6773ddb5fed2f9dd384
2024-01-11 15:36:14 -08:00
Ghanshyam 28fd71fafd Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit d41e8f3e2e.

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: Ic916838612b02eb5b7b1a140d1066a8298774009
2023-05-04 20:19:39 +00:00
Hervé Beraud d41e8f3e2e 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: I8f9d3349881703fc2fcc91c28b1ce1df65cb6539
2023-04-10 01:53:34 +00:00
Hervé Beraud f4f81cf939 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: I1f947ad541b7417fd43ac10feef591fa939f19da
2022-05-05 16:10:49 +02:00
dengzhaosen 95b9334cfa 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: I27c8214b7e56066c1989788a17f49264c86cba6c
2021-12-21 17:30:20 +08:00
YuehuiLei 8e08400864 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: I4f58234e6f2d0b0b8548d1cf53c266c562b411eb
2021-05-05 10:03:59 +08:00
Andreas Jaeger 19fee9b65b Remove babel.cfg etc
Remove babel.cfg and the translation bits from setup.cfg, those are not
needed anymore.

Change-Id: If499be5ddd217141d2527fbf9b20532590e5bd80
2020-05-09 16:43:35 +02:00
Sean McGinnis c5e0dfedf9 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: If65dde86d6c9d17a61c37945bf8f53136e22b611
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-29 09:48:50 +00:00
Hervé Beraud cb1a83259d Stop to build universal wheel
Remove forgotten bdist wheel config

Change-Id: I527a088254035c227d66cac27516c59b2ca186ff
2020-02-03 18:38:40 +01:00
Stephen Finucane cfc27ef497 Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I94e709093e01825069b44b6c485e49a81f8f14c1
Sem-Ver: api-break
2020-01-30 11:37:22 +00:00
Corey Bryant 610df387b6 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: Icdd6929f479b54599ddf19a8092947272d5c8b68
Story: #2005924
Task: #34234
2019-07-05 14:42:45 -04:00
Ghanshyam Mann 7dd0913194 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: Idd5ceaf4d50d7181bce2859011b2a0c8206044d5
2019-04-15 19:00:38 +00:00
ZhongShengping 8b8501e912 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: I2cb4804c57560017008bf48b5d5b8ce71aae6da7
2018-12-05 09:38:06 +08:00
Hervé Beraud ade5db6183 Always build universal wheels
All of our projects are pure python, so we can build
universal wheels by default.

Change-Id: Ic72dff75b43b6ebebd4a90b2dbb9baf0db48e139
2018-10-05 11:35:54 +02:00
ChangBo Guo(gcb) 92772b403f Update URLs in documents according to document migration
Change-Id: I42b34fbc19d3f895b0260bedf06b9cae0d27338b
2017-07-12 22:22:54 +08:00
Doug Hellmann 6933cc5cbc turn on warning-is-error for sphinx
Change-Id: I6267ccf0581fe72f20118856ec4309caed55f05f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-11 13:49:30 -04:00
gengchc2 cf3f64152e Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due
to the change from Ubuntu Trusty to Xenial, where only python3.5
is available. There is no need to continue to keep these settings.

Change-Id: I69fedf01df329ab2f60c4b2583ac5541debeeee4
2017-02-08 16:48:09 +08:00
melissaml 9f1c2f01f0 Changed the home-page link
Set the correct link for home-page.

Change-Id: I535808010ddfeb5b58efd11567820c52bd6ce58c
2016-10-16 20:31:51 +08:00
ChangBo Guo(gcb) e9a0914493 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. This commit also removes py34 specific venv.

Change-Id: I50ddda7d96c77e7db60aa0b42e8e3b701dadf404
2016-07-14 12:23:14 +08:00
Andreas Jaeger e9d00d16ae 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.concurrency/locale/oslo.concurrency.pot to
oslo_concurrency/locale/oslo_concurrency.pot. For this we need to update
setup.cfg.

Update also domain name in i18n.py.

Change-Id: Ie774c4252f8481f2541ed0a2cad565d149dfcc72
2016-01-28 20:41:28 +01:00
Davanum Srinivas 491af16f80 Remove unnecessary package in setup.cfg
We don't need two entries as fixtures is under oslo_concurrency

Hat Tip to @clarkb

Change-Id: Ifb2b5b761ec3832de42beaf0505510d30251efba
2016-01-11 13:40:09 -05:00
ChangBo Guo(gcb) beb1c94197 Remove python 2.6 classifier
Change-Id: I58d2d5717a6ea1823a3c7651eb0d67ac7407c165
2015-11-17 13:53:37 +08:00
Jenkins ff18c14e5d Merge "Remove oslo namespace package" 2015-06-04 23:19:56 +00:00
Doug Hellmann b9e8f9f9ae Remove oslo namespace package
Blueprint remove-namespace-packages

Depends-on: Iae62b48993eef3b31420f8cc245a55f5e303c4fc
Depends-on: If927fc7d70c625faa072dc8905a7e044f08aad33
both for designate

Change-Id: I60ac791560c49514d3a25e2b58b39a12d3da5d00
2015-05-29 19:16:00 +00:00
Davanum Srinivas 9433f0d394 Advertise support for Python3.4 / Remove support for 3.3
Change-Id: Ib6382d1ef3b3f336f1c83390b544d7e659c88511
2015-05-10 19:13:42 -04:00
Steve Martinelli fe84d2a4ab Standardize setup.cfg summary for oslo libs
Rather than repeating the library name, have the summary use proper
names instead.

Change-Id: Ifd52a0ef01836c0e21554338a592a70407ba5fd3
2015-04-04 02:01:33 -04:00
Doug Hellmann d59543df4a Clean up API documentation
Use explicit files instead of auto-generating them.

Fail the build on a warning.

Tweak titles and other headings.

Add instructions for using lockutils-wrapper.

Change-Id: Ie92ce14b33180d35d84bbd0998e61b659487481d
2014-12-10 08:31:04 -05:00
Doug Hellmann bca4a0d827 Move out of the oslo namespace package
Move the public API out of oslo.concurrency to oslo_concurrency. Retain
the ability to import from the old namespace package for backwards
compatibility for this release cycle.

bp/drop-namespace-packages

Change-Id: I20d1647b1c3ef8cab3b69eccfe168eeb01703b72
2014-11-14 17:17:25 -05:00
Davanum Srinivas ccc8a39117 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: I25af4512f3e7198d03828a87bdca719cb7105d7b
2014-10-07 12:58:38 +00:00
Ben Nemec 5d1461204d Make lockutils main() a console entry point
This is more lib-ish than calling python -m on the module.

As part of this change, I also improved the unit tests for this code.
Before we weren't unsetting OSLO_LOCK_PATH before calling the main
function, so we had no way of knowing if it was being set correctly.

I also added a test case to verify return value propagation and
removed a private method that was never called.

Change-Id: I6c35b5409bf567767c5c71b9041dd7f7a012255d
2014-09-30 15:03:48 +00:00
Ben Nemec c98d5edc44 Expose lockutils opts to config generator
* Adds an opts module for the config generator to use.
* Makes the opts in lockutils private since we don't want consumers
  using them directly.
* Moves the options to an oslo_concurrency group with appropriate
  deprecated_group settings to keep existing configs working.

Change-Id: Ifdb4d99e27588e8a91d941c60b248ea526c06e0a
2014-09-30 15:03:44 +00:00
Davanum Srinivas 17b33061b2 Add code/api documentation
Once we use the pbr based build to generate files, we prune
the indexes to remove references to code we would like to
hide like the common modules and private modules in conf.py.
We reuse the same excluded_patterns variable that is already
used in Sphinx and filter these modules from autoindex.rst

Change-Id: I4baea1efa227ef14bc6706d59ff3dcad93c2eacc
Closes-Bug: #1364140
2014-09-04 22:48:57 -04:00
Yuriy Taraday 6fc3e6808b exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00