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
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
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
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
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>
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
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
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
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
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
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
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
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
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
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
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
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>
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
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
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