Bumped a bunch of constraints and requirements to fix
a gate failure with recent pip update.
Fix associated new warnings.
Change-Id: Ibc6f6025b89f2ac893471bf58794569804545b9d
New versions of isort broke pylint. This patch fixes it at 4.3.21.
Change-Id: Ie1b3b162e18090ae1cc90998b5a41d74b9ef2876
Depends-On: https://review.opendev.org/739469
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: I149947fb8597faafb21aeb073f9f09ad98dcd7c5
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Idfea423764768d5a35c8b5b8f73286cd4a19a974
The older version of pylint being used does not work
correctly under python 3. In order to be able to
update the pylint job to run under python 3,
we need to update the tool.
Aslo fix a couple of pylint issues:
- Fix import order issues.
- Fix 'no-else-return' checks.
Added the following to the blacklist:
- inconsistent-return-statements
- catching-non-exception
- using-constant-test
Change-Id: I91a304241ebdb4d6bd15509cae8463d7b43b3c0f
Signed-off-by: Chuck Short <chucks@redhat.com>
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I32db99af179412f46b02ced9eaf61049cbffcdb0
This patch is adding commands to manipulate the new Port_Group table
introduced in the OVN Northbound Database.
Four new commands are being added:
* pg_add() -> To add a new Port Group
* pg_del() -> To delete a Port Group
* pg_add_ports() -> To add a list of LSP to a Port Group
* pg_add_acls() -> To add a list of ACL to a Port Group
* pg_del_ports() -> To delete a list of LSP from a Port Group
* pg_del_acls() -> To delete a list of ACL from a Port Group
Change-Id: I9bae9a5681501d8e8a85c25ccb6d496d5b3f8681
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.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: Ic1f4de4b5f36cfe5bd5e578507e320918d1078f9
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>