hacking 3.0.x is too old.
Try to synchronize pylint ignore and extension list with
other Networking projects.
With new pip the order of packages is not relevant, so the
related comment from requirements.txts is removed, see pip
documentation:
https://pip.pypa.io/en/stable/cli/pip_install/#installation-order
Change-Id: I586eb25b42d432e0b2158ddebb2dac013f712506
Make the code compatible with hacking rules:
* import order problems
* line break before/after binary operator (for this added ignore for
W504, line break after binary operator
* indentation problems
I removed the rule N530 (Direct neutron imports not allowed), as that is
a longer story.
Fix mysql syntax in tools/test-setup.sh
Fix constraints files for testing on focal
Change-Id: Iacb12d5add773404468e2b755cf95c4e6e54ec99
Depends-On: https://review.opendev.org/#/c/708965/
Depends-On: https://review.opendev.org/752416
Since neutron-lib changed to python3 only (see [0]) it's time to remove
python2 jobs for tap-as-a-service.
[0]: https://review.opendev.org/702098
Change-Id: I4a8b016377805d6f304c08baee2ef7e161697112
Adding oslo.policy allows operators to use and customize RBAC for tap-as-a-service instead of
relying on Neutron's default policy.
Change-Id: I6132054ef3bd8423990f91fae6329dfd089660b4
This commit includes the following unrelated changes
to pass the gate.
----------------------------------------
Update sphinx requirements
After the recent change in the global requirements. [1]
[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c
Closes-Bug: #1829138
Change-Id: Ic43783255091b77030983d5de0011b9bf4c3a486
----------------------------------------
Closes-Bug: #1829121
Change-Id: I06848d68f8e21880f05c003c2aa444f04dea2ef8
We recently removed nenutron.common.rpc [1] as the rpc module lives in
neutron-lib now. This project was missed because I didn't find
neutron.common.rpc as an import.
This patch switches rpc uses over to neutron-lib.
[1] https://review.openstack.org/#/c/634790/
This commit includes a part of the following commit
to pass the gate.
----------------------------------------
Fix zuul job failures
Fix zuul job failures
Change-Id: I1d073b8c58e32669ecf6932512b94c8a2cabf70e
----------------------------------------
Co-Authored-By: Deepak Tiwari <deepak.tiwari@aricent.com>
Change-Id: I053b5c56594e1a914143a2308fef77349dfa7ea4
This patch adds local tox targets for pep8 and python 3 as per [1]
that will install dependencies in editable mode.
To run them use the pep8-dev and py3-dev targets respectively.
[1] https://etherpad.openstack.org/p/neutron-sibling-setup
Change-Id: I22e4ddc1d9a2e82bfb13302caf5be948607bb722
Update after the removal of _setUpExtension. [1]
[1] I8135fc4eb05e474db7224b7771b71270a93a47bf
This commit includes the following unrelated change
to pass the gate.
----------------------------------------
Fix cover job
Copy-and-paste from networking-midonet.
Closes-Bug: #1794509
Change-Id: I5ae3be917deb94673928a236662f953e4cd143ac
----------------------------------------
Closes-Bug: #1794457
Change-Id: Ia4d84c7f0dcea44e3131dd756853c003e9c8471d
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
Modify lower-constraints.txt so that it matches the settings in the
requirements files.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I7f8b14b5238cf92002d507104c8506e6a1c895dd
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.
Update tox.ini for this change and add neutron to requirements file.
This commit includes the following unrelated changes
to pass the gate.
----------------------------------------
devstack: Use setup_develop to install
As this project is in the global requirements now,
we need to edit the constraints.
Change-Id: I44e05b4e7b6f1c15314799c4a1e8c22f79abb74a
----------------------------------------
Update after rpc create_connection removal
Recently neutron.common.rpc.create_connection has been removed. [1]
[1] I2f4b24ba732be47fc9911be1e24406fb1ffe821e
Closes-Bug: #1770851
Change-Id: Ie83299b7a280dab0d5dc9dc3304b5d6091b4a0cc
----------------------------------------
Co-Authored-By: YAMAMOTO Takashi <yamamoto@midokura.com>
Change-Id: Ifffca6361b1c3991481442053bf182bde3c2d44a
Copied from neutron change [1] via networking-midonet.
The threshold value is a bit arbitrarily chosen, considering
the current coverage which is about 51%.
[1] Ia30116fff8b834486bde93c329543fce15be429f
Change-Id: Id7478534553e072b6c500540481ebf220a30c0d5
We support py35 now.We do not have python 3.4 in setup.cfg which
declares the explicit
supported versions.so it is no need to keep the supoort for py34.
see:https://review.openstack.org/#/c/349069/
Change-Id: I1a37b49bf15906578d098620a972899f3b9d48dc
Many deprecations are triggered early (on imports, for example)
before the warnings are enabled by the WarningsFixture in the
base test class.
To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable.
Change-Id: I64485da329b9ac8915675885783ffd5b2bf81ea6
Bring the sqlalchemy models in sync with the alembic migrations.
Add the neutron standard model-migration sync test. The test is added
to the unit test env since TaaS does not have a functional job
yet. This requires that TaaS uses the python-db-jobs template in the
gate.
Change-Id: Id7e0d53d0a600b39bbaf9ef0555e0d9b45459b8a
Related-bug: #1605675
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I9ec09684fccf532084ac0a5acfeeb6e5cb0ae72c
Add alembic migration branch for tap-as-a-service repo. Scripts
for new tables owned by TaaS must now be added here.
Also adds PEP8 changes to check migration branch points.
Closes-Bug: #1583889
Change-Id: I6d03090c3c90bf7d05eddafa5ac7e502cc13cfe8
Because python creates pyc/pyo files during tox runs, certain
changes in the tree, like deletes of files, or switching
branches, can create spurious errors.
This patch removes these unrequired files when tox
starts execution, along with the __pycache__ folder for
py3* compilation.
Change-Id: Iea5f19ab8a4d56dedaa8c3a3950af041d3ff5b9f
Closes-Bug: #1368661
By default, testr assumes that the name of distribution
([metadata]name in setup.cfg) matches the name of the source directory.
However, they are different for this project. Fix the problem by
giving the source directory explicitly via an option provided by pbr.
Closes-Bug: #1502002
Change-Id: Ib17d53230e5a36a028438c0f2919f07c6013bfe2