Commit Graph

32 Commits

Author SHA1 Message Date
Ghanshyam Mann 254274d31c 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: I702d5840350b3ad3f66067e92ac5faf1bee20fce
2024-01-11 16:38:00 -08:00
Ghanshyam f442d815c7 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit d6cdf97c45.

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: I77db3800c22bb8f04a33e6c79f2da8947f30d484
2023-05-05 18:53:04 +00:00
Hervé Beraud d6cdf97c45 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: I5d5fcf954dad68c918c6a75adefd718fde875493
2023-04-10 13:09:01 +09:00
Hervé Beraud 54a96f50c8 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 indicate that we support py3.9.

Change-Id: I717b0e4ea1c450d4cb7af7366e813e58b5d531e5
2022-05-05 15:56:34 +02:00
yangyawei 3e3fa66cb6 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: If3e2e3c7b3fc0f170f38721a3350e85e8e7eff36
2021-05-14 16:54:15 +08:00
melissaml 5d68c5ef2e Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I49fb3d1d1af4d32a4f6154b35d0d78ff9f7e31a9
2020-05-15 11:57:56 +08:00
Sean McGinnis 8cb88302c1
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: Ibfb252d74656dd517686082328048db8ce48384d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:14 -05:00
Hervé Beraud 2961c30bce [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: I4b1f1b65d21340e76971d2bf31ee79d97392c454
Sem-Ver: api-break
2020-02-04 17:16:27 +01:00
ZhongShengping c59246530f Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detailed information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Id20646cd51ffc13cf4e77c640eb677fe376c1b1f
Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
2019-07-19 10:56:20 +01:00
Corey Bryant f1c25b189f 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: I4625a70e74f5c01c7b69ef14f1112c5057d10255
Story: #2005924
Task: #34234
2019-07-19 09:50:21 +00:00
Ghanshyam Mann 462eb63cc9 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: I29cc5d550d36fc2d80ca4364aa972567fa70d280
2019-05-14 18:41:58 +00:00
qingszhao 62f6079c5c Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: If37edf0daa609cb51370b16f969a259bb2d28f18
2018-12-04 16:56:05 +00:00
ChangBo Guo(gcb) fb177735ae Update URLs in documents according to document migration
Change-Id: I3c35d5046f8fecf091a12f87e522eefdebecef27
2017-07-13 10:17:21 +08:00
Akihiro Motoki a1598502bd rearrange existing documentation to fit the new standard layout
For more detail, see the doc migration spec:
http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
There is also the recent status of the work posted in the dev ML:
http://lists.openstack.org/pipermail/openstack-dev/2017-July/119221.html

Change-Id: I1e728fc0bc671150d826747010eb980176f0cc13
2017-07-11 14:11:12 +00:00
Akihiro Motoki 8d0a5a7fea Enable warning-is-error in doc build
- Fix docstring warnings
- pbr warnerrors is no longer needed.

Change-Id: I70532d99f34023b5fcce4373b6456cae2fbb642a
2017-07-11 14:11:03 +00:00
Eric Brown 0d75328047 Use https for references to openstack.org
The openstack.org pages now support https and our references to
the site should by default be one signed by the organization.

Change-Id: Icea6f111373df87cb92d242811fb938efe4ee1a1
2017-01-30 14:13:49 -08:00
Eric Brown 99d23f8bfa 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: I067d84b89167c5e84373cb0656348d3e7a573a45
2017-01-05 15:36:32 -08:00
avnish ae5a215547 Update home page link in cfg file
Change-Id: I3b027c145520bb89927d06fcc082a77128d6798a
2016-09-20 11:54:58 +05:30
Eric Brown 04ad3d8c79 Add a py35 tox venv for upcoming py35 support
Soon the gate jobs will support Python 3.5. This patch adds the tox
virtualenv in preparation for the move from 3.4 to 3.5.

Change-Id: I8eb0289b4ce4cfbc47ad79affa7af6ea3dac73d0
2016-07-06 08:20:26 -07:00
Akihiro Motoki 8d2c04e459 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.vmware/locale/oslo.vmware.pot
to oslo_vmware/locale/oslo_vmware.pot.
For this we need to update setup.cfg.

Update also domain name in _i18n.py.

Change-Id: I9ab5c9cc1e3d210e80c140ce0e2c7122bbeb5691
2016-01-30 00:28:16 +09:00
ChangBo Guo(gcb) a9d1b9a71b Remove python 2.6 classifier
Change-Id: I84ebeb7f1f5431f8bee258cd61186407b943047c
2015-11-17 15:14:45 +08:00
Davanum Srinivas 3005c22269 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: Icfca280be8abadce50cbf5ed7fa82ba67a3556ae
2015-09-25 12:43:00 -04:00
Doug Hellmann 44cbcedde3 clean up auto-doc api build
do not generate docs for private _i18n module and tests

ignore the rst files created by pbr

Change-Id: I9ec824d66e9234b60a2285daee6f1b2cb2cccf69
2015-09-24 19:53:13 +00:00
Doug Hellmann 7ebc48cf9d Remove oslo namespace package
Blueprint remove-namespace-packages

Depends-on: Id86b74fb492e1b86d29197b4e127d8368affa3fd
for openstack/congress

Change-Id: I3db0b8da385cb4ca475129260725a66413b25854
2015-06-04 17:58:10 +00:00
Davanum Srinivas 7758123c3d Remove support for Python 3.3
Change-Id: I2353396e505452ecb05b19f59f2620f5a7d895b6
2015-05-11 07:00:47 -04:00
Steve Martinelli 46f23277a2 Cleanup README.rst and setup.cfg
Provide a more complete description in README.rst, which is used
when viewing the library on pypi.

Also standardize the short-description used in setup.cfg.

Change-Id: Ia164a2ebf40035530ac2cadbfcc0f6987ef4a206
2015-04-04 02:30:40 -04:00
Dan Prince 2df3a6200a Make setup.cfg packages include oslo.vmware
This properly deploys the oslo.vmware package may resolve
sphinx build errors for projects which have not yet
upgraded to oslo_vmware.

Change-Id: I4db750fb2356ebf44a8fccf7c422b474fefec0ee
2015-01-16 08:53:53 -05:00
Doug Hellmann 48771e6bfd Move files out of the namespace package
Move the public API out of oslo.vmware to oslo_vmware. Retain the ability
to import from the old namespace package for backwards compatibility
for this release cycle.

bp/drop-namespace-packages

Change-Id: I11cf038c3832a7357ed53363d8ccf143daddd2a2
2015-01-12 13:22:13 -05:00
Davanum Srinivas 9f6f2a333b 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: I2f3b3a5f75aa8dbe4c40f3b9a1d0da43a4b1a0f1
2014-10-07 13:00:27 +00:00
Davanum Srinivas ffd9a6de0c Add docs target and generate api docs
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

Closes-Bug: #1364140

Change-Id: I5767e429e63935f055a6f4e82349224ccfa2f497
2014-09-04 21:32:18 -04:00
Arnaud Legendre 6c3e396961 Remove dependency on log.py from openstack/common
Importing oslo.vmware to another OpenStack project gives the
ArgsAlreadyParsedError: arguments already parsed: cannot register CLI
option exception.
This happens because openstack/common/log.py registers CLI options
after the project using oslo.vmware parses its configuration.

This patch addresses this issue by removing any dependency on
log.py, using logging from the standard python library instead.

Change-Id: Id2bddb8a7efc2a53399e2a2278dba4605da083d8
Closes-Bug: #1284837
2014-02-26 11:21:02 -08:00
Davanum Srinivas ac90aad85a Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00