11709 Commits

Author SHA1 Message Date
Zuul
f8587f2f52 Merge "Remove Python 3.8 support" 2024-10-16 17:46:25 +00:00
Takashi Kajinami
8d60e4af2d Switch python version used for periodic jobs
According to the comment left in zuul config, we should use the latest
version.

Change-Id: I869078d01f10a51e9427ad118d59902b30240db3
2024-10-16 04:17:26 +00:00
Takashi Kajinami
ffbedd67a2 Remove Python 3.8 support
Python 3.8 is no longer part of the tested runtimes for 2024.2[1]
because its EOL is coming soon.

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

Change-Id: Ifbde8ee88aa3d63389e65703a29d09962e9cfde8
2024-10-16 02:41:26 +09:00
Zuul
2aaa88663b Merge "Add placement.wsgi.api module" 2024-10-04 10:15:20 +00:00
Zuul
80f585c2d6 Merge "Move upper functional job to py312" 2024-10-02 19:22:32 +00:00
Takashi Kajinami
f419ec418c Move upper functional job to py312
Python 3.12 is now the maximum supported version.

Change-Id: I2e332c098c944bcbfa3b0d24e6a0bbf6dd5ba0d3
2024-10-02 03:31:14 +00:00
Zuul
f3d5ccde1c Merge "Replace py38 job by py311 job" 2024-10-01 21:59:42 +00:00
Zuul
1eb7d7e7ec Merge "pre-commit: Add sphinx-lint" 2024-10-01 21:30:05 +00:00
Zuul
7b4a66037a Merge "pre-commit: Add autopep8" 2024-10-01 21:30:04 +00:00
Zuul
e0a2572978 Merge "Integrate pre-commit" 2024-10-01 21:28:01 +00:00
Zuul
4f0efef886 Merge "tox: Simplify functional testenv definitions" 2024-10-01 20:39:34 +00:00
Takashi Kajinami
de225ad186 Replace py38 job by py311 job
... because Python 3.8 support is being removed globally now.

Change-Id: I83db5b4f056d152548cb82c1d934bcadcadc4afc
2024-10-02 03:10:04 +09:00
9c81005854 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: I125d34161fe01cc51b634ae33496e39e45e7adf6
2024-09-13 15:08:13 +00:00
Sylvain Bauza
164e6548da Update 2024.2 reqs to support os-traits 3.1.0 as min version
We're now close to RC1, we need to ensure that 2024.2 Placement will support
the new traits.

Change-Id: I0d55592a62f6b44bb9ef6f56400ad743ffda0a63
12.0.0.0rc1 12.0.0
2024-09-09 18:28:37 +02:00
Ghanshyam Mann
5a340f7548 Bump oslo.policy version to enable new RBAC by default
oslo.policy 4.4.0 enable the RBAC new defaults by default
which enable them for placement also.

Depends-On: https://review.opendev.org/c/openstack/requirements/+/925464
Change-Id: Iaf0c3eeb75955c56c69616fc83733659f41637f4
2024-08-22 09:51:24 -07:00
Ghanshyam Mann
95631d7729 Update test to use service role
oslo.policy 4.4.0 enable the new defaults by default
and placement functional tests fail because it does not use
the service role (reshaper operation is only allowed for service
user). We need to use service role in tests.

- https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d52/926088/1/check/openstack-tox-functional-py39/d527a5b/testr_results.html

Change-Id: I87922b4045fe0a2cab834f04d5d98a969821102b
2024-08-22 16:48:39 +00:00
Stephen Finucane
0736c61056 pre-commit: Add sphinx-lint
Change-Id: I9d9d8b372b0a9c761b605188b3c641c9d1f326cb
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-07-04 11:13:36 +01:00
Stephen Finucane
aa520fec9c pre-commit: Add autopep8
Change-Id: Ie0d191d6b4d5620c014cceddbb885c901a500d79
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-07-04 11:13:36 +01:00
Stephen Finucane
094867041d Integrate pre-commit
Just as we've done for Nova and many other projects.

Change-Id: I40410f637fcb1b05724a4ed7106e557c07006164
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-07-04 11:13:23 +01:00
Stephen Finucane
1a7a807592 tox: Simplify functional testenv definitions
We also simplify the default testenv and up the minimum tox version to
avoid potentially using tox under a Python 2.7 environment.

Change-Id: Ibe3a131afefeeb5bb7bf13a3e5e80fdc829d7962
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-07-04 11:07:52 +01:00
Zuul
c8255d70c8 Merge "tox: Drop envdir" 2024-05-21 18:19:48 +00:00
Zuul
4d81594e9c Merge "Remove SQLAlchemy tips jobs" 2024-05-15 16:51:24 +00:00
Stephen Finucane
5a17e40555 Add placement.wsgi.api module
This allows deployment tooling to easily switch from passing a binary
path to passing a Python module path.

Change-Id: Ib8fc2d917d1427b369a299527ed4b68577951a04
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-05-14 15:20:48 +01:00
Zuul
17d6c4bef8 Merge "Remove old excludes" 2024-05-01 12:33:56 +00:00
Takashi Kajinami
d9795e7a6e Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository.

[1] 314734e938f107cbd5ebcc7af4d9167c11347406

Bump the minimum versions to avoid installing these known bad versions.

Change-Id: Ia7b6d494b037b5638c84ed8fc31eb1574069f1e8
2024-05-01 01:27:18 +09:00
3f082664ec reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I20db35a7e149d6af62360816ed9893c4b80835e8
2024-04-30 15:02:16 +00:00
Stephen Finucane
4648f24c49 Remove SQLAlchemy tips jobs
The most recent SQLAlchemy and Alembic versions are now in
upper-constraints. As a result, this job has served its purpose and can
be removed. For more information, see [1].

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/RBHXHTO3GUOOXVSZXD4C2O3TKDOH2QSC/

Change-Id: Iffef1b60bc3eb02fed70e8274d47eb1bc276f85e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/requirements/+/879743
2024-04-12 11:49:24 +01:00
96a9aeb3b4 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: Ideffed96cfc56ad74898308f039cdf5e005bcda8
2024-03-15 14:17:12 +00:00
Zuul
6ac0521e76 Merge "Update python classifier in setup.cfg" 11.0.0.0rc1 11.0.0 2024-03-15 10:01:17 +00:00
Zuul
3c832094a4 Merge "reno: Update master for unmaintained/xena" 2024-03-15 09:59:02 +00:00
Zuul
dc5d1864f8 Merge "reno: Update master for unmaintained/victoria" 2024-03-15 09:59:01 +00:00
Zuul
0444d253e5 Merge "reno: Update master for unmaintained/wallaby" 2024-03-15 09:58:59 +00:00
Zuul
3a12c003bb Merge "Add upgrade job from 2023.1" 2024-03-15 09:58:57 +00:00
a641167298 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I4206138a2294cebf40bc5441abde2a4a91edb964
2024-03-05 18:52:06 +00:00
d64f8b0f02 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I8fae20381d8ad4e1824adb1356342241935829b9
2024-03-05 18:50:30 +00:00
5c4c51de28 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I09b7570845ee2e5eed306640f3c8cc8843e993bd
2024-03-05 18:48:33 +00:00
8e705fa460 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ibb210d60e99c65d801a88a4ba1cec42c2748c693
2024-02-06 14:27:46 +00:00
Takashi Kajinami
4d61af64a1 Add upgrade job from 2023.1
The 2024.1 release will support direct upgrade from 2023.1, so this
scenario should be tested in CI.

Change-Id: Idbe56fd0eaa2e4b04ce64051bd706ad7757cddf2
2024-02-05 23:02:51 +09:00
Takashi Kajinami
86f722db42 tox: Drop envdir
tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~

According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293

Change-Id: I92eb0cdf98910b97523a9453a073ba238ee702ee
2024-02-02 23:40:45 +09:00
Takashi Kajinami
e10099bd80 Bump hacking
hacking 4.0.x is very old (it was released 3 years ago).

Change-Id: Id931b3a0110af7d6eb6dc11df5f3b0bbaad67b5e
2024-01-17 01:29:01 +09:00
Ghanshyam Mann
1001769dfb 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: Id0f37bebfb5298c5a84aa8f46f9b2d161b1f81ca
2024-01-03 19:22:50 -08:00
Zuul
e51085604c Merge "Add job to test with SQLAlchemy master (2.x)" 2023-10-26 17:35:33 +00:00
Zuul
d822a3456e Merge "db: Wrap raw SQL query in sqlalchemy.text" 2023-10-26 17:31:09 +00:00
Zuul
ce3dd3839b Merge "Changed /tmp/migrate-db.rc to /root/migrate-db.rc" 2023-09-28 17:19:59 +00:00
Stephen Finucane
13ceadd26e Add job to test with SQLAlchemy master (2.x)
Change-Id: Ib5ba66ba32dd1b2981be338682556018fc41826c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-09-27 15:01:59 +00:00
Stephen Finucane
d638b011bb db: Wrap raw SQL query in sqlalchemy.text
Another change in SQLAlchemy 2.x.

Change-Id: I31123c70c9664844181eeaaf9d0846a319af7c2c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-09-27 15:01:53 +00:00
141780c0ce 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: Ibe63023c8e1c74118ebae76ea1d4a93eec2aaa31
2023-09-15 16:15:25 +00:00
Sylvain Bauza
cf2678f2b9 Update 2023.2 reqs to support os-traits 3.0.0 as min version
We're now close to RC1, we need to ensure that 2023.2 Placement will support
the new traits.

Change-Id: I3b3e2f57fcc18ce8e6c326ab2e2fcead40603ca2
10.0.0.0rc1 10.0.0
2023-09-14 17:21:04 +02:00
Ghanshyam Mann
5ce841588b Fix bindep.txt for python 3.11 job(Debian Bookworm)
Python 3.11 job run on Debian Bookworm which does
not the mysql pkg for example, libmysqlclient-dev
instead they have mariadb. Updating bindep.txt file
to adjust the pkgs as per Debian bookworm.

Change-Id: Ib47d5e77b14353402fad06e7adc04f8ee8a7e94c
2023-09-06 17:50:43 +00:00
Zuul
a85a8be323 Merge "Modify the comment that is confused" 2023-08-31 21:00:31 +00:00