Commit Graph

30 Commits

Author SHA1 Message Date
Ghanshyam Mann 8766b50965 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: Ic72dcfe9fd02aaffec7f12cfe2eb61e49fd3054d
2024-01-11 16:19:16 -08:00
Zuul cd5977a906 Merge "Drop Beta development status" 2023-11-16 17:21:14 +00:00
Ghanshyam f02bdb9550 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 90ea8f3b12.

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: Ifc7327b025a824e511c3dd3e012e329b2a2f1a40
2023-05-04 20:18:24 +00:00
Takashi Kajinami 92d7061fd4 Drop Beta development status
This library has been used by multiple OpenStack projects for a while
so we can assume this is not mature.

Change-Id: I7320777228d103f5a28755d10c493d144b24e6a0
2023-04-10 10:59:07 +09:00
Hervé Beraud 90ea8f3b12 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: I5717d8dd0245504e6c4d0c9bcbb22cd997ffe35e
2023-04-10 01:56:11 +00:00
Hervé Beraud 3b789cba81 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: I98072e5176cb415469a5cca51ab63ea7953a384a
2022-05-05 16:06:05 +02:00
YuehuiLei 25fcff997b 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: I8fc4f3b027aaacaf023e54fe0b138bdddaef0c3f
2021-05-05 10:01:58 +08:00
Sean McGinnis 9fd61c81a8
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: I27acd7a90e439a7e7f7529001afa73f7b9d055ce
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:13 -05:00
Ben Nemec 675f014626 Remove universal wheel configuration
Now that we've dropped py2 support we shouldn't be setting this
anymore.

Change-Id: Iae1a99a9d2644244165b18e030d1c1912ebd98f1
2020-02-06 17:36:41 +00:00
Hervé Beraud 89beae0753 [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: I02784f635368ad7cc5ffde7cc8a4f4367143da98
2020-02-03 17:56:35 +01:00
Corey Bryant c6babc7222 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: I1638f7d10bf43fe6eb8ad7fc27452f70a8deac4f
Story: #2005924
Task: #34234
2019-07-05 15:01:09 -04:00
Ghanshyam Mann e36c0285ef 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: I0d3d40f8ac10f5b765141939cd3424332e1d4138
2019-04-15 18:37:50 +00:00
ZhongShengping b58f3c57b0 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: I32d60d364e6e2d586a98759bc51f004bcf942682
2018-12-05 09:38:41 +08:00
Sean McGinnis 674d805260 Treat doc warnings as errors
This adds a flag to the sphinx-build command to treat warnings
as errors.

It also cleans out the old doc related entries from setup.cfg
since docs are no longer built using that method.

Change-Id: I1bacf231605ab791d4b817223ab64be2a4133672
2018-01-08 11:47:18 -06:00
ChangBo Guo(gcb) 1bd761df8e Update URLs in documents according to document migration
Change-Id: I587c575a1adc7f9156b8e6667b650296ce3680e4
2017-07-12 23:19:00 +08:00
Vu Cong Tuan cdf5755886 Remove pbr warnerrors in favor of sphinx check
This change removes the now unused "warnerrors" setting,
which is replaced by "warning-is-error" in sphinx
releases >= 1.5 [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/
2017-March/113085.html

Change-Id: I0e6a90bec74b932bd21a97dee94127d6c631169b
2017-06-12 08:46:36 +07:00
melissaml 7a418520aa 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: I1100dfbd3af361af33438263771ce7bf45d5bef0
2017-02-09 20:02:19 +08:00
Tony Xu e93f837005 Update homepage with developer documentation page
Change-Id: I0f51789550ba2bc55f783f7ae1e2bdb91608b235
2016-09-24 14:11:53 +08:00
Yatin Kumbhare 5e5ed2e133 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: I7c1ce52e6d1427e797d4a002d0ee0543e11dd92b
2016-07-12 17:01:41 +05:30
ChangBo Guo(gcb) fc2f47490e Remove python 2.6 classifier
Change-Id: I4adadfe3d16400d461ebd8fee34b713577d2e248
2015-11-17 15:00:59 +08:00
Victor Stinner 6f424f73cd Fix Python 3 issues in tests
* get StringIO from six.StringIO to support Python 2 and Python 3
* Replace "__builtin__.open" with "six.moves.builtins.open" to mock
  open()
* Workaround a Python 3.4.0 regression: get the log level directly
  from logging._nameToLevel instead of using logging.getLevelName().

Replace Python 3.3 with Python 3.4:

* tox.ini: replace py33 test environment with py34
* setup.cfg: replace "Programming Language :: Python :: 3.3"
  classifier with "Programming Language :: Python :: 3.4"

Change-Id: Ied495f5867f47eee57b64ab35c0423913ee17d6e
2015-10-12 10:07:53 +02:00
Davanum Srinivas d2282acf42 docs - Set pbr 'warnerrors' option for doc build
By setting this pbr option in setup.cfg, the doc build will fail in case
of any warnings or errors occur during the build process.

Change-Id: Idc4a670f019a399d7bfee1c4431f29ce396c0c23
2015-09-24 21:46:09 -04:00
Jenkins 293def2d23 Merge "Remove oslo namespace package" 2015-06-03 15:36:25 +00:00
Doug Hellmann 8a6c9af3b3 Remove oslo namespace package
Blueprint remove-namespace-packages

Change-Id: I83295249904ff65950dcfca15f8933bed48b7922
2015-05-11 16:52:12 +00:00
Davanum Srinivas b786a776dd Generate a oslo-rootwrap console script
Currently projects like nova, cinder, neutron etc are generating
their own project-rootwrap script, but they are just copies of each
other as we send the configuration file as a parameter. So we should
generate a script in oslo.rootwrap itself and get rid of others
over a period of time. In this change, we also add a script for the
daemon mode.

Change-Id: I9e9033fbf61161149e586098e4a60b9522ec5437
2015-04-29 10:55:28 -04:00
Doug Hellmann bdb739e249 Move files out of the namespace package
Move the public API out of oslo.rootwrap to oslo_rootwrap. Retain
the ability to import from the old namespace package for backwards
compatibility for this release cycle.

bp/drop-namespace-packages

Change-Id: Ifed1a99e5ea6d999760731867c4294707698d41c
2014-12-18 16:08:01 -05:00
Davanum Srinivas d46ecc9d23 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: Ied9e2aa765fe006d66df7f431462252204dc5baa
2014-10-02 16:18:00 -04:00
Cyril Roelandt 96992e5731 Add Python 3 trove classifiers
Change-Id: I255a4c40a661d86c76863f2919b36b8d12b77cd6
2014-03-03 18:09:03 +01:00
Thierry Carrez 42255ccae8 Discontinue usage of oslo-rootwrap
Rootwrap should be used from specific console_scripts calling into
oslo.rootwrap.cmd:main, rather than using the specific oslo-rootwrap
wrapper. This matches how nova and cinder now consume oslo.rootwrap,
and ensures a smooth upgrade path.

This change aligns the documentation and shipped files to match how
oslo.rootwrap should be used now.

Change-Id: If01b8840c971d1c6d5c88c7698f5d6a2bf8fd5f0
2014-01-28 09:50:36 +01:00
Thierry Carrez fe258e097f Add standalone project packaging support files
Add Python packaging support files so that rootwrap can stand on its
own.
2013-11-21 16:25:23 +01:00