Because docutils 0.11 cannot be build anymore from source on python >=
3.8, and there is no wheel package available on pypi, we need to bump it
to version 0.12, since there is still wheel available.
Note, that 0.12 version also will fail building, since it pretty much
ancient - current version is 0.18.1.
Change-Id: I307f09e3c47d3d44084054979be5cb554fa33d60
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.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I54d3d778266d840bd724836018340d9bd3987844
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I26b9878515ea156a6b4bde14a64848621593d868
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Our hacking module is ancient and makes Python 3.6's f-strings to fail
PEP8 check. This commit bumps hacking to newer version and fixes
violations found by it.
Change-Id: If8769f7657676d71bcf84c08108e728836071425
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Idf2f91565f9205c745a7110be5bf81267bd3caf5
Signed-off-by: Chuck Short <chucks@redhat.com>
This makes tox use the latest version of the tool from os-testr repo,
which contains some valuable changes, like the one making the gate fail
if for some reason no tests are executed because all of them are
skipped.
Change-Id: If88be4b310d746ccc885e3d0c1db8a4dfabb2a28
This is a leftover from the Midokura PoC which in turn had it as a
leftover of the pre-split openstack/kuryr. Let's get rid of ths false
dependency since we'll use kubernetes-incubator/client-python anyway for
the purpose we used docker-py in the kuryr-libnetwork tests.
Change-Id: Ic15a24c3970455dd2f8e89daa396cdf7c58e774c
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: Ifd7d937e553eed9f72fdc31cddd6cef4c9be041a
The 0.13.1 release breaks some documentation jobs when it tries to build docs
with remote images. This has been reported upstream[0]. The version matches
the supported docutils versions for sphinx.
The requirements patch is here: [1]
[0] https://sourceforge.net/p/docutils/bugs/301/
[1] https://review.openstack.org/#/c/409529/
Change-Id: Ie82b943299a89d99aa70f3cc7139ecbb19b4b593
Adds basic K8s client implementation and CONF-based singletons for
both Neutron and K8s clients.
The K8s client added by this patch should be considered a temporary
solution that only implements the necessary parts to let us move
forward with kuryr-kubernetes. Eventually it will be replaced by either
[1] or [2].
The problem with [1] is that it does not yet support the streaming API
that we need for WATCH. And [2] is outside of the OSt umbrella, so [1]
is preferred over [2] unless [2] makes it into global-requirements.txt.
[1] https://github.com/openstack/python-k8sclient
[2] https://pypi.python.org/pypi/pykube
NOTE: Removed py3-related code from config and top-level __init__.
How to properly deal with that code is TBD.
Change-Id: Ib4eb410eaf9725c296fcdddd8857eb24b8929915
Partially-Implements: blueprint kuryr-k8s-integration