186 Commits

Author SHA1 Message Date
e17a98e3d9 Update master for stable/2025.1
Add file to the reno documentation build to show release notes for
stable/2025.1.

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

Sem-Ver: feature
Change-Id: Id6a6d7608049bf93b2e0ed4c193d33089034483f
2025-03-13 13:29:47 +00:00
Pierre Riteau
28156db70a Bump hacking to 7.0.0
Also remove outdated warning about package order.

Change-Id: Iad12d27585a3e72fcfa66300941530f1cd749fb6
13.0.0.0rc1 13.0.0
2025-02-18 09:01:03 +01:00
Zuul
9d67839585 Merge "Replace deprecated datetime.utcnow()" 2024-11-18 20:52:42 +00:00
aba899bcf7 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: Icda684e9a1a44e05d7c3d3d9cd82871190a69763
2024-11-13 10:39:41 +00:00
Takashi Natsume
1e5fe0ef4e Replace deprecated datetime.utcnow()
The datetime.utcnow() is deprecated in Python 3.12.
Replace datetime.utcnow() with
datetime.now(datetime.timezone.utc).replace(tzinfo=None).

Change-Id: I4be5425e7fdb94a6235677d5639c0633f7ff229a
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2024-10-01 00:22:22 +09:00
7fae0387a0 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: I23e92871c2cb647960de7dfb4167864e5bd6f2cb
2024-09-13 09:56:21 +00:00
Pierre Riteau
0a4fc6a160 Remove Python 3.8 support and replace pytz code
Python 3.8 is no longer part of the tested runtimes for 2024.2 [1]
because its EOL is coming soon.

Python >= 3.9 provides the zoneinfo module to manipulate timezones. This
change replaces the usage of pytz, which was an implicit dependency
recently removed from Horizon [2].

[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html
[2] https://review.opendev.org/c/openstack/horizon/+/921651

Change-Id: If1f6627047787ae1965d5e66a2e73ad539a44039
12.0.0.0rc1 12.0.0
2024-09-12 09:07:50 +02:00
9607e819b3 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I03d1e8dd854736fb0f2ba4b08f9779b62614f421
2024-04-29 10:57:36 +00:00
0c4f1873db 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: Ie4b79f78ee6b08a5b9ecfa74e20cb309ec8842a8
2024-03-14 07:14:12 +00:00
Zuul
3a563d44aa Merge "reno: Update master for unmaintained/victoria" 11.0.0.0rc1 11.0.0 2024-03-06 07:16:44 +00:00
Zuul
f375775694 Merge "reno: Update master for unmaintained/wallaby" 2024-03-06 07:16:43 +00:00
b18768cd15 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I431c60236d877091bc876048fa48bc7d08a56187
2024-03-05 18:27:37 +00:00
7b5a47fe55 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Ia9d6a0f315ceb7c3852291d3c52cbfe21c89d3c3
2024-03-05 18:26:56 +00:00
40131fc039 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I78abeae6ed8d4adb1e3d10cada67543a72ae2b2b
2024-03-05 18:26:16 +00:00
Matt Crees
86f5b9012e Support SSL verification in creating Blazar client
Adds support for SSL verification when ``OPENSTACK_SSL_CACERT`` is set.
Explicitly skips verification if ``OPENSTACK_SSL_NO_VERIFY`` is set.

This also switches to Session-based instantiation for the Blazar client,
away from the deprecated url+token method.

Closes-Bug: #2045281

Change-Id: I94aad7590b1e42ddfa1a20fdb184ca4d73587cd6
2024-02-13 23:18:40 +00:00
Matt Crees
6c6caa3be6 Fix removed Django function calls
``ugettext_lazy`` and ``ungettext_lazy`` have been removed in Django
v4.0 [1].

1. https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-4-0

Change-Id: Iaa809aa3698bb0a32293c1de430b57f33d7e6104
2024-02-12 15:37:48 +00:00
23e711d5cb reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ic3083b9cf92e5ced23a05473d782e4614cb987b7
2024-02-05 16:59:41 +00:00
Ghanshyam Mann
18b215ac32 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: Ibfab7a8f6ee5595484198d4df0017cbffe3cabe0
2024-01-03 21:23:16 -08:00
84bd480b64 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: Ib59ce3050bebf1c03fad47a4799f41564c40a236
2023-09-15 13:54:20 +00:00
Pierre Riteau
fa1a31a448 Drop lower-constraints.txt and its testing
As discussed in TC PTG [1] and TC resolution [2], we are dropping the
lower-constraints.txt file and its testing. We will keep lower bounds
in the requirements.txt file but with a note that these are not tested
lower bounds and we try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html

Change-Id: Ib425c4791477803224460b536fe88c506e36d623
10.0.0.0rc1 10.0.0
2023-09-14 18:49:00 +02:00
Pierre Riteau
4bec9288e3 Update copyright date for release notes
This is a small change to force refresh of release notes.

Change-Id: I08e494d1e0becea3b7aa7a756a514a9c3974deb9
2023-03-20 15:49:33 +01:00
5363e624c9 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: I5cd78fadf94425d247d4adb7b8a14dde4477a0c3
2023-02-28 13:31:05 +00:00
manchandavishal
58acda9e06 Update tox.ini for tox4
OpenStack CI now uses tox4 by default. This patch
drop "skipsdist = True". When skipsdist=True is specified,
a target application is not installed into a tox env, but
there seems no reason to do so. In various other OpenStack
projects, a target applicatin needs to be installed into a
tox venv, for example, in docs and/or linter jobs and it
causes failures with tox4. So dropping it would avoid potential
future failures.

Change-Id: I18d5ee7f96e77e345f304536bbc385d87bb859f2
9.0.0.0rc1 9.0.0
2023-01-17 20:56:13 +00:00
Pierre Riteau
323ee3da5d Ignore release note from yoga
This release note is showing up in zed, maybe because it was in the
commit used to tag the yoga release.

Change-Id: I97273807b1e2237f2d836597a861cb0aedc3df49
2022-09-22 14:28:21 +02:00
bac857f3cf Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ife0ef9c6a82cc8eb58c9933f63aa07926d85d3f5
2022-09-16 09:26:00 +00:00
8699314b30 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: I18567bf8ad810631ce8c2e2e1fa4d45bb4cfb622
2022-09-16 09:25:58 +00:00
manchandavishal
837eb58428 Address RemovedInDjango40Warning
In Django 3.1, django.conf.urls.url() is deprecated
in favor of django.urls.re_path(). For more info see [1]
These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
[2] https://review.opendev.org/c/openstack/horizon/+/827093

Change-Id: I71e21300e6c072f790ae0517bb40d18b01a4a23b
8.0.0.0rc1 8.0.0
2022-04-29 22:00:57 +05:30
Hervé Beraud
be5b93831f Remove unnecessary unicode prefixes
Change-Id: Ibc10c61ee39731501867196ac6fa95b9d6d6c91d
2022-04-20 13:16:50 +02:00
cdf302f853 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: Ia2d4a7336e573fd26f57f13b5eab907935b9d122
2022-03-08 11:54:49 +00:00
80b9177a75 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: Ie57d6b7dadca91c38d468b0398146304c9d0b96d
2022-03-08 11:54:48 +00:00
Pierre Riteau
fb9ae6e2c2 Display error details
The red error box will now show why a lease failed to be created or
updated, for example if not enough resources are available.

Also remove "Please try again" which is not a helpful message.

Change-Id: Id0b39fd151956ae6b08ab503a7ae0c5dc09af7f6
7.0.0 7.0.0.0rc1
2022-02-15 12:35:58 +01:00
Zuul
d30f9f45aa Merge "Updating python testing classifier as per Yoga testing runtime" 2022-02-10 16:26:09 +00:00
Mark Powers
96b3921d77 Add documentation for configuring availability calendar
This adds documentation explaining how to enable, configure the
calendar attribute, and what permissions are needed to use the
calendar.

Change-Id: I80026407ab537b7967ccbd2965d66f40018c4c0e
2022-01-31 10:03:46 -06:00
manchandavishal
f03cd5b3dc Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

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

Change-Id: I189ac002fcd7b1950ed15626e04cdf8e941aa690
2022-01-31 10:42:21 +05:30
Mark Powers
d6398f5e7a Add a resource availability calendar for hosts
This adds a calendar view where users can see a timeline of resources,
showing when each resource is reserved.

Implements: blueprint calendar-view
Change-Id: I4f2649d6c9538037dff4747ef4a8210da3666354
2022-01-27 16:06:50 +01:00
eda400f1ec 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: I63e4653cfb8c068a2ea7d053ea6a50af6f4ae5c1
2021-09-17 13:48:00 +00:00
563ad1aed9 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: Ib879910f6837b5a54921b661c015581367a38505
2021-09-17 13:47:58 +00:00
Takashi Natsume
5876f70d95 Change minversion of tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace whitelist_externals with allowlist_externals option.
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Change-Id: I8799f81b3bb6c305e14d589066bb8127b7f556fa
6.0.0 6.0.0.0rc1 xena-em
2021-05-31 12:19:19 +02:00
Pierre Riteau
46ac7b8c7d Fix PDF docs build
Update tox config to include upper-constraints as dependencies. This
resolves issues with building PDF docs.

Change-Id: I1d83437079f224a0d560dd3cc339bf3ce5213534
2021-05-31 11:52:51 +02:00
c33709700f 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: I978b4edde3c0d31051fcc13868196371c60cf8a7
2021-03-24 13:07:06 +00:00
2de6bc0794 Update master for stable/wallaby
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: Ic35d7ac19477f40d02dd83c57d8416d8885c8ef5
2021-03-24 13:06:44 +00:00
Zuul
f90eac95dd Merge "Change dashes to underscore in setup.cfg" wallaby-em 5.0.0 5.0.0.0rc1 2021-03-11 13:51:08 +00:00
Pierre Riteau
c6db787140 Change dashes to underscore in setup.cfg
Recent versions of setuptools are warning that usage of dash-separated
keys will not be supported in future versions.

Change-Id: I40e09327f4d3d9db183aaea8eaedc52e1d5e9233
2021-03-11 06:23:59 +01:00
Zuul
aefcb17f2f Merge "Use TOX_CONSTRAINTS_FILE" 2021-02-16 16:47:30 +00:00
manchandavishal
99d7832230 Fix lower-constraints job
This patch bumps PyYAML version to 3.13 to fix the lower-constraints
job.

Change-Id: Ibf10dcc2a4551762d68ed47f3ec6cf8635225a15
2021-02-16 14:43:37 +01:00
manchandavishal
63012469a0 Use TOX_CONSTRAINTS_FILE
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>.
For more info. please refer [1].

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: Id062b4014a61adf75fd9917a6928c0521739fc01
2021-02-16 12:32:21 +00:00
Zuul
9120374151 Merge "Configure bandit security linter" 2020-10-08 23:51:12 +00:00
Pierre Riteau
0a184a0a05 Configure bandit security linter
Change-Id: I4c3b4fec50e7b2aedd8cb3b7dfa5dacd0d44c329
2020-10-02 16:48:11 +02:00
Lukas Euler
33c58438ab Use json.loads instead of eval for JSON parsing
Also fixed error messages.

Change-Id: I998d6929ad05d9b5bc4e07f27f3f9cbf2dd64c68
Closes-Bug: #1895688
2020-09-30 19:07:43 +02:00
3dac655641 Add Python3 wallaby unit tests
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: Ia4d5752dffddb9374f65a3b970ef8e69445e4f8f
2020-09-22 14:13:21 +00:00