Commit Graph

33 Commits

Author SHA1 Message Date
Ghanshyam Mann 5d842eba59 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: I6c5afa34b7ebd5de17e6b6863547dcf7bbe6ebc9
2024-01-11 16:37:01 -08:00
Ghanshyam 6a1bc5b477 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 1f04434c62.

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: I5fe3a79a7521025c214968adc20e40e388db2a7b
2023-05-04 20:21:04 +00:00
Hervé Beraud 1f04434c62 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: I4f60aa523fc7d2b284086a28c1cdb1ff85a1860f
2023-04-10 01:54:58 +00:00
Hervé Beraud 927c867c5d 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: If6fe6ac606052aad42ee5648efa9dcc4a482d09f
2022-05-05 16:22:27 +02:00
YuehuiLei d4b189682c 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: Id0c81ac91849d1d8dc661df73fe96d16d28b783a
2021-05-04 10:44:43 +08:00
Sean McGinnis bc625c7154
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: Ia72c3b021f57798a22a0b8b947eb192e045890a5
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:14 -05:00
Andreas Jaeger 4d45f96942 [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

Update docs building to use modern sphinx-build.
Update to use apidoc for newer sphinx.
Remove cruft from setup.cfg and doc/source.conf.py

Change-Id: I6a0643fcf8e28e09b1c69cda98dc53c71e6c508d
2020-02-03 20:37:28 +01:00
Corey Bryant 7ad16dea56 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: Iab320e15df4d9922ad96780dcfc16c7045325cfc
Story: #2005924
Task: #34234
2019-07-05 15:03:03 -04:00
Ghanshyam Mann d10fe40064 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: Id9a516dc3e748f66278875f22c606a9f7acf41d9
2019-04-16 04:05:57 +00:00
melissaml 4ab7f767a9 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I1d4fa86ad7280474c5a2c145e33b5aa2f32b1a4a
2018-12-04 19:14:07 +08:00
ChangBo Guo(gcb) 491d9ca9c4 Update URLs in documents according to document migration
Change-Id: Ia9928446bdacdc3ac9d02a1d004c3f67c01f78a6
2017-07-18 07:32:45 +00:00
ChangBo Guo(gcb) 61d067b037 rearrange content to fit the new standard layout
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Change-Id: Ic1cf3f4b0510d18961d3d15d7776aeeebb071193
2017-07-17 09:39:30 +00:00
Vu Cong Tuan 135beb297c 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: I573c0e7105678e09581c6d40b86c8a3102c8d882
2017-06-12 08:48:43 +07:00
kavithahr 30c4c81b34 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: Idc263504b68bc909fe7c6cd983c27c1fcc384c16
2017-03-09 05:52:01 +00:00
melissaml 71cd7b139d Changed the home-page link
Set the correct link for home-page.

Change-Id: Ia2a6e2506d38bcd05b0d79797793d56b109e5a74
2016-10-16 21:34:27 +08:00
ChangBo Guo(gcb) 7bff0fc012 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: Ifd6a17b8e250f7ff8e36e972e175099044d7146e
2016-07-12 16:59:39 +08:00
ChangBo Guo(gcb) aa4dfd2f4f 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: I5fc83f5b61c13cfedaf75f95037c7ff78005c6a6
2015-11-17 15:35:11 +08:00
Jenkins 024308eca1 Merge "Fix the home-page with Oslotest wikipage" 2015-09-25 19:30:35 +00:00
Doug Hellmann e265141db8 auto-generate API documentation
Tell pbr to automatically generate the API documentation and remove the
hand-curated file doing the same. Move the new API documentation section
to a separate toctree to allow us to only show one level of nodes in the
table of contents.

Change-Id: I8edd36090688a607685d5708f99a78fd235defed
2015-09-25 14:07:46 +00:00
venkatamahesh 99c1404c85 Fix the home-page with Oslotest wikipage
The current value of home-page in setup.cfg file
is launchpad url and is not relevant, so replaced with
oslotest wiki page

Change-Id: Id54400eb1d6a0c697253c8161fe3eff7dccc8344
2015-09-25 14:38:53 +05:30
Monty Taylor 1c0863f086 Remove unneeded runtime pbr dep
It's not used at runtime. Also, the setup_hook is no longer needed.

Change-Id: I760b6b19207b5ac22b36feeed05d68e07b6fe880
2015-05-14 19:58:46 -07:00
Davanum Srinivas f8a5a3c935 Advertise support for Python3.4 / Remove support for Python 3.3
Change-Id: Ib2e132a2d74c2f2e8a2f6ef4da38bfd1f1ea21f8
2015-05-10 19:24:38 -04:00
Steve Martinelli 1542d8c6e7 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: I72585d8a77e51cd55ca73ae381e89be18600529f
2015-04-04 02:39:46 -04:00
Doug Hellmann c69ddb9396 Move the script for running pre-releases into oslotest
Rather than maintaining the pre-release runner in oslo-incubator, put it
in oslotest where it can be installed with the rest of the library.

Change-Id: Idd58bfe3950d01725e239608f263dab5a0c9c908
2015-01-30 15:03:09 -05:00
Doug Hellmann e50b8b390e Publish cross-test runner as part of oslotest
Move the latest version of run_cross_test.sh from the incubator here to
oslotest and rename it so we can publish it as a tool that comes with
oslotest instead of syncing it into the other projects.

Change-Id: I1aec3bda9e46b1667cfd7b68aa2d654327d1c8fb
2015-01-30 12:15:19 -05:00
Steve Martinelli b2f8b9dd9b Drop .sh extension from oslo_debug_helper.sh
To be compliant with Debian policy on naming binary files, the
shell file should not have a .sh extension.

Change-Id: I4549c6942b1367c7e490e48ed275ff6a3bcddfa5
Closes-Bug: #1370488
2014-09-18 21:42:32 -04:00
Yuriy Taraday 0e07c5e293 Remove differences between Python 2.x and 3.x versions
We had these differences in requirements:
- mox in 2.x vs mox3 in 3.x: mox3 works for 2.x as well, so use it
  everywhere, mox3 version bumped to match global-requirements;
- mock in 2.x, absent in 3.x (in stdlib): it's installable on 3.x, so we
  can leave it in requirements;
- six in 2.x, absent in 3.x: is directly required by this lib, has been
  installed indirectly through hacking.

test-requirements files were identical.

This change allows us to build universal wheels and avoid confusion, see ML:
http://lists.openstack.org/pipermail/openstack-dev/2014-September/044663.html

Change-Id: I8bd2d561bf966c6dc1394a7d29d26f056d162fa9
2014-09-03 13:32:36 +04:00
Steve Martinelli b371ea2373 Add pdb support to tox with debug helper shell script
The Keystone team has been using a home brewed `debug_helper.sh`
file to run tests with pdb support, it's now being also used by
pycadf too. As noted by bnemec [1] we should move this to oslo.
[1] https://bugs.launchpad.net/pycadf/+bug/1354192

To run any test in particular, run tox with -e debug:
  `tox -e debug`

It also supports passing in a specific test module, class or case.
The shell file runs testtools underneath the covers to get pdb
support.

Change-Id: Idb715bc137459a2f6d16ac3f65c718a567df49ff
Co-Authored-By: Brant Knudson <bknudson@us.ibm.com>
2014-08-25 12:36:02 -04:00
Doug Hellmann aec9e529fd Add API documentation
Add docstrings and sphinx structure to expose them through the developer
docs for the library.

Also add a 'docs' target in tox.ini to make building the documentation
locally easier.

Remove the nearly useless usage.rst file.

Turn on the pbr flag to treat doc build warnings as errors.

Closes-bug: #1329952

Change-Id: I274a4144edf4efe9ed786e220e40003fda6f99e0
2014-06-23 08:18:21 -07:00
Doug Hellmann 16c319eda8 Rename oslo.test to oslotest
The testing strategy for this library has changed, and so it
will not be installed via devstack like the other oslo libraries.
That means we don't want it in the oslo namespace package,
to avoid issues like bug 1277168.

Change-Id: I3ca1104663d0c89a351f4cc830414b41bb23fa29
2014-02-18 07:17:31 -08:00
Mark McLoughlin 99d853460b Remove translations infrastructure 2014-02-14 14:34:10 +00:00
Doug Hellmann 40b1d4c690 apply oslo-cookiecutter
Change-Id: I5da6b3ae5769255c27c9e549940a3214f8c53bb4
2014-01-31 15:42:43 -08:00
Doug Hellmann 05dc2d8695 Add packaging and test control files
Need to move the tests back outside of the oslo.test package
because testr complains about importing them from the
wrong place if we don't.

Change-Id: If8e0521dc345f8941f9c7116477549291cf600d2
2014-01-30 13:59:42 -08:00