tox.ini started failing with Tox4 which had some
incompatible changes. One is passenv where we need
to pass each value in newline otherwise, it fails with
error:
failed with pass_env values cannot contain whitespace,
use comma to have multiple values in a single line,
invalid values found.....
Other failure is due to the skipsdist = True.
Fixing tox.ini for tox4 changes.
Change-Id: Ib1e58d792ff12d3c3b72a001e04fa9b8c62d1ef8
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
Update tox config to include upper-constraints as dependencies. This
resolves issues with building PDF docs.
New pylint 2.9.0 provides some new checkers and detects new errors with
existing checkers:
- consider-using-dict-items
Similar change was done in Octavia repo already.
Change-Id: I48106513291263a7f754cfe7f9edc3703f8fbb7a
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Change-Id: If11b38493aacc7b888a6b64bf50c1a2782efd9ae
Do not specify posargs on flake8 line in pep8 section, as it
breaks using 'tox -e pep8 HEAD~1' to check just code changed
in current change. While here change to match octavia tree
regarding enabled extensions.
Also fixed basepython warning now generated after removing
python2 code.
Trivialfix
Change-Id: Ib4326a1947845a229418b6b4213efc9f2bb12b32
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
This patch cleans up the octavia-lib documentation and removes an
unused requirement for oslo.log.
Change-Id: I4ddcb51fcfb976e825cd204d5f4f561d60ee0455
The requirements team has defined a new strategy for handling
upper constraints[1]. This patch applies those strategies to
Octavia-lib.
[1] http://lists.openstack.org/pipermail/openstack-discuss/ \
2019-May/006478.html
Change-Id: I573d10820fdf8e4ce74393b2eaef3cad87667e8e
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
This patch is the inital move of the provider driver modules from
Octavia to octavia-lib.
This patch also moves the required constants and makes them available
to the provider drivers.
Change-Id: I7c1b5d7ae59ce8971d21db225174095f8b5919ce