| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch bumps bandit allowed version to >=1.6.0,<1.7.0 in order to
avoid the errors detailed here https://github.com/PyCQA/bandit/pull/393
Change-Id: I44f0b485266d6a03d12953f3f45e476ba821a00c
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Change-Id: I9525eda24465bdedb9ae917350263fa91e9b780a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Related to:
- https://review.opendev.org/#/c/723044/
- https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Change-Id: I0e4bca478301e9aba4a6a22b8d8a5bdc6aa2224f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Starting from mysql version 8 it's not possible to create a user
implictly when using GRANT.
This patch makes the behavior compatible with that.
Change-Id: I42912629daaca44250270fca8d9534b801e95d7b
Co-written-by: Riccardo Pittau <elfosardo@gmail.com>
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SQLAlchemy will be defaulting create_constraint to
False in an upcoming major release [1]. As this
test relies upon the CHECK constraint being present,
set create_constraint to True.
[1] https://github.com/sqlalchemy/sqlalchemy/issues/5367
Change-Id: Ie822172ef797dc1bf8050d9b5cabe6782120ea45
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
New theme of docs respects pygments_style.
more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I572495d50e0edc8bdfe22594dcde30a61b0750b8
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I4674616e3adda12f67ed143c23363a7e58f71caa
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I33fc3e2579887e051ed5f47ebf96dcefc2bd8b49
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
as they are not actually used in tests (other than pep8).
more info: https://github.com/openstack/requirements/blob/master/blacklist.txt
Change-Id: I01944ebdbf6311580f8991da61256e93be6823b3
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
These translation sections are not needed anymore, Babel can
generate translation files without them.
Change-Id: I8d86954ea4cb02f03ad8477e8380a9edaef3440b
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Switch to openstackdocstheme 2.2.0 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.
openstackdocstheme renames some variables, so follow the renames. A
couple of variables are also not needed anymore, remove them.
Depends-On: https://review.opendev.org/728938
Change-Id: I072cf215486d672eacd3a57483cb2b311483c844
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.
This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.
Change-Id: Id0107e9cdabbc1435c709641b93cb5c90cdf6907
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: I2826ded6a4be7507fc61e68fe6d9204682382252
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The table.count() function in SQLAlchemy has been deprecated
since version 1.1 [1] and is being removed in version 1.4 [2] [3].
In order to maintain forwards compatibility as well as
suit SQLAlchemy's CI that includes oslo.db, replace this
one usage with modern use of func.count() as well as
explicit connection execution (engine.execute() is also
going away more long term).
[1] https://docs.sqlalchemy.org/en/13/core/selectable.html?highlight=fromclause%20count#sqlalchemy.sql.expression.FromClause.count
[2] https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/1833
[3] https://github.com/sqlalchemy/sqlalchemy/issues/4643
Change-Id: I2e4b9082194df6d916000c4f8f179f05d606e1a3
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | | |
Change-Id: Icea747aff5fe51b96c70d263fa0f0e2e9c5ab917
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|/ /
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I92a2105bb57e96c32f203cf53534eacea524b597
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I825ac5714b9360cc74881dd0b9e97ef664081734
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I66ca1c9807ffb434bbc9bb35d3904e61b8ec3750
Sem-Ver: feature
|
|/
|
|
|
|
|
|
| |
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: I3e1e5ed4e72837d45b78e5ccb9ce8cca416e5c11
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
blacklist:
W504 line break after binary operator
Fix:
E305 expected 2 blank lines after class or function definition, found 1
Change-Id: I56d62f67914f07e7aef74f857c4b42e3bfd3416e
|
|
|
|
|
|
|
|
|
| |
Nothing appears to be using this, based on codesearch.o.o, and it's
useless. Drop it.
Change-Id: I9ce39e69a6fdb2e216da9fd903b5dc8aa7eaab80
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Sem-Ver: api-break
|
|
|
|
|
|
|
| |
No need for this in a Python 3-only world.
Change-Id: I8923f2b87c1bd114b8c55210100c7485a0de8f28
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
|
|
| |
We don't need it anymore. Drop references to it.
Change-Id: Icade65ce11f4dbbf2d2f903985cea941cb7e8cf7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Per [1], this is the latest supported version of SQLAlchemy. 1.1.x and
earlier are EOL.
[1] https://www.sqlalchemy.org/download.html#relstatus
Change-Id: I63e4baf772be9ddfb787ac3aff01fcaddf7b901c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
pbr has generated these for some time.
Change-Id: I93ff365c90b5ca953937311f69650e89adc65935
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I7bbab4f96391828d0b0e095a152bdacca6585e3c
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Change-Id: I4245e31483865766c20443a79165f7d98bb5348a
|
|/ /
| |
| |
| | |
Change-Id: Ic9424cf4e908edd794f2b7c1f6e3dd4316b6362c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
OpenStack is dropping the py2.7 support in Ussuri cycle.
Complete discussion & schedule can be found in
-
http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Change-Id: I02e2d11d38d2aa4182e8d466519b99f05943701f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
unittest2 was needed for Python versions <= 2.6, so it has not been
needed for quite some time now. See unittest2 note on:
https://docs.python.org/2.7/library/unittest.html
This drops unittest2 in favor of the standard unittest package.
Change-Id: I40882f14ff2ac121764b432fc745b21ae751e321
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
move 'basepython' to the top-level 'testenv'
Change-Id: I37c608d9da6bffe2f24e0e1fbeb4e8d350089850
|
|/ /
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I68d368e2e1d3eb5f0fc608b79f242a6b680570e1
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is pretty ugly to look at, but essentially I've gone and replaced
all occurences of
foo.bar(call_arg).AndReturn(return_arg)
with a mock of 'foo', followed by:
mock_foo.return_value = return_arg
<call>
mock_foo.assert_call_once_with(call_arg)
Or 'side_effect'/'assert_has_calls' for functions that are called
multiple times.
Change-Id: I8960368d56604315d271aa958c5c6c361e512918
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|/
|
|
| |
Change-Id: Icb2c88dc18843cbf2f5be08d635d5ba10f36f360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SQLAlchemy 1.4 will be changing the method by which it
renders an IN expression such that the bound parameters
are not fully rendered until the statement is executed,
rather than when the statement is compiled into its initial
string form [1]. Adjust tests which are asserting the presence
of IN expressions based on the compiled form to allow for an
arbitrary expression within the parenthesis.
[1] https://github.com/sqlalchemy/sqlalchemy/issues/4645
Change-Id: I8640ad0cbd96647ed74678631479190146bd908e
|