- 17 Jan, 2022 2 commits
-
-
Bence Romsics authored
Because in some deployments tracebacks in API responses are unwanted for security reasons. Change-Id: I8a2acea7393c369bfa7d7822f21b4d40d56d6739 Partial-Bug: #1951429 (cherry picked from commit 6552b9a8) (cherry picked from commit 13ee22cc) (cherry picked from commit c1e3398b)
-
Bence Romsics authored
Before this lc job on stable/victoria fails with: ERROR: Cannot install bandit<1.7.0 and >=1.6.0 because these package versions have conflicting dependencies. The conflict is caused by: The user requested bandit<1.7.0 and >=1.6.0 The user requested (constraint) bandit==1.1.0 Change-Id: I2c434eb78b879f796cffb37c52e83e78ca775629
-
- 11 Sep, 2020 2 commits
-
-
OpenStack Release Bot authored
Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/victoria branch, tests will continue to use the upper-constraints list on master. Change-Id: Ide063547374dd4b9bd4662165c72cf7121182b8a
-
OpenStack Release Bot authored
Change-Id: Iaf49effc1cd4c29d032d27e72c818cdcfb788132
-
- 06 Aug, 2020 2 commits
- 04 Aug, 2020 1 commit
-
-
Ghanshyam Mann authored
As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. Story: #2007865 Task: #40207 Closes-Bug: #1886298 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h> Change-Id: I8bcf63c3a86670fb322c5258c6b669fa49169f79
-
- 24 Jul, 2020 1 commit
-
-
Moisés Guimarães de Medeiros authored
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: I44b8f01489e503df0813ecac32639dc96c8a1c98 Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 20 Jul, 2020 1 commit
-
-
Rodolfo Alonso Hernandez authored
The LOG instance is not being used and there is no need to import "oslo_log". This will also prevent the circular import detected in the related bug. Change-Id: Id560ba80472b9efbcfbc289a18d4df312961fdb1 Related-Bug: #1888213
-
- 23 Jun, 2020 2 commits
- 22 Jun, 2020 1 commit
-
-
Zuul authored
-
- 17 Jun, 2020 2 commits
-
-
Zuul authored
-
Hervé Beraud authored
Previously some tests were ignored under python 3 environment, this was due to some design changes introduced by python 3.7 [1] in the SSL module of the stdlib. These changes reactivate some of them (some other are still skipped and needs further works). Indeed, when we try to use requests with SSL in a monkey patched environment we faced the following issue: ``` TypeError: wrap_socket() got an unexpected keyword argument '_context' ``` This is due to the fact that we are in a monkey patched environment where `requests` is monkey patched too. We don't need `request` for our needs. Indeed we can easily send http requests through low level socket. Our main goal is to test our wsgi server and not to test the `requests` library, and `requests` was just used to make the code more simpler. In our case we can implement a code dedicated to send request to our green server, unlock our tests and move away from this bug/side effect. Also this reactivated test will check WSGI server with and without SSL, so these changes add changes that allow us to submit a request without wrapping the socket with SSL. These changes move away from `requests` which is badly monkey patched by eventlet [1]. Now we use monkey patched socket and ssl to request the green server which is executed in background. Low level (monkey patched) modules could help us to skirt layers that are possibly badly monkey patched on higher level modules (urllib, requests, etc...). [1] https://github.com/eventlet/eventlet/issues/526#issuecomment-482694279 [2] https://github.com/eventlet/eventlet/issues/526 Change-Id: I3a018d507d102266c1e2fc9b6732a9c09fa2bb49 Closes-Bug: #1482633
-
- 16 Jun, 2020 5 commits
-
-
Zuul authored
-
Zuul authored
-
Hervé Beraud authored
Previously these tests was ignored surely because the WSGI tests with SSL were broken due to some design changes introduced by python 3.7 [1] in the SSL module of the stdlib. However, unlike the other WSGI/SSL tests these changes don't use the `requests` module or high level modules which are broken by the monkey patching of the stdlib. I suppose previous developers simply turned off all of tests related to WSGI/SSL without much more details than "SSL tests with python 3 and eventlet is broken" but some of them don't need much more work than just reactivate them to be ran successfully. This test seems to work without change, and it run successfully locally. Let reactivate this test. Change-Id: Ie0257af10a9439de8ec124a698ca75778bdf90b5 Partial-Bug: #1482633
-
Hervé Beraud authored
Previously some tests were ignored under python 3 environment, this was due to some design changes introduced by python 3.7 [1] in the SSL module of the stdlib. These changes reactivate some of them (some other are still skipped and needs further works). Indeed, when we try to use requests with SSL in a monkey patched environment we faced the following issue: ``` TypeError: wrap_socket() got an unexpected keyword argument '_context' ``` This is due to the fact that we are in a monkey patched environment where `requests` is monkey patched too. We don't need `request` for our needs. Indeed we can easily send http requests through low level socket. Our main goal is to test our wsgi server and not to test the `requests` library, and `requests` was just used to make the code more simpler. In our case we can implement a code dedicated to send request to our green server, unlock our tests and move away from this bug/side effect. These changes move away from `requests` which is badly monkey patched by eventlet [1]. Now we use monkey patched socket and ssl to request the green server which is executed in background. Low level (monkey patched) modules could help us to skirt layers that are possibly badly monkey patched on higher level modules (urllib, requests, etc...). [1] https://github.com/eventlet/eventlet/issues/526#issuecomment-482694279 [2] https://github.com/eventlet/eventlet/issues/526 Change-Id: Iacdde51d2d923bafa3263fa3dc12de8d501d471a Partial-Bug: #1482633
-
Hervé Beraud authored
Previously some tests were ignored under python 3 environment, this was due to some design changes introduced by python 3.7 [1] in the SSL module of the stdlib. These changes reactivate some of them (some other are still skipped and needs further works). Indeed, when we try to use requests with SSL in a monkey patched environment we faced the following issue: ``` TypeError: wrap_socket() got an unexpected keyword argument '_context' ``` This is due to the fact that we are in a monkey patched environment where `requests` is monkey patched too. We don't need `request` for our needs. Indeed we can easily send http requests through low level socket. Our main goal is to test our wsgi server and not to test the `requests` library, and `requests` was just used to make the code more simpler. In our case we can implement a code dedicated to send request to our green server, unlock our tests and move away from this bug/side effect. These changes move away from `requests` which is badly monkey patched by eventlet [1]. Now we use monkey patched socket and ssl to request the green server which is executed in background. Low level (monkey patched) modules could help us to skirt layers that are possibly badly monkey patched on higher level modules (urllib, requests, etc...). [1] https://github.com/eventlet/eventlet/issues/526#issuecomment-482694279 [2] https://github.com/eventlet/eventlet/issues/526 Change-Id: Id44ad12a1cf3fd7090a67bb6e8e42bfdc47502cf Partial-Bug: #1482633
-
- 15 Jun, 2020 1 commit
-
-
Hervé Beraud authored
Change-Id: I90853e3cd779ed970a382fd2cb75e565651cadec
-
- 04 Jun, 2020 1 commit
-
-
melissaml authored
New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: Ia2a26e5824bfd4465e85134ac893ff5644c2b78f
-
- 02 Jun, 2020 1 commit
-
-
Hervé Beraud authored
The __future__ module [1] was used in this context to ensure compatibility between python 2 and python 3. We previously dropped the support of python 2.7 [2] and now we only support python 3 so we don't need to continue to use this module and the imports listed below. Imports commonly used and their related PEPs: - `division` is related to PEP 238 [3] - `print_function` is related to PEP 3105 [4] - `unicode_literals` is related to PEP 3112 [5] - `with_statement` is related to PEP 343 [6] - `absolute_import` is related to PEP 328 [7] [1] https://docs.python.org/3/library/__future__.html [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html [3] https://www.python.org/dev/peps/pep-0238 [4] https://www.python.org/dev/peps/pep-3105 [5] https://www.python.org/dev/peps/pep-3112 [6] https://www.python.org/dev/peps/pep-0343 [7] https://www.python.org/dev/peps/pep-0328 Change-Id: I42e2fc25eaec2e79540c3ab60d8752141637f7b8
-
- 26 May, 2020 5 commits
-
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Hervé Beraud authored
Support of python 2.7 was dropped during the Ussuri cycle so we can now drop six usages too. Change-Id: I56a9c0641fd9bce613943ff938d33178d263eedf
-
- 22 May, 2020 2 commits
- 18 May, 2020 1 commit
-
-
Andreas Jaeger authored
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 Update Sphinx version as well. 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. Set openstackdocs_auto_name to use 'project' as name. Depends-On: https://review.opendev.org/728938 Change-Id: I4f21de08de3bfd89bf8e331b6c819932cde8ca2f
-
- 15 May, 2020 2 commits
-
-
jacky06 authored
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: I971a50a34856d1b9050d6e2423bc9c9058f7932c
-
melissaml authored
These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: Ib2b1a9bd05148ab6c0a164b4463232b36f423de0
-
- 11 May, 2020 1 commit
-
-
Hervé Beraud authored
Recent changes [1] introduced an eventlet fix to monkey patch original current_thread _active. The goal was to monkey patch the original current_thread to use the up-to-date _active global variable. This solution is based on that documented at: eventlet/eventlet#592 I think we need this patch on unit test too to ensure a consistent behavior, so these changes doing that. [1] https://review.opendev.org/#/c/725359/ Change-Id: I7b6cca86e44261bf2f953be74e9738ac09507649
-
- 07 May, 2020 1 commit
-
-
Zuul authored
-
- 05 May, 2020 2 commits
-
-
Sean McGinnis authored
The monotonic package was needed for monotonic time operations when running under Python runtimes older than 3.3. Since we now only support versions higher than this, this third party package requirement can now be removed. Change-Id: Ie99411882822a5db47462fcb2748c6e978587b8c Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-
Hervé Beraud authored
Related to: - https://review.opendev.org/#/c/723044/ - https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html Change-Id: Ia903477064452129951fbb8c957beba306df1a79
-
- 04 May, 2020 1 commit
-
-
Corey Bryant authored
Monkey patch the original current_thread to use the up-to-date _active global variable. This solution is based on that documented at: https://github.com/eventlet/eventlet/issues/592 Change-Id: Icc2277b72f6f8f7812be22c43bbc281334aa2373 Closes-Bug: #1863021
-
- 27 Apr, 2020 1 commit
-
-
Zuul authored
-
- 24 Apr, 2020 2 commits
-
-
Sean McGinnis authored
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: I416cb6db21410a2a341d3372357ffbf4fe2de96f Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-
Sean McGinnis authored
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: I2fd048c0d9bf7d93d6c7c515056abe7287019974 Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-