Commit Graph

698 Commits

Author SHA1 Message Date
Zuul 6e7b439430 Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:40:58 +00:00
Zuul 8a16cbfa9c Merge "reno: Update master for unmaintained/wallaby" 2024-03-12 14:18:48 +00:00
Zuul d8d9269c61 Merge "reno: Update master for unmaintained/victoria" 2024-03-12 13:14:04 +00:00
OpenStack Release Bot 92ecda68a7 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I4d37a2213c1bb9d8f4061820a513b58e9b579e89
2024-03-08 14:23:57 +00:00
OpenStack Release Bot aac5268512 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I076d1fe011bfebd782430fa61477e0502d64cef1
2024-03-07 14:28:03 +00:00
OpenStack Release Bot 597a5c5e63 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I675918729d5432fd6b7fbd0d37b7f1bd1d474eb1
2024-03-07 14:23:43 +00:00
OpenStack Release Bot 4ac42cc353 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I73ed14a208678f2783949766d84529985bc2d310
2024-03-07 14:18:46 +00:00
OpenStack Release Bot c9faaa09ff reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I0e17f80606e5008fd72bb43389bd1b56c160fed1
2024-02-06 14:30:10 +00:00
Ghanshyam Mann 254274d31c Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I702d5840350b3ad3f66067e92ac5faf1bee20fce
2024-01-11 16:38:00 -08:00
OpenStack Proposal Bot 60da85c1a3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic23bbbaf72aec142ce4e96b4ba09bf41214aee8a
2023-09-21 04:02:12 +00:00
Xiangfei Zhu 19b4d3c7c7 Add PBM WSDL for vSphere 8.0
Adding WSDL files for SPBM APIs in vSphere 8.0.

Change-Id: Id43ff86e7b22940ecc1ca2dca950b28c3faa20a1
2023-09-15 05:15:54 +00:00
OpenStack Release Bot da01521435 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: Idff103dc0b92d7a54999bb38135d20a102b4c40f
2023-09-07 09:39:09 +00:00
Zuul 4f97245a54 Merge "Bump bandit and make oslo.messaging compatible with latest rules" 2023-07-12 11:49:23 +00:00
Hervé Beraud 4f58211e7a Bump bandit and make oslo.messaging compatible with latest rules
- Move from lxml lib direct usage to defusedxml lib [1] to fix B320 [2]

[1] https://pypi.org/project/defusedxml/0.7.1/
[2] https://bandit.readthedocs.io/en/1.7.5/blacklists/blacklist_calls.html#b313-b320-xml

Change-Id: Id1faa9227415884d15c737ace5a0e0e5de3afa81
2023-06-22 15:22:55 +02:00
OpenStack Proposal Bot abd720b5a1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I17ef5aa4357836e7078e44a5bc6800a6768d572d
2023-05-09 02:33:00 +00:00
Ghanshyam f442d815c7 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit d6cdf97c45.

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
2023-05-05 18:53:04 +00:00
Hervé Beraud d6cdf97c45 Moves supported python runtimes from version 3.8 to 3.10
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
2023-04-10 13:09:01 +09:00
OpenStack Release Bot 9451f964d7 Update master for stable/2023.1
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
2023-02-24 15:25:28 +00:00
Hervé Beraud 7c5dfbac3a Fix issues related to tox4
Related to https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032247.html

Change-Id: Ifa9eb53cf6989fb04047edd495c43193a00c43d3
2023-02-17 13:16:08 +00:00
Zuul e72643cec9 Merge "remove unicode literal from code" 2022-12-20 17:55:01 +00:00
OpenStack Release Bot c9de25a19b Add Python3 antelope unit tests
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
2022-09-09 09:19:18 +00:00
OpenStack Release Bot 386924837a Update master for stable/zed
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
2022-09-09 09:19:16 +00:00
niuke b0c3baf0bc remove unicode literal from code
Change-Id: I346b4d641505e8f9d4392eeda0485ace08b0625d
2022-08-06 21:18:04 +08:00
Zuul 7b63f09b37 Merge "Imported Translations from Zanata" 2022-07-29 10:33:02 +00:00
niuke 968f8cc8df remove unicode literal from code
Change-Id: I2a0271618074ceb68fed716da347ad5fde217a28
2022-07-28 10:24:35 +00:00
Zuul 88c2b2ede6 Merge "Fix formatting of release list" 2022-07-14 10:33:48 +00:00
OpenStack Proposal Bot 456db41c33 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7286ea54a4ca641d5a2187ad5c884bc8fc8276fc
2022-07-06 03:56:41 +00:00
OpenStack Proposal Bot 9be0de0261 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3e91bbb1507d1a502125ba8cb65a39263e306837
2022-06-21 03:57:26 +00:00
Hervé Beraud 8af09e9907 Fix formatting of release list
Change-Id: Idd4b4a54c34ce9982f805bc02e5b980bcb9b129b
2022-05-27 12:17:16 +02:00
Fabian Wiesel 42ca5ddb26 Download ISO in more simple way.
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
2022-05-24 19:55:45 +00:00
Hervé Beraud 54a96f50c8 Drop python3.6/3.7 support in testing runtime
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:
- 56b5aed08c/setup.cfg (L13)

also indicate that we support py3.9.

Change-Id: I717b0e4ea1c450d4cb7af7366e813e58b5d531e5
2022-05-05 15:56:34 +02:00
OpenStack Release Bot 6dd22edc80 Add Python3 zed unit tests
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
2022-03-04 17:20:36 +00:00
OpenStack Release Bot 5a949e0cb8 Update master for stable/yoga
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
2022-03-04 17:20:34 +00:00
Gunju Kim 7bc3431737
Replace suds-jurko with suds-community
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
2021-10-13 09:35:34 +09:00
Zuul a7b4def5d4 Merge "Add Python3 yoga unit tests" 2021-10-05 11:17:46 +00:00
Stephen Finucane e991194cbd Don't use 'requests.PreparedRequest'
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>
2021-09-21 15:41:58 +01:00
OpenStack Release Bot a34a95b4e9 Add Python3 yoga unit tests
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
2021-09-10 14:40:47 +00:00
OpenStack Release Bot a2e76d648a Update master for stable/xena
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
2021-09-10 14:40:46 +00:00
yangyawei 3e3fa66cb6 setup.cfg: Replace dashes with underscores
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
2021-05-14 16:54:15 +08:00
Hemna 60f6c5e8f5 Ignore already deleted lease
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
2021-04-26 14:47:52 -04:00
Zuul b75a126ec6 Merge "Add serialize_object() helper function" 2021-04-21 19:46:36 +00:00
Zuul fda85f1f1c Merge "Remove lower-constraints remnants" 2021-04-16 14:11:32 +00:00
Zuul aadae08b7e Merge "Use py3 as the default runtime for tox" 2021-04-16 13:43:18 +00:00
Zuul 09aee790d9 Merge "Use TOX_CONSTRAINTS_FILE" 2021-04-16 13:42:52 +00:00
Hervé Beraud 5505ee3a7e Remove lower-constraints remnants
Change-Id: I21c0ca526394796fb60d50cc5e2a703c575b68bd
2021-04-16 11:52:31 +01:00
Johannes Kulik 4f16088462 Add serialize_object() helper function
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
2021-04-16 11:05:02 +02:00
Zuul 6d2f6dd50d Merge "Add Python3 xena unit tests" 2021-04-15 20:24:22 +00:00
Zuul 187e23e42c Merge "Update master for stable/wallaby" 2021-04-15 19:14:11 +00:00
Daniel Bengtsson ce8d61bfa2 Move flake8 as a pre-commit local target.
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
2021-03-23 13:11:18 +01:00
OpenStack Release Bot 159f4563c0 Add Python3 xena unit tests
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
2021-03-18 11:33:03 +00:00