summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix hacking min version to 3.0.1"8.2.0Zuul2020-05-261-1/+1
|\
| * Fix hacking min version to 3.0.1zhangboye2020-05-221-1/+1
| | | | | | | | Change-Id: I4674616e3adda12f67ed143c23363a7e58f71caa
* | Merge "Add release notes links to doc index"Zuul2020-05-261-0/+6
|\ \
| * | Add release notes links to doc indexHervé Beraud2020-04-161-0/+6
| | | | | | | | | | | | Change-Id: I33fc3e2579887e051ed5f47ebf96dcefc2bd8b49
* | | Merge "Remove the unused coding style modules"Zuul2020-05-261-5/+0
|\ \ \
| * | | Remove the unused coding style modulesjacky062020-05-151-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Remove translation sections from setup.cfg"Zuul2020-05-222-15/+0
|\ \ \ \ | |_|_|/ |/| | |
| * | | Remove translation sections from setup.cfgmelissaml2020-05-152-15/+0
| |/ / | | | | | | | | | | | | | | | | | | These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: I8d86954ea4cb02f03ad8477e8380a9edaef3440b
* | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-183-10/+9
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Bump default tox env from py37 to py38"Zuul2020-04-291-1/+1
|\ \
| * | Bump default tox env from py37 to py38Sean McGinnis2020-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Add py38 package metadataSean McGinnis2020-04-241-0/+1
|/ / | | | | | | | | | | | | | | | | 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>
* | Merge "Modernize use of table.count() with func.count()"Zuul2020-04-211-4/+10
|\ \
| * | Modernize use of table.count() with func.count()Mike Bayer2020-04-061-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Remove use of deprecated LOG.warn"Zuul2020-04-211-2/+2
|\ \ \
| * | | Remove use of deprecated LOG.warnSean McGinnis2020-04-141-2/+2
| | |/ | |/| | | | | | | | | | Change-Id: Icea747aff5fe51b96c70d263fa0f0e2e9c5ab917 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | Imported Translations from ZanataOpenStack Proposal Bot2020-04-191-2/+16
|/ / | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I92a2105bb57e96c32f203cf53534eacea524b597
* | Add Python3 victoria unit testsOpenStack Release Bot2020-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* | Update master for stable/ussuriOpenStack Release Bot2020-04-142-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Use unittest.mock instead of third party mock8.1.0Sean McGinnis2020-03-3115-17/+14
|/ | | | | | | | 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>
* Update hacking for Python3Andreas Jaeger2020-03-306-2/+6
| | | | | | | | | | | | | 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
* Remove 'handle_connect_error'8.0.0Stephen Finucane2020-02-251-5/+0
| | | | | | | | | 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
* Drop use of sixStephen Finucane2020-02-2518-121/+40
| | | | | | | No need for this in a Python 3-only world. Change-Id: I8923f2b87c1bd114b8c55210100c7485a0de8f28 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Remove final references to moxStephen Finucane2020-02-253-7/+0
| | | | | | | We don't need it anymore. Drop references to it. Change-Id: Icade65ce11f4dbbf2d2f903985cea941cb7e8cf7 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Raise minimum SQLAlchemy version to 1.2.0Stephen Finucane2020-02-258-129/+17
| | | | | | | | | | 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>
* Merge "gitignore: Add reno artefacts"Zuul2020-02-171-0/+2
|\
| * gitignore: Add reno artefactsStephen Finucane2019-12-181-0/+2
| | | | | | | | | | | | | | pbr has generated these for some time. Change-Id: I93ff365c90b5ca953937311f69650e89adc65935 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | Merge "reword releasenote for py27 support dropping"Zuul2020-02-131-1/+1
|\ \
| * | reword releasenote for py27 support droppingHervé Beraud2020-02-071-1/+1
| | | | | | | | | | | | Change-Id: I7bbab4f96391828d0b0e095a152bdacca6585e3c
* | | Merge "Ignore releasenote artifacts files."Zuul2020-02-131-0/+2
|\ \ \ | |/ /
| * | Ignore releasenote artifacts files.Hervé Beraud2020-02-071-0/+2
| | | | | | | | | | | | Change-Id: I4245e31483865766c20443a79165f7d98bb5348a
* | | remove outdated headerHervé Beraud2020-02-101-1/+0
|/ / | | | | | | Change-Id: Ic9424cf4e908edd794f2b7c1f6e3dd4316b6362c
* | [ussuri][goal] Drop python 2.7 support and testing7.0.0Hervé Beraud2020-02-036-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Drop unittest2 usageSean McGinnis2020-01-122-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge "tox: Trivial cleanup"Zuul2020-01-081-17/+9
|\ \
| * | tox: Trivial cleanupcaoyuan2019-12-231-17/+9
| | | | | | | | | | | | | | | | | | move 'basepython' to the top-level 'testenv' Change-Id: I37c608d9da6bffe2f24e0e1fbeb4e8d350089850
* | | Imported Translations from Zanata6.0.0OpenStack Proposal Bot2019-12-221-2/+44
|/ / | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I68d368e2e1d3eb5f0fc608b79f242a6b680570e1
* | Merge "Convert remaining use of mox"Zuul2019-12-181-204/+329
|\ \
| * | Convert remaining use of moxStephen Finucane2019-12-171-204/+329
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Remove deprecated class DbMigrationError since we already have DBMigrationErrorYaguo Zhou2019-12-171-12/+1
|/ | | | Change-Id: Icb2c88dc18843cbf2f5be08d635d5ba10f36f360
* Use regex to compare SQL strings with IN5.1.1Mike Bayer2019-12-111-7/+7
| | | | | | | | | | | | | | 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
* Merge "Bump the openstackdocstheme extension to 1.20"Zuul2019-12-042-23/+1
|\
| * Bump the openstackdocstheme extension to 1.20melissaml2019-11-132-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Change-Id: I2c3a36fbc020d41c5eaa09008a0586142a63d6ba
* | Merge "Reduce severity of wrapped exceptions logs to warning"Zuul2019-12-021-3/+2
|\ \
| * | Reduce severity of wrapped exceptions logs to warningDarragh O'Reilly2019-11-131-3/+2
| |/ | | | | | | | | Change-Id: I6ea68fb17ceac23337bfb7405eb3f7a6df8b61f2 Closes-Bug: 1851797
* | Merge "Switch to official Ussuri jobs"Zuul2019-12-021-1/+1
|\ \ | |/ |/|
| * Switch to official Ussuri jobszhulingjie2019-10-111-1/+1
| | | | | | | | Change-Id: I57540c744ed6aa1edfea50b86d0900fdf59ceff9
* | tox: Keeping going with docscaoyuan2019-10-242-4/+8
|/ | | | | | | | | | | | Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name suggests, keeps the build running when it encounters non-fatal errors. This is exceptionally useful in avoiding a continuous edit-build loop when undertaking large doc reworks where multiple errors may be introduced. [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045 Change-Id: Idaca0bc97e33e0a080de612420177b5e102c628c
* Update master for stable/train5.1.0OpenStack Release Bot2019-09-202-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: I377ad03a73b88407d0e70315cbd0162bb9dc356b Sem-Ver: feature
* Merge "Use connect, not contextual_connect"train-em5.0.2Zuul2019-08-161-3/+3
|\