Browse Source

create stable/ussuri

Change-Id: I2ef04db0d68a476d50ea413d3dde8ebefd4e37f5
changes/04/727904/4
Mark McClain 1 year ago
parent
commit
27d1190dab
  1. 1
      .gitreview
  2. 3
      lower-constraints.txt
  3. 6
      requirements.txt
  4. 7
      setup.cfg
  5. 18
      tox.ini

1
.gitreview

@ -2,3 +2,4 @@
host=review.opendev.org
port=29418
project=x/networking-arista.git
defaultbranch=stable/ussuri

3
lower-constraints.txt

@ -56,7 +56,8 @@ msgpack-python==0.4.0
munch==2.1.0
netaddr==0.7.18
netifaces==0.10.4
neutron-lib==2.0.0
neutron-lib==2.2.0
neutron==16.0.0
openstackdocstheme==1.30.0
openstacksdk==0.31.2
os-client-config==1.28.0

6
requirements.txt

@ -4,7 +4,7 @@
pbr>=4.0.0 # Apache-2.0
alembic>=0.8.10 # MIT
neutron-lib>=2.0.0 # Apache-2.0
neutron-lib>=2.2.0 # Apache-2.0
oslo.i18n>=3.15.3 # Apache-2.0
oslo.config>=5.2.0 # Apache-2.0
oslo.log>=3.36.0 # Apache-2.0
@ -14,10 +14,6 @@ requests>=2.14.2 # Apache-2.0
six>=1.10.0 # MIT
SQLAlchemy>=1.2.0 # MIT
# These repos are installed from git in OpenStack CI if the job
# configures them as required-projects
neutron # Apache-2.0
# The comment below indicates this project repo is current with neutron-lib
# and should receive neutron-lib consumption patches as they are released
# in neutron-lib. It also implies the project will stay current with TC

7
setup.cfg

@ -6,6 +6,7 @@ description-file =
author = Arista Networks
author-email = openstack-dev@arista.com
home-page = https://github.com/openstack/networking-arista/
python-requires = >=3.6
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@ -13,10 +14,10 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
[files]
packages =

18
tox.ini

@ -1,16 +1,19 @@
[tox]
envlist = py3-dev,pep8-dev
minversion = 2.0
minversion = 3.2.0
skipsdist = True
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ussuri}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
neutron>=16.0.0,<17.0.0
whitelist_externals =
find
commands =
@ -21,30 +24,26 @@ commands =
# https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
# note that order is important to ensure dependencies don't override
commands =
pip install -q -e "git+https://git.openstack.org/openstack/neutron#egg=neutron"
pip install -q -e "git+https://git.openstack.org/openstack/neutron.git@stable/ussuri#egg=neutron"
[testenv:py3-dev]
basepython = python3
commands =
{[testenv:dev]commands}
pip freeze
stestr run {posargs}
[testenv:debug]
basepython = python3
commands =
{[testenv:dev]commands}
pip freeze
oslo_debug_helper {posargs}
[testenv:pep8]
basepython = python3
commands =
flake8
neutron-db-manage --subproject networking-arista check_migration
[testenv:pep8-dev]
basepython = python3
commands =
{[testenv:dev]commands}
pip freeze
@ -52,11 +51,9 @@ commands =
neutron-db-manage --subproject networking-arista check_migration
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
commands =
find networking_arista -type f -name "*.pyc" -delete
stestr run {posargs}
@ -65,7 +62,6 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
[flake8]
@ -81,9 +77,9 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
import_exceptions = networking_arista._i18n
[testenv:lower-constraints]
basepython = python3
setenv = OS_TEST_TIMEOUT={env:OS_TEST_TIMEOUT:60}
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
neutron>=16.0.0,<17.0.0
Loading…
Cancel
Save