Commit Graph

24 Commits

Author SHA1 Message Date
Takashi Kajinami 5c41f9f700 Fix missing or unnecessary dependencies
This fixes the following problems with current requirements and test
requirements.

- netaddr is not used

- oslo.serialization and oslo.utils are imported but are not listed in
  requirements.

This also fixes the workaround for python 2 from setup.py because
python 2 support was removed some time ago.

In addition, the described behavior of pip was already fixed in
recent versions.

Change-Id: I63a56adf73c221c8f5f725c2689ddf953f90c654
2024-02-19 10:40:44 +09:00
Sean Mooney b0298b5350 adapt to stestr 4.0 release
This change removes usage of --black-regex which is no longer supported
as of stestr 4.0.0. The min version of stestr is increased to 3.1.0
which adds --exclude-regex as a replacement.

Change-Id: I24424aeeb178fd9ab1b736cb689a73f7bd8bd572
2022-10-12 12:09:27 +01:00
Stephen Finucane 44d8937148 Resolve dependency issues
This is totally broken with the pip 20.3 resolver. Attempts to fix the
lower-constraints file manually didn't work out, so start specifying
only the direct dependencies here, relying on upper-constraints for the
given release to restrict everything else.

Two dependencies, python-subunit and testrepository, are removed as
these are no longer necessary. Another, hacking, is moved to 'tox.ini'
since we're not managing this via the u-c system and don't need this
here.

Change-Id: I4bdc0d422813ecee1566256ec237d34f200406ee
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-02-10 15:47:11 +00:00
wu.shiming 0aa1ac3859 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: I2155491aa65b11c36e0f2f7f0b53b405fb2b387a
2020-11-20 01:38:59 +00:00
Andreas Jaeger d57a5f39ed Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Change-Id: I8d4a0fc1b7c4e0c1e474a707aa900d09181ba11f
2020-03-31 06:44:56 +00:00
Thomas Bechtold 96e08ca73f Drop testtools from test-requirements.txt
It is not needed.

Change-Id: I19073d0fbb0a0612f287dfdb4199efe93e5fdf18
2019-03-25 05:46:28 +01:00
Rodolfo Alonso Hernandez 1546d349b1 Add native implementation OVSDB API
Added native implementation OVSDB API. Both APIs may be enabled
via configuration file. The default one is the CLI vsctl.

A new configuration variable, ``ovsdb_connection``, is added to
define the connection string for the OVSDB backend.

Added functional tests to vif_plug_ovs. This commit also includes
the base functions to execute functional tests and a set of them
to test the OVSDB APIs: native and ovs-vsctl.

Closes-Bug: #1666917
Change-Id: I86fbf8c67572e51889eb091d7bff7f9350b52481
2019-02-26 18:15:14 +00:00
ZhijunWei 751f519358 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: Ic5014f443b9093d6168c824ad66151cd1c489b74
2019-01-07 11:04:24 +08:00
Sean Mooney 9679783616 convert os-vif docs to follow PTI
- This change converts os-vif to use
  sphinx-build and doc/requirements.txt to
  be inline with new PTI requirements.
- This change tests docs requirements as part
  of the lower-constraints env.

Change-Id: Ic136941a17f90d6a6a8432fec96f8612c4bca8a2
2018-07-18 08:24:37 +00:00
Rodolfo Alonso Hernandez dff9093ab6 Migrate from 'ip' commands to 'pyroute2'
This patch migrates the use of command line 'ip' commands
to pyroute2 library. A new class, 'IpCommand', is created
to wrap the use of the library, implementing the functionalities
needed in this project.

The new wrapper class is defined in 'os_vif' and is used in
'vif_plug_linux_bridge' and 'vif_plug_ovs'.

This patch also adds functional tests in 'os_vif'. The aim
of these functional tests is to check 'pyroute2' implementation
works correctly, by creating, modifying and deleting network
interfaces. 'ip' commands are used to execute additional actions,
not relying on the tested library to check its own results.

Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>

Closes-Bug: #1677238
Change-Id: I18f7b3424a6c447ee89df1f0326ece75f2333bf2
2018-01-08 10:17:42 +00:00
OpenStack Proposal Bot 23c71e083a Updated from global requirements
Change-Id: Ie3c6a4fe12abe7d4aa9c6afaf1b5d719bb646a3c
2017-11-29 09:13:58 +00:00
OpenStack Proposal Bot 65b7519394 Updated from global requirements
Change-Id: I558c44773e68e2aa67eb3adff4ee9b70039ebe86
2017-09-21 13:09:29 +00:00
OpenStack Proposal Bot 45fa6633d8 Updated from global requirements
Change-Id: Ibcd618730acd85da827377b9aeca42fc62096f4b
2017-08-24 05:58:11 +00:00
Stephen Finucane ebe112f426 doc: Switch from oslosphinx to openstackdocstheme
Change-Id: Ifd8a56e971781aea41ec34814a1de9a94f1df841
2017-07-04 10:25:05 +01:00
OpenStack Proposal Bot 6a9017d1dc Updated from global requirements
Change-Id: Ie247455b5e85617849c1628480f9e79d9fd5c5aa
2017-06-27 12:19:44 +00:00
OpenStack Proposal Bot 19af4386de Updated from global requirements
Change-Id: Id94267516d1d2e7cead85db4afeb349a5c2c3251
2017-05-17 03:56:14 +00:00
OpenStack Proposal Bot 94fb151615 Updated from global requirements
Change-Id: I450fb1a06524232856b5ed15955f3c75d762f05d
2017-03-10 19:12:21 +00:00
OpenStack Proposal Bot c609d71d54 Updated from global requirements
Change-Id: If30501784dbdbf37607538dd60e36aaaa97a6af3
2016-11-02 15:38:51 +00:00
Jenkins bdaa83f9f8 Merge "Remove discover from test-requirements" 2016-08-01 11:35:10 +00:00
Swapnil Kulkarni (coolsvap) 071a63a4cd Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I1773c819a7fa952ba8e133f4f507ee4f16544ec9
2016-07-21 07:21:58 +00:00
OpenStack Proposal Bot 4da0ab185a Updated from global requirements
Change-Id: I305125adb684fd730f911548bc24061f98f3cfa8
2016-06-24 17:10:19 +00:00
OpenStack Proposal Bot 8354942463 Updated from global requirements
Change-Id: I7341694acfda0bc10663b7458fde457b495cb452
2016-05-23 12:03:15 +00:00
Daniel P. Berrange e5227ecbc0 Start using reno for release notes
Depends-on: I7174325294ba3cc978cbb1cff738b4b979adf9fb
Change-Id: Idc50dd5d408c67367256fb10efef5e772ffa83b1
2016-05-03 13:53:29 +01:00
Jay Pipes 8023f33453 Import of code from https://github.com/jaypipes/os_vif
Initial commit using code imported from

  https://github.com/jaypipes/os_vif

This patch also includes the following fixes to make the import pass all
jenkins jobs:
 - add doc/source/conf.py and index.rst
 - sync with global requirements

Change-Id: Iac6a9d45ea799eaa71f895af115e966c28246a22
2016-01-13 12:56:01 -05:00