summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Don't use private API to get query criteria"8.6.0Zuul2021-04-281-4/+3
|\
| * Don't use private API to get query criteriaMike Bayer2021-04-281-4/+3
| | | | | | | | | | | | | | | | | | Another change for SQLAlchemy 1.4 is the mechanics of how the ``QueryContext`` object works. Update the update_match extension such that it does not rely upon the ``QueryContext`` object and uses public APIs instead. Change-Id: I27e20e59bce8c98b5a507c617364652aa6eb33f5
* | Merge "Accommodate immutable URL api"Zuul2021-04-284-9/+46
|\ \ | |/
| * Accommodate immutable URL apiMike Bayer2020-12-114-9/+46
| | | | | | | | | | | | | | | | | | | | | | SQLAlchemy 1.4 has modified the URL object to be immutable. This patch makes the adjustments needed, using duck-typing to check if the URL object is of the new style. When requirements reach SQLAlchemy 1.4 as the minimum required version, these conditionals should be removed in favor of the noted option in each. Change-Id: Id2f0663b13ed0f81e91a8d44f73d8541015bf844
* | Merge "Fix formatting of release list"Zuul2021-04-211-15/+15
|\ \
| * | Fix formatting of release listPierre Riteau2021-04-161-15/+15
| | | | | | | | | | | | Change-Id: I129194d096656b06fb0a94a29b4b3cf4e0f00f2f
* | | Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-04-160-0/+0
|\ \ \ | |/ / |/| |
| * | Use TOX_CONSTRAINTS_FILEzhangboye2020-12-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. Change-Id: I8dd4681d82f20ef25d2e00093b6e700b3dccf0db
* | | Merge "remove unicode from code"Zuul2021-04-164-14/+14
|\ \ \
| * | | remove unicode from codexuanyandong2021-01-034-14/+14
| |/ / | | | | | | | | | Change-Id: Ia782bc7127a1cb967e2f475065b1fb963b9c184f
* | | Merge "Add Python3 xena unit tests"Zuul2021-04-151-1/+1
|\ \ \
| * | | Add Python3 xena unit testsOpenStack Release Bot2021-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Iba077861ecd36730f73c126e15652f5280ed8963
* | | | Merge "Update master for stable/wallaby"Zuul2021-04-152-0/+7
|\ \ \ \ | |/ / /
| * | | Update master for stable/wallabyOpenStack Release Bot2021-03-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I347faed9c8c0e721ab81706c5cd6bb105897df06
* | | | Merge "Remove lower-constraints remnants"Zuul2021-03-242-66/+0
|\ \ \ \
| * | | | Remove lower-constraints remnantswu.shiming2021-02-192-66/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were missed in change : Icd090cf8a36fa560bf7b0c67d0e1c4923c221c65 Change-Id: I07b577f4e948c03d1751145e5f898b90ac1c197a
* | | | | move flake8 as a pre-commit local targetHervé Beraud2021-03-181-3/+7
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal here is to avoid conflicts between flake8 and hacking version each 2 days. Inspired from nova's approach [1]. The flake8 version to install will be determined by hacking and requirements will stay aligned instead of relying on different versions. [1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35 [2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1 Change-Id: Iae20f13ba6293b94b5bd131941263e097eba0518
* | | | Fix the conflict status with hacking.Daniel Bengtsson2021-03-093-19/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The conflict is caused by: The user requested flake8 3.8.3 (from /home/zuul/.cache/pre-commit/repozi7hytk7) hacking 3.0.1 depends on flake8<3.8.0 and >=3.6.0 Install the latest version of hacking to fix the conflict error with the pre-commit hook. Change-Id: If1c54502e6e10751fd722694aa5429a08f376798
* | | Merge "Use py3 as the default runtime for tox"Zuul2021-01-211-1/+1
|\ \ \
| * | | Use py3 as the default runtime for toxHervé Beraud2020-11-041-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving on py3 as the default runtime for tox to avoid to update this at each new cycle. Wallaby support officially the following runtimes [1]: - Python 3.6 - Python 3.8 During Victoria Python 3.7 was used as the default runtime [2] however this version isn't longer officially supported. [1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria Change-Id: I66af9ab9bba12cdbb4a3652991f62aa98fa67450
* | | Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-01-141-2/+2
|\ \ \
| * | | Use TOX_CONSTRAINTS_FILEHervé Beraud2020-11-041-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ [2] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: I4d35a6e96f8b0fb8dc85632a63131b51d06b403e
* | | Dropping lower constraints testingHervé Beraud2020-12-181-1/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | We facing errors related to the new pip resolver, this topic was discussed on the ML and QA team proposed to to test lower-constraints [1]. I propose to drop this test because the complexity and recurring pain needed to maintain that now exceeds the benefits provided by this mechanismes. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Change-Id: Icd090cf8a36fa560bf7b0c67d0e1c4923c221c65
* | Merge "Deprecate the 'oslo_db.sqlalchemy.migration_cli' module"8.5.0Zuul2020-10-302-0/+13
|\ \
| * | Deprecate the 'oslo_db.sqlalchemy.migration_cli' moduleStephen Finucane2020-10-302-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This API allowed users to abstract the differences between sqlalchemy-migrate and alembic. However, no one is using it for that and its continued existence necessitates continued support for sqlalchemy-migrate. Deprecate it now and encourage the odd user to switch to alembic directly. Change-Id: Ia5979369f23b38a2c7307f4112651a8bedb45c01 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | | Merge "Deprecate 'oslo_db.sqlalchemy.migration' module"Zuul2020-10-302-0/+18
|\ \ \ | |/ / | | / | |/ |/|
| * Deprecate 'oslo_db.sqlalchemy.migration' moduleStephen Finucane2020-10-302-0/+18
| | | | | | | | | | | | | | | | | | This module hasn't been touched with years and 'sqlalchemy-migrate' is effectively abandoned. It's time to drop support for this an encourage the laggards to switch to alembic and use it directly. Change-Id: I59335b4f318bae2e29ab139cdea089a4d6e14305 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | Imported Translations from ZanataOpenStack Proposal Bot2020-10-111-2/+5
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: If6de09e513ec778f9b5f8c34d985aeea640d6002
* | Adding pre-commitHervé Beraud2020-09-224-10/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced changes: - pre-commit config and rules - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks. - Applying fixes for pre-commit compliance in all code. Also commit hash will be used instead of version tags in pre-commit to prevend arbitrary code from running in developer's machines. pre-commit will be used to: - trailing whitespace; - Replaces or checks mixed line ending (mixed-line-ending); - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker); - Checks that non-binary executables have a proper shebang (check-executables-have-shebangs); - Check for files that contain merge conflict strings (check-merge-conflict); - Check for debugger imports and py37+ breakpoint() calls in python source (debug-statements); - Attempts to load all yaml files to verify syntax (check-yaml); - Run flake8 checks (flake8) (local) For further details about tests please refer to: https://github.com/pre-commit/pre-commit-hooks Change-Id: Id03c1ea4752db3236c36521ca9c67125d5ba2526 Co-authored-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* | Add Python3 wallaby unit testsOpenStack Release Bot2020-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I017723df2eca2e3aa00553f19628bfbd8aa93f41
* | Update master for stable/victoriaOpenStack Release Bot2020-09-112-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: Iefed09b57fffca3a62ec4467e1d18a5f4724c474 Sem-Ver: feature
* | [goal] Migrate testing to ubuntu focal8.4.0Ghanshyam Mann2020-09-063-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - Bump the lower constraints for required deps which added python3.8 support in their later version. Story: #2007865 Task: #40207 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h> Change-Id: I978482f860a766c474944c77e2c569541f4849b1
* | Bump bandit versionMoisés Guimarães de Medeiros2020-07-241-1/+1
| | | | | | | | | | | | | | | | 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>
* | Merge "requirements: Drop os-testr"8.3.0Zuul2020-07-102-2/+0
|\ \
| * | requirements: Drop os-testrStephen Finucane2020-07-092-2/+0
| |/ | | | | | | | | Change-Id: I9525eda24465bdedb9ae917350263fa91e9b780a Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | Merge "Align contributing doc with oslo's policy"Zuul2020-06-301-0/+5
|\ \
| * | Align contributing doc with oslo's policyHervé Beraud2020-05-041-0/+5
| |/ | | | | | | | | | | | | | | 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
* | Make test-setup.sh compatible with mysql8Sean McGinnis2020-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge "Set create_constraint=True for boolean constraint test"8.2.1Zuul2020-06-221-1/+1
|\ \
| * | Set create_constraint=True for boolean constraint testMike Bayer2020-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Fix pygments stylemelissaml2020-06-042-4/+2
|/ / | | | | | | | | | | | | | | New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I572495d50e0edc8bdfe22594dcde30a61b0750b8
* | 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