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
This library has been used by multiple OpenStack projects for a while
so we can assume this is not mature.
Change-Id: I7320777228d103f5a28755d10c493d144b24e6a0
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
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
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
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>
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: I32d60d364e6e2d586a98759bc51f004bcf942682
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
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
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
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
* 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
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
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
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
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
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