1147 Commits

Author SHA1 Message Date
2f90ae79e7 Update TOX_CONSTRAINTS_FILE for stable/2025.1
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2025.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: Ibe1f860d21981e25c7f26ad36c19e6b4cf6a0ddd
2025-03-07 14:28:57 +00:00
bf94e7ebbc Update .gitreview for stable/2025.1
Change-Id: Iec179177bb82300277a3841c6233bf8347ea2da3
2025-03-07 14:28:56 +00:00
Bo Tran
a5dccbf00d Support create backup with storage drivers
Story: 2010956
Task: 49198
Change-Id: I3083783df1a9a6682f076ecac9530b0ee2e6f576
8.8.0
2025-02-06 11:28:16 +08:00
Zuul
4818b7c8c1 Merge "Remove Python 3.8 support" 8.7.0 2024-12-04 13:53:16 +00:00
Zuul
b597347867 Merge "reno: Update master for unmaintained/2023.1" 2024-12-04 13:53:15 +00:00
Zuul
e3d3a20ded Merge "Bump hacking" 2024-12-04 13:48:57 +00:00
Takashi Kajinami
ac224a6788 Bump hacking
hacking 3.0.x is quite old. Bump it to the latest version.

Also remove the note about old pip's behavior because recent pip does
not require specific order.

Change-Id: I10ba6418dd7adc6a6d0b63e01b4d5c5a95cb44a2
2024-11-16 06:22:16 +00:00
83b5560222 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I48452faae3a636146d887eca36f225e956e464bd
2024-11-12 16:59:05 +00:00
Takashi Kajinami
96528e3d09 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.

Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.

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

Change-Id: Ifbd7dbd6b8a0cb5d216ab2ac833ab93207821547
2024-10-24 21:32:50 +09:00
55134ac18b 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: Idaa0991aee38ced3adaf37741be3da2d5b0b2d61
2024-09-13 13:36:30 +00:00
Zuul
c1cd6816cb Merge "reno: Update master for unmaintained/xena" 8.6.0 2024-09-05 13:48:24 +00:00
Zuul
3131527613 Merge "reno: Update master for unmaintained/victoria" 2024-09-05 13:45:42 +00:00
Zuul
c42f43fb7a Merge "reno: Update master for unmaintained/wallaby" 2024-09-05 13:45:41 +00:00
Zuul
b56dfceed9 Merge "Remove logic for Python < 3" 2024-09-05 12:05:16 +00:00
wu.chunyang
2d912fb78f use stevedore to load extensions
pkg_resources was deprecated in python3.12

Change-Id: Ifa4c93220d3f39f706cc7fd462f28ebcdce14707
2024-09-05 19:30:15 +08:00
Zuul
c7380db1bf Merge "reno: Update master for unmaintained/zed" 2024-09-04 01:04:41 +00:00
Takashi Kajinami
59fb4a2579 Remove logic for Python < 3
... because Python 2 support was removed long ago.

Change-Id: Iebf18019a2a40176c430286e8d678879d9fef63f
2024-09-03 16:39:50 +09:00
Zuul
65b99bdf1a Merge "Drop unused simplejson" 8.5.0 2024-05-11 02:52:45 +00:00
0d6ffdd0df reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I87fe519767440a6d33e7f23c97888794f735a44b
2024-05-08 11:17:27 +00:00
Zuul
77fcf0df73 Merge "Drop implementation to keep compatibility with Python 2.5" 2024-04-28 01:17:48 +00:00
Zuul
2ab986a473 Merge "Add Datastore Version Registry Extension" 2024-03-28 11:17:29 +00:00
bcefdc6945 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ia42b83fd574c01f81f99df612c78bd60c5e144f6
2024-03-12 10:55:53 +00:00
5922b73ac8 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I014219d4bb01c6c1590e0d204d2bcd3feadb521e
2024-03-12 10:55:13 +00:00
ede9b0d3a4 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: If29ce5138cf3ad2b088baf0abab1fc14347718c3
2024-03-12 10:54:31 +00:00
77757daeb2 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: Id3246fb82b4850b44031c2d89c1b2ba904c3b4b5
2024-03-08 14:15:57 +00:00
dbe25fad30 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ic6976cd3fea8a68ae165c2fd14f7f7f1a774dabf
8.4.0
2024-02-19 09:19:09 +00:00
Zuul
e1371b3b96 Merge "Remove six" 2024-01-25 08:37:53 +00:00
Ghanshyam Mann
4e6e8cc73f 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: I5f399edc6c553c65581b02d043d29f2170ac41e3
8.3.0
2024-01-04 01:10:02 -08:00
Bo Tran
e32a0b0c9c Add Datastore Version Registry Extension
Current, users can config default datastore registry for managers not by
verions. This make you can flexible when have some experimental
datastore.

With this patch, users with the administrator role can configure the
datastore registry external for each datastore version using a command,
without editing configuration files.

Story: #2010860
Task: #48536
Change-Id: I7ee47dd1bb6e52991f0e0028a01e81252a1718c3
2023-12-27 11:09:40 +07:00
Takashi Kajinami
00cdc83150 Drop unused simplejson
simplejson is used only when the json module is not avaialble, but
recent runtime versions provide the built-in json module.

Change-Id: Ife04be18ed3804a90e52025d3a7f688e6daec849
2023-11-05 18:30:02 +09:00
Takashi Kajinami
1941116aad Drop implementation to keep compatibility with Python 2.5
... because this library no longer supports such old python runtime.

Change-Id: Id662d6d68cac940f6d0f61ab49653e7642b3e190
2023-11-05 18:26:07 +09:00
61db51590c 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: Ib77debac4722852d2bf2610782938830750d6436
2023-09-08 14:50:53 +00:00
likui
0415e4bc88 Drop openstack-lower-constraints-jobs
As discussed in TC PTG[1] and TC resolution[2], 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#proposal

Change-Id: I0a19802c82c9ea9138a870559748063dca5507e1
8.2.1
2023-06-26 18:03:58 +08:00
wu.chunyang
b739fe40ad Add python 3.10 to setup.cfg metadata
Add python 3.10 to setup.cfg
refer to: https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I743d463c7cf559d089bf5343bba0bca8675f7a27
8.2.0
2023-06-21 17:03:17 +08:00
81597a0a34 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: Ia04030e034d813fac8fa7983ee7e6569569af88f
2023-02-24 15:01:14 +00:00
5a20908cd0 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: Ied8fb9f8decc7322cd3ecea3a9e875e98bf63bcd
2023-01-28 09:14:29 +00:00
wu.chunyang
c715b66b53 Fixing tests with tox 4.2.6
Remove basepython from testenv

Change-Id: Idb2a9d9dcc5a73e15e5cbab165b2b629a8b26afe
2023-01-28 15:53:59 +08:00
e8b2534e0d 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: Ia836b341b287f4f2ca5e9c9690e3c83b89015445
2022-09-09 15:15:24 +00:00
Takashi Kajinami
ad6544e8a5 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

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

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I8a07a79a976c82518a6a94b6725719b9375df3a2
8.0.0
2022-07-17 00:54:51 +09:00
Takashi Kajinami
5860dc8ffc Remove six
Python 2 is no longer supported, thus usage of six can be removed.

Change-Id: I7442242289f269d95432209e74caa3cd3917ac5d
2022-05-17 22:02:22 +09:00
wu.chunyang
00a54650d5 Add python3.9 support
This ps adds py39 support and replaces dashes with underscores

Change-Id: I5245be419244c8bd93c7099b61ce0a382f7a5065
7.3.0
2022-04-28 22:14:03 +08:00
Zuul
c1a320cef4 Merge "Adapts new API response schema" 2022-04-18 12:54:40 +00:00
Hirotaka Wakabayashi
4815692d8c Uses the "network_id" param creating a cluster
This PR replaces a request parameter name "net-id" with "network_id"
creating a cluster. When creating a cluster, Clusters API internally
calls Instaces API to create a instance. A request parameter name to
create instances has changed[1] but python-troveclient still uses
old parameter name when creating a cluster.

The original problem is instance creation error when creating a
instance that belongs to a cluster. Troves's Instances API has
changed a parameter name from "net-id" to "network_id", but Clusters
API and python-troveclient still uses the "net-id" parameter name.
We need to fix it.

[1]: 5354172407

Task: 44925
Story: 2009958
Change-Id: Ia3d1d6f451296eba34f2389da184c41a7ee9e84e
2022-04-09 18:07:58 +00:00
Hirotaka Wakabayashi
2dbbf5656e Adapts new API response schema
This PR makes troveclient to handle API response in new data schema.
Trove API response data schema has changed by the commit[1].

Original problem is that python-troveclient can't parse a API response
data in new data schema, resulting in an error.

[1]: 429c39890e

Task: 44986
Story: 2009979
Change-Id: I2e446c68c3b82c11d13f6bace54273c109e02069
2022-04-08 04:06:30 +09:00
ef88f4d6c0 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: I8143ca09cafc3bf2ae68c856f426f2acaa699b38
2022-03-03 10:50:59 +00:00
60817623cc 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: Ibb1f0b5a7740d36fda7be637f21802e31623baba
2021-09-10 14:32:45 +00:00
2475b3b8b0 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: I62ae17b426c970e0e595210da0d7656f70b37352
2021-09-10 14:32:43 +00:00
Lingxian Kong
64f3f62368 Fix detach configuration from instance
Change-Id: Id0853dfb207bbd219755d46a9c0d6b4e897bfbeb
xena-em
2021-07-09 20:47:13 +12:00
likui
5ce2e998b9 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Ia9928d8fe69a6a3c593ff9b5846ef3123e7dda26
2021-06-03 17:01:07 +08:00
Lingxian Kong
cd68986948 Get backup list by instance ID or name
Change-Id: I97d3fcfa2935f76cb8753734fec6dab8669e732a
2021-05-19 20:43:06 +12:00