Commit Graph

40 Commits

Author SHA1 Message Date
Zuul a0f68b3d85 Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:29:30 +00:00
Zuul 72d77429bb Merge "reno: Update master for unmaintained/wallaby" 2024-03-12 14:27:01 +00:00
Zuul 966e5d0fe3 Merge "reno: Update master for unmaintained/victoria" 2024-03-12 13:13:08 +00:00
OpenStack Release Bot d5596ae169 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: I799fd64dc30134d6d4fe64885f7883050bb078fc
2024-03-08 14:23:26 +00:00
OpenStack Release Bot 7b85ffc34c reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I1045375de2a0bdc613ccf1ab89eba959aa2d2d95
2024-03-07 14:26:58 +00:00
OpenStack Release Bot f37a3e7f5b reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I9278d1c8345dfb2f5b53c6f487e9238d1c17d875
2024-03-07 14:22:39 +00:00
OpenStack Release Bot 59f448b3b8 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I4f21f5c5b57df6909dae0447d4df9bf411c2e3f3
2024-03-07 14:17:40 +00:00
OpenStack Release Bot dabffaaf6a reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: If13b5568988dd9fcb537b716849c8ef4a76b2827
2024-02-06 14:29:14 +00:00
Takashi Kajinami c83a4c9968 jsonutils: Raise ValueError in case the input can't be converted
According to the warning it was planned that this change was made in
3.0.

Change-Id: I0c1011b935f52f5ea1329e0316f935a034fdfd0e
2023-11-08 17:41:29 +00:00
OpenStack Release Bot 27a8fd66c7 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: Id8795c72a6277490270e4e182c1138ed3ca903e9
2023-09-07 09:38:20 +00:00
Hervé Beraud 61c460f3f2 Fix compatibility with Python 3.8
We removed compatibility with Python 3.8 once but it was added back to
tested runtimes for 2023.2. Thus we have to make sure the code works
with Python 3.8, which was broken by [1].

Note that pytz is added back to requirmenets.txt and is now required
regardless of the python version. This is a short term solution until
we figure out the way to fix the requirement-check job (or we again
remove python 3.8 support).

[1] a326ec5eea

Change-Id: I3b222bb59260dff7a06a5ed48720df3dc8c74ea7
2023-05-16 10:24:51 +02:00
Zuul adfd830d44 Merge "Implement zoneinfo support to drop dependency to pytz" 2023-04-17 11:26:01 +00:00
Hervé Beraud a326ec5eea Implement zoneinfo support to drop dependency to pytz
Zoneinfo was introduced within python 3.9.

The support of pytz will be removed within RHEL 10 [1].

2023.2 (bobcat) will move our testing runtime to py3.9 and py3.10
so we want to see pytz removed within this series.

tzdata is required at runtime in our gates, because, by default,
zoneinfo uses the system’s time zone data if available; if no system
time zone data is available, the library will fall back to using the
first-party tzdata package available on PyPI. Apparently our gates have no
time zone data available nor tzdata installed by default because we get the
following error without tzdata installed [3]:
`ModuleNotFoundError: No module named 'tzdata'

So I prefer to add tzdata in our requirements to avoid runtime failure
related to time zone and ensure that time zone are always available.

[1] https://issues.redhat.com/browse/RHEL-219
[2] https://review.opendev.org/c/openstack/governance/+/872232
[3]
https://zuul.opendev.org/t/openstack/build/0a1576775e894b09bc31269fea00ba03/log/job-output.txt#1445`

Depends-on: https://review.opendev.org/c/openstack/requirements/+/875854
Change-Id: I8d87d54f6f5ded8caee6cb780bacb39afea0fea1
2023-03-23 17:17:59 +01:00
OpenStack Release Bot 864aa2f171 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: I87250b8fc8630e415b9ff3c42e4d8f8f761342c0
2023-02-24 15:23:11 +00:00
OpenStack Release Bot 45847211a3 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: Icbfda3a00eb3a309c51d710614981977b3fa0b03
2022-09-09 09:18:09 +00:00
songwenping 0f5451555b Remove unnecessary unicode prefixes
Change-Id: I0910f62e7feaf928fe0afe4721c5b271d4748449
2022-04-19 19:48:16 +08:00
OpenStack Release Bot 85d12b3f1d 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: Ief6dc07dff0687763b615eca8e7e651c007f2557
2022-03-04 17:19:30 +00:00
OpenStack Release Bot 2d11895986 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: Ie261273e3d9330041dd8e978ed146f6c15947c8a
2021-09-10 14:38:20 +00:00
OpenStack Release Bot 2b41ddc5f2 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: I4d751a40d903b0a9be9b5518b13bfc293100ff94
2021-03-18 11:25:47 +00:00
Sofia Enriquez 02037330d8 Fix json to_primitive when using IO OBjects
Currently, using Cinder's backup service with RBD the
backup-create operation gets stuck when logging
('use_json=True' must be set in the config file).

The oslo.log JSONFormatter gets stuck when passing an
RBDVolumeIOWrapper from os-brick. This happens via os-brick's
utils.trace() method which passes a connector containing
{'path': RBDVolumeIOWrapper}.
The oslo.log JSONFormatter format() method calls
oslo_serialization's jsonutils.to_primitive and passes in
this RBDVolumeIOWrapper object.
 
Therefore the to_primitive method eventually calls
RBDVolumeIOWrapper.read(). In order to fix this the current
path avoids mapping io.IOBase objects and fallback the wrapper
RBD volume object.

Co-authored-by: Eric Harney <eharney@redhat.com>
Closes-Bug: #1908607
Change-Id: I3c416e855cb5f0dc32d14b2749ba92aba8964574
2021-01-18 21:54:02 +00:00
Zuul 5c01e16192 Merge "Adding pre-commit" 2020-09-22 12:29:43 +00:00
OpenStack Release Bot 7c2c071612 Update master for stable/victoria
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: Ib07c45377a60fce27ccf91c503fbc9691d0022b8
Sem-Ver: feature
2020-09-11 21:00:50 +00:00
Hervé Beraud b828910188 Adding pre-commit
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: I8c993d6ffaf869f67713bbbde8632a0143ed0c72
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-08 12:33:14 +02:00
Zuul be101759e3 Merge "Fix pygments style" 2020-06-08 15:56:55 +00:00
Daniel Bengtsson 3847688ab7 Remove the yamlutils module.
The pyyaml is now safe by default:

https://github.com/yaml/pyyaml/pull/74/files
https://access.redhat.com/security/cve/CVE-2017-18342
https://github.com/search?q=oslo.serialization+yamlutils+user%3Aopenstack+language%3APython&type=Code

So the yamlutils is now useless. No project in OpenStack used this
module. We can remove it.

Sem-Ver: api-break
Change-Id: If0a98f1e15d83131cb309e02f892372f353fa5da
2020-06-08 11:44:27 +02:00
melissaml 08855bd1f9 Fix pygments style
New theme of docs respects pygments_style.

more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ic49f4d682e35ca74443b2b288fbcde24bfdb7b42
2020-06-04 14:49:40 +08:00
Andreas Jaeger f716c6798d Switch to newer openstackdocstheme and reno versions
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 problems

Update Sphinx version as well.

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: If90af1920749efd1b314884a4b366d6d2c939521
2020-05-18 21:03:54 +02:00
OpenStack Release Bot 8bcc081524 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

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

Change-Id: I99e8ee2472cc5823605caae10ec36bcb15a978f0
Sem-Ver: feature
2020-04-14 10:17:18 +00:00
Hervé Beraud f0c28ee96a Add releasenote to deprecate the yamlutils module
We missed to inform customers by adding release note, these changes do
that.

Change-Id: I834b2ebba94d5dfca121ed06ff5ba42336d1b97c
2020-02-21 10:31:30 +01:00
Hervé Beraud 440149f3b9 reword releasenote for py27 support dropping
Change-Id: I340048e6e3f1050c8f02be6681a3e741c82fda07
2020-02-06 11:02:58 +01:00
Hervé Beraud 9e4adf56b2 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in Ussuri cycle.

Complete discussion & schedule can be found in
-
http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Icc43428c885853007a6ee9fc4acaf079f6349619
2020-02-03 18:34:40 +01:00
OpenStack Release Bot a61f012f6c Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

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

Change-Id: I5e8957ae5a5de418558a1bb6b021c82a89494faf
Sem-Ver: feature
2019-09-20 16:37:43 +00:00
OpenStack Release Bot e56a5b718a Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

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

Change-Id: Ie0157e3139921532790974b0dea14642c6817651
Sem-Ver: feature
2019-03-18 14:46:40 +00:00
OpenStack Release Bot 2af0c0e0d9 Update reno for stable/rocky
Change-Id: Iba4de649c19c1e459af2f6b27fc6356149c131b0
2018-07-26 12:40:05 +00:00
OpenStack Release Bot fa3f9f47f3 Update reno for stable/queens
Change-Id: I3a08c4b7bd242f88127ac982d53ecbfc7f579a3b
2018-01-24 18:07:43 +00:00
Andreas Jaeger abe59cbcba Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I7cedd7fefa72e065372458a4b9d3b24b0d0f3778
2017-11-16 17:39:11 -05:00
OpenStack Release Bot c3687ce0dd Update reno for stable/pike
Change-Id: Ibd919add07ffa7a35e218c44d4fedaba43fda300
2017-07-28 21:05:30 +00:00
Akihiro Motoki ed34d20c38 switch from oslosphinx to openstackdocstheme
Fixes formatting things related to openstackdocstheme adoption

Change-Id: I05a794b806c36b5237fc9a1b6eabaaff802aba0e
2017-07-06 21:53:27 +00:00
OpenStack Release Bot d98e9e23fb Update reno for stable/ocata
Change-Id: I0c01a9f9e2ffda9c5d0789d1bf9cfa3cc231e988
2017-01-20 19:15:52 +00:00
ChangBo Guo(gcb) ba8abbada8 Add reno for release notes management
The release management team have indicated this is their preferred way
to collect release notes in future.

Closes-Bug: #1634356

Change-Id: Ia8a357ce4a42176b9bc46a715aef7158310c2cf0
2016-11-03 20:44:36 +08:00