707 Commits

Author SHA1 Message Date
b937e0428f reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I84763319a9b6b21be7cefe21831ced3553e715e1
2024-11-21 18:31:55 +00:00
Takashi Kajinami
5bbc92d164 pre-commit: Bump versions
... and use native hooks for bandit and hacking

Change-Id: Ia60ca0082a1b4d99905f523f8977db5275e06658
2024-10-31 12:55:09 +09:00
Takashi Kajinami
6c5bfd80e8 Add note about requirements lower bounds
Since lower constraints job was removed the bounds are not actually
tested. Add a note to explain the bounds are maintained on best effort
basis.

Change-Id: Iaafc5a0584b4bab2e518c2c274602e777c60fb75
2024-10-31 12:35:59 +09:00
Takashi Kajinami
d789b10837 Remove Python 3.8 support
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.

[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html

Change-Id: Ia2febcc1e66318aba8b5102d8609ad6bbfa1250d
2024-10-31 12:34:22 +09:00
Zuul
c90098fd9c Merge "Declare Python 3.12 support" 2024-10-13 06:24:17 +00:00
Takashi Kajinami
ed2c6f8d75 Declare Python 3.12 support
Now Python 3.12 unit tests job is voting. So we can safely say this
is tested with Python 3.12 .

Change-Id: I83b9c0d35781a9e24eca05e560c1db30f455764d
2024-10-13 11:25:53 +09:00
Takashi Kajinami
481998fa3f Fix wrong tox minversion
The allowlist_externals option is supported since 3.18.0 .

Change-Id: I83010cf02f1537e4d6f86ae8ce618982548cad87
2024-10-13 01:04:01 +09:00
99d787de6b Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: I8eea4f7b265aec20bb94f7298cab7685bd73f261
2024-09-05 16:02:58 +00:00
2c3ce5179d reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I1b79b0a5632de4d207642301f657df5e2141d75e
4.5.0
2024-05-06 05:58:18 +00:00
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
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
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
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
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
c9faaa09ff reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I0e17f80606e5008fd72bb43389bd1b56c160fed1
4.4.0
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
4.3.0
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
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" 4.2.0 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 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
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
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
4.1.1
2023-02-17 13:16:08 +00:00
Zuul
e72643cec9 Merge "remove unicode literal from code" 4.1.0 2022-12-20 17:55:01 +00:00
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
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" 4.0.1 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
4.0.0
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
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
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
3.10.0
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
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
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
3.9.1
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
3.9.0
2021-04-26 14:47:52 -04:00
Zuul
b75a126ec6 Merge "Add serialize_object() helper function" 2021-04-21 19:46:36 +00:00