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: I23a4ca2630bf841a011931b794b04ca3e2fefa03
Update Python base version from 3.6 to 3.8. For Zed the minimum
Python runtime versions are Python 3.8 and 3.9 [1]. As a third
Python version I also added 3.10 already.
Removed ThreadedHTTPServer and replaced it with ThreadingHTTPServer from
standard library, which is new in Python 3.7.
[1]: https://governance.openstack.org/tc/reference/runtimes/zed.html
Depends-on: https://review.opendev.org/c/openstack/octavia/+/839604
Change-Id: I4f0d640879da5afaa4694484ad4c52f25445a8ae
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: Ica2651a3d83008e9637dedc20aa4a7d015ed76c3
This takes care of the last details for dropping py27
support by adding a proper min version of python in setup.cfg.
Change-Id: Ia4e3519f99d9d1bc68d70b1f21173b0b2ec187c1
Since it's no longer supported past Train, let's stop
running the tests.
Co-authored-by: Ajay Kumar <ajay.k@india.nec.com>
Change-Id: If81d0a45c423c173aa3c40dd2cfce37462dbf900
The TC has decided that python 3.5 tests are not required for Train
forward[1]. This patch removes the python 3.5 jobs from octavia-lib.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/ \
005097.html
Change-Id: Ice875dde4eeb82962f3c635cb312f157d9a8331a
Both files are already in the sdist tarball. There is no need to
install the files into (possibly) wrong locations for different distros.
Change-Id: I0c6e985d08acb96043b4cbb59fe964f5cd67480a
This patch corrects some python3 byte string issues in the driver
library callbacks.
It also corrects an issue where multiple update calls may cause a
bad file descriptor error.
Change-Id: I3a03f2d8e65d48fe3791611486cb5da4961335b6