summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Moves supported python runtimes from version 3.8 to 3.10"HEADmasterGhanshyam2023-05-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d6cdf97c4559cfde324289d191460470ee96ef02. Keeping Python 3.10 in setup.cfg classifier and zuul.yaml changes. Reason for revert: Needed-By: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175 TC has been discussing about re-adding the python 3.8 testing in current master 2023.2 release testing. - https://meetings.opendev.org/meetings/tc/2023/tc.2023-04-25-18.00.log.html#l-191 - https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033469.html While governance changes are under review, TC agreed to add py3.8 testing so that we do not see more project/lib dropping python 3.8 and make them uninstalable on python 3.8 - https://meetings.opendev.org/meetings/tc/2023/tc.2023-05-02-18.00.log.html#l-17 - https://review.opendev.org/c/openstack/governance/+/882165 Also adding py3.8 testing back in job https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175 Change-Id: I77db3800c22bb8f04a33e6c79f2da8947f30d484
* Moves supported python runtimes from version 3.8 to 3.10Hervé Beraud2023-04-102-3/+3
| | | | | | | | Within 2023.2 python version 3.9 and 3.10 are the supported python runtimes [1]. [1] https: //review.opendev.org/c/openstack/governance/+/872232 Change-Id: I5d5fcf954dad68c918c6a75adefd718fde875493
* Update master for stable/2023.1OpenStack Release Bot2023-02-242-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/2023.1. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/2023.1. Sem-Ver: feature Change-Id: I98b6cb90f38df1ebb4c042700110b10053c856d6
* Fix issues related to tox44.1.1Hervé Beraud2023-02-171-6/+2
| | | | | | Related to https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032247.html Change-Id: Ifa9eb53cf6989fb04047edd495c43193a00c43d3
* Merge "remove unicode literal from code"4.1.0Zuul2022-12-201-8/+8
|\
| * remove unicode literal from codeniuke2022-08-061-8/+8
| | | | | | | | Change-Id: I346b4d641505e8f9d4392eeda0485ace08b0625d
* | Add Python3 antelope unit testsOpenStack Release Bot2022-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for antelope. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ib55e899627f3a3ca7faf0e03d2e887e4b111c6c9
* | Update master for stable/zedOpenStack Release Bot2022-09-092-0/+7
|/ | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/zed. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/zed. Sem-Ver: feature Change-Id: I0894eb2db0fbf8f91fb073ded833b6165112a6eb
* Merge "Imported Translations from Zanata"4.0.1Zuul2022-07-291-2/+7
|\
| * Imported Translations from ZanataOpenStack Proposal Bot2022-07-061-2/+7
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I7286ea54a4ca641d5a2187ad5c884bc8fc8276fc
* | remove unicode literal from codeniuke2022-07-281-1/+1
| | | | | | | | Change-Id: I2a0271618074ceb68fed716da347ad5fde217a28
* | Merge "Fix formatting of release list"Zuul2022-07-141-15/+15
|\ \ | |/ |/|
| * Fix formatting of release listHervé Beraud2022-05-271-15/+15
| | | | | | | | Change-Id: Idd4b4a54c34ce9982f805bc02e5b980bcb9b129b
* | Imported Translations from ZanataOpenStack Proposal Bot2022-06-211-2/+12
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I3e91bbb1507d1a502125ba8cb65a39263e306837
* | Download ISO in more simple way.4.0.0Fabian Wiesel2022-05-241-29/+108
|/ | | | | | | | | | | | | In order to add support of transferring an ISO from one datastore to another, below changes are done: - Return and close connection for read_connection - Add FileReadHandle similar to FileWriteHandle - Add common headers to _create_connection - Accept pre-build cookie for FileReadHandle/FileWriteHandle - DatastoreUrl as parameter for FileReadHandle/FileWriteHandle Closes-bug: #1975618 Change-Id: I311c98201e3a89db561b7a0c64592803b32a8b31
* Drop python3.6/3.7 support in testing runtimeHervé Beraud2022-05-051-3/+2
| | | | | | | | | | | | In Zed cycle testing runtime, we are targetting to drop the python 3.6/3.7 support, project started adding python 3.8 as minimum, example nova: - https://github.com/openstack/nova/blob/56b5aed08c6a3ed81b78dc216f0165ebfe3c3350/setup.cfg#L13 also indicate that we support py3.9. Change-Id: I717b0e4ea1c450d4cb7af7366e813e58b5d531e5
* Add Python3 zed unit testsOpenStack Release Bot2022-03-041-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for zed. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I0df16337c74ac0087b35293e189441656a2bafa8
* Update master for stable/yogaOpenStack Release Bot2022-03-042-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/yoga. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/yoga. Sem-Ver: feature Change-Id: I376bba8692bd6befa53057ab2110dd74458092b2
* Replace suds-jurko with suds-community3.10.0Gunju Kim2021-10-131-1/+1
| | | | | | | | | suds-jurko is not compatible with setuptools >58.0.0 and has not been maintained for a long time. Let's use suds-community instead. Related-Bug: 1946340 Depends-On: I4eb235c3ad0f1296fc81a9b98d7e687ac9923b59 Change-Id: Ie3f317974d138be4050d0ce196bcc000494a0eee
* Merge "Add Python3 yoga unit tests"Zuul2021-10-051-1/+1
|\
| * Add Python3 yoga unit testsOpenStack Release Bot2021-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for yoga. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I5a18c7d409473150ab6cf01181969a78d359464f
* | Don't use 'requests.PreparedRequest'Stephen Finucane2021-09-211-4/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're using 'requests.PreparedRequest' in one place in the tests. However, the requests docs have a warning that one shouldn't do this: Instances are generated from a Request object, and should not be instantiated manually; doing so may produce undesirable effects. It seems we're now seeing just such an effect, as requests has started attempting to do proxy-related things resulting in the following error: Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1183, in patched return func(*args, **keywargs) File ".../oslo.vmware/oslo_vmware/tests/test_service.py", line 518, in test_send_with_local_file_url resp = transport.session.send(request) File ".../oslo.vmware/.tox/py36/lib/python3.6/site-packages/requests/sessions.py", line 636, in send kwargs.setdefault('proxies', self.rebuild_proxies(request, self.proxies)) File ".../oslo.vmware/.tox/py36/lib/python3.6/site-packages/requests/sessions.py", line 301, in rebuild_proxies if 'Proxy-Authorization' in headers: TypeError: argument of type 'NoneType' is not iterable Do what we should have done from the beginning and use 'requests.Request.prepare' instead. [1] https://docs.python-requests.org/en/master/api/#requests.PreparedRequest Change-Id: I072c64904298cf83cb113e402d85fb62626f39f7 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Update master for stable/xenaOpenStack Release Bot2021-09-102-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: Ie1e7be2d3c88b4ba376d4d6a2f4c8ee01a752dcd
* setup.cfg: Replace dashes with underscores3.9.1yangyawei2021-05-141-4/+4
| | | | | | | | | | | | | | | | Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: If3e2e3c7b3fc0f170f38721a3350e85e8e7eff36
* Ignore already deleted lease3.9.0Hemna2021-04-261-0/+8
| | | | | | | | When we try and release a lease, we might get an object not found exception meaning that the lease doesn't exist. So there is no need to release something that doesn't exist. Change-Id: I7912a7adf95f97074ee41441d7bfb8d2405b6533
* Merge "Add serialize_object() helper function"Zuul2021-04-212-0/+48
|\
| * Add serialize_object() helper functionJohannes Kulik2021-04-162-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | This function converts a SUDS object to a dictionary. Originally implemented in Nova as "object_to_dict()", this function moves to oslo.vmware to stop leaking the abstraction around the backing SOAP library into depending projects. This is especially necessary since we want to switch the backing SOAP library in [1]. [1] https://specs.openstack.org/openstack/oslo-specs/specs/victoria/oslo-vmware-soap-library-switch.html Change-Id: Ie1d42609104e604f9386c1b1a46be7dcd286e855
* | Merge "Remove lower-constraints remnants"Zuul2021-04-162-53/+0
|\ \
| * | Remove lower-constraints remnantsHervé Beraud2021-04-162-53/+0
| |/ | | | | | | Change-Id: I21c0ca526394796fb60d50cc5e2a703c575b68bd
* | Merge "Use py3 as the default runtime for tox"Zuul2021-04-161-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: I138a808e799e4969af8542346289737c544a3c5e
* | | Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-04-161-2/+2
|\ \ \ | |_|/ |/| |
| * | Use TOX_CONSTRAINTS_FILEHervé Beraud2021-01-141-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: I69cb454902b1c153ca09bfb713d5748aa0dd532a
* | 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: I01d7c2ed0666f0af0993784943338c0ee6c5af40
* | | 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: I4537cf2c4fb53095d8592bdea0f431e2a5393c4a
* | | Move flake8 as a pre-commit local target.Daniel Bengtsson2021-03-231-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[2] 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: I7e22a1530e531185f64eef524b06b49544af407e
* | Add PBM WSDL for vSphere 7.03.8.0Xiangfei Zhu2021-01-2510-2/+40876
|/ | | | | | Adding WSDL files for SPBM APIs in vSphere 7.0. Change-Id: I8e190d00f3140f9f0864b83b723f0aec9235f1e3
* Imported Translations from ZanataOpenStack Proposal Bot2020-10-112-4/+61
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I8ad3f9a82802c6233dd8776011560b845656d3d5
* Merge "Adding pre-commit"Zuul2020-09-2210-2350/+2392
|\
| * Adding pre-commitHervé Beraud2020-09-0810-2350/+2392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I593196cf0d099fe1dcc3a6298fd6cc6b7a883ea2 Signed-off-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: I65e952d5d7e23efc4ab1e15da54f26e278d25c96
* | 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: I3501779b248b21acba11a1e097447a3e0aa65b5c Sem-Ver: feature
* | Merge "Bump bandit version"victoria-em3.7.0Zuul2020-08-061-1/+1
|\ \
| * | 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: If1e25c02adf0fb8f96f7bfb9134c5d170fab15eb Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* | | [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-08-042-5/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Ib0a675e53ad060e9e0f8c6bcdce45f7a870e379c
* | Add backend-independent access to cookiejar3.6.0Johannes Kulik2020-07-146-14/+41
|/ | | | | | | | | | | | Having the cookiejar available as attribute on the client instead of some child objects exposes an interface which depending code can rely on. This will help with upcoming efforts to switch the SOAP library backing oslo.vmware. This is part of phase 1 of https://specs.openstack.org/openstack/oslo-specs/specs/victoria/oslo-vmware-soap-library-switch.html Change-Id: I72082f10a184a2451dfda3d002a9288fefcef961
* Add moref helper functions3.5.0Johannes Kulik2020-07-0912-46/+97
| | | | | | | | | | | | | | | | | | | | | | | Since the attribute access on a ManagedObjectReference can differ depending on the SOAP library used in the backend, we and especially depending projects should not rely on it, because that breaks the abstraction layer oslo.vmware is supposed to provide. To help transitioning to a newer backend library, we introduce two methods for retrieving a ManagedObjectReference's value and type: get_moref_value() and get_moref_type(). We cannot handle this by just returning our own ManagedObjectReference object with uniform access, because it's hard to get control of all morefs returned by the API. In that spirit, we also change all references inside of oslo_vmware to using `get_moref_value()` and `get_moref_type()` instead of directly accessing the attributes. This is part of phase 1 of https://specs.openstack.org/openstack/oslo-specs/specs/victoria/oslo-vmware-soap-library-switch.html Change-Id: I0b0a3d37f6c7d0c750b48596bc3d79b8b2cb0cee
* Merge "Align contributing doc with oslo's policy"Zuul2020-06-301-0/+5
|\