Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami 00399e43e5 Bump hacking
hacking 3.0.x is too old.

Change-Id: Ia580fbe0e6667a8c124000a35eea9740c1d5361c
2024-01-27 23:01:37 +09:00
Takashi Kajinami d4701463a6 Cleanup setup.py and requirements
- Python 2 is no longer supported
- setup.py is no longer managed by the global tooling
- Recent pip does not require appropriate order in requirement files

Change-Id: I6e88a069b5cf5adeb129264642abbaf836a663d2
2024-01-12 17:49:22 +09:00
Gregory Thiemonge c6fb93a53d Fix lower-constraints
Change-Id: Id0c035fd8e83ad088520b264e2727fc1a42dd3e2
2021-01-22 19:19:01 +01:00
Brian Haley bf1824a8b2 Update test-requirements to match Octavia repo
pylint needed an update to be >=2.2.0 to fix a pep8 issue,
updated bandit requirement to match Octavia repo while
we're at it.

Had to fix some new errors pylint found as a result.

Change-Id: I7ebdd5eea537a8258f66b5e1bf2ee1aad3f8b10b
2020-07-16 10:15:29 -04:00
Ghanshyam Mann b993b5f43b Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I861f3305af18d112d51a1dc368a00e5fe763b788
2020-05-15 11:32:21 -05:00
Andreas Jaeger 7b52b7caa5 Update hacking for Python3
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
2020-03-31 06:46:44 +00:00
Michael Johnson c565e7b289 Remove the dependency on the "mock" package
Now that we are python3 only, we should move to using the built
in version of mock that supports all of our testing needs and
remove the dependency on the "mock" package.

This patch moves all references to "import mock" to
"from unittest import mock". It also cleans up some new line
inconsistency.

Change-Id: Ie7567134a7c0ffae525d0282773e4c90a3f2d62b
2020-03-13 10:34:47 -07:00
Thomas Bechtold e631497e7a Remove testtools from test-requirements.txt
It is not needed.

Change-Id: Ic3f3104f31452fc37abca66e6481be7c60cab01b
2019-03-20 15:29:58 +01:00
Carlos Goncalves 768465784c Add missing libraries to requirement files
Change-Id: I596d29bcadd409eb78bf1e456201bd5d616a6e84
2019-01-26 18:40:20 +01:00
Michael Johnson e55c7eccc9 Initial provider driver library checkin
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
2018-11-12 10:39:44 -08:00
Michael Johnson 5f833c77d2 Initial cookie-cutter commit for octavia-lib
Setting up the base repository for octavia-lib.

Change-Id: I023fe839b39d9d826425aeca5e0fd39dc9c38275
2018-10-12 14:03:43 -07:00