Commit Graph

28 Commits

Author SHA1 Message Date
Roman Dobosz 00a0701ef6 Bump docutils version on lower constraints.
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
2022-01-04 08:02:41 +01:00
Ghanshyam Mann 52577c497d 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.

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

Change-Id: I54d3d778266d840bd724836018340d9bd3987844
2020-05-13 10:24:05 +02:00
Sean McGinnis 5ee781f41c
Use unittest.mock instead of third party mock
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>
2020-04-18 11:53:51 -05:00
Michał Dulko 1045bcb02a Bump hacking to newer version
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
2020-02-21 12:02:58 +01:00
Chuck Short 055f31365e Switch to using stestr
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>
2018-07-16 15:43:10 +00:00
Nguyen Hai 085ad0a6cf Follow the new PTI for document build
REF:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

This also re-organizes index.rst

Change-Id: Ic2509e76d03c159cf40e84f6b5912fdabe826c8d
2018-06-04 02:13:43 +00:00
OpenStack Proposal Bot 7a73ca0496 Updated from global requirements
Change-Id: I03bd9ca6d9b3fcb48b83763b1ba6ceb5676e3276
2018-03-15 07:06:09 +00:00
OpenStack Proposal Bot ad72c97f6f Updated from global requirements
Change-Id: I5f60b4b366a9d12bc0fc0a1165f962aca9be39f8
2018-01-27 17:47:08 +00:00
OpenStack Proposal Bot e74debff62 Updated from global requirements
Change-Id: I5c19809d0188200a393506c380b6311751627768
2017-09-27 13:41:21 +00:00
OpenStack Proposal Bot ae22fe6ee5 Updated from global requirements
Change-Id: Ia180dc15524a8bf325954f6a97fd8c263b1aba0e
2017-08-24 05:51:17 +00:00
Kirill Zaitsev f63d3b24a8 Use openstackdocstheme over oslosphinx
This commit is part of general doc-migration effort. It replaces
oslosphinx with openstackdocstheme and marks docs warnings to be treated
as errors.

Kuryr projects do not seem to have any docs in the openstack-manuals, so
there are no docs we need to pull from that repo.
However being the official project kuryr would benefit from unifying
its docs with the rest of openstack projects as well as using
openstackdocstheme, theme intended for official projects
https://docs.openstack.org/openstackdocstheme/latest/

See https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
and https://etherpad.openstack.org/p/doc-migration-tracking for more
information

Change-Id: I1fc7decf5fb247a2832d8b89d79231cb4e4be039
2017-07-03 14:42:20 +03:00
OpenStack Proposal Bot de7c47a90c Updated from global requirements
Change-Id: I374165d8682951f9783c1f81b0ffdab3dc331156
2017-06-29 02:19:39 +00:00
OpenStack Proposal Bot 1e2a4af65d Updated from global requirements
Change-Id: I49fb755006365d8630bde1848ce4bf35ae8a1d51
2017-05-25 12:52:17 +00:00
Ihar Hrachyshka 5d232b3b74 Remove subunit-trace fork
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
2017-04-06 11:46:04 -07:00
OpenStack Proposal Bot 3d58376b20 Updated from global requirements
Change-Id: Ief73cee711353c1a75e667df56b04b84803be7fd
2017-03-28 21:30:02 +00:00
Jenkins 0cfc30a782 Merge "[Fix gate]Update test requirement" 2017-03-16 12:14:24 +00:00
Jenkins 71ff10fb7f Merge "test-requirements drop unused docker-py" 2017-03-15 18:20:12 +00:00
Antoni Segura Puimedon c58b064369
test-requirements drop unused docker-py
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>
2017-03-08 00:46:09 +01:00
ricolin 2f4adea6c4 [Fix gate]Update test requirement
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
2017-03-02 17:26:11 +08:00
Luis Tomas Bolivar b3df290675 Add ddt to test-requirements
Change-Id: Ib916419e97b7fd5ea7e5f9f306c0e2b8e1fe2a4a
2017-02-21 10:46:02 -05:00
OpenStack Proposal Bot 4214037855 Updated from global requirements
Change-Id: If0c3e2b5aff2f7107aeea65cfae7f006ff65ad56
2017-02-11 17:43:48 +00:00
OpenStack Proposal Bot 43d9730e9d Updated from global requirements
Change-Id: If81b7606373a423a2286b3002c617c1ae18f378a
2017-01-16 16:44:21 +00:00
Dongcan Ye 1d25da9008 Update requirements
Remove oslo.i18n and ddt from requirements and test-requirements.

Change-Id: Id3db0ac4d9fdd57f631e2bc4b40dc9f0d3885917
2017-01-12 13:21:29 +08:00
OpenStack Proposal Bot b1da475537 Updated from global requirements
Change-Id: I481cf37adb5b34389bf29f27eeb92b4e15a4233c
2016-12-16 13:40:39 +00:00
Irena Berezovsky 7c03b7f290 Pin docutils version
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
2016-12-12 11:38:26 +02:00
OpenStack Proposal Bot 47880b1abf Updated from global requirements
Change-Id: Ib361081a8545f343d28a1ec1b77994c8126f9893
2016-12-07 13:20:25 +00:00
Ilya Chukhnakov d68a97fe47 K8s and Neutron clients support
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
2016-10-03 16:07:03 +00:00
Gal Sagie 04a95048a4 cookiecutter commit for kuryr-kubernetes
Change-Id: Ie6bb10929397918420481a1063cc1187c0951981
2016-05-22 08:54:07 +03:00