309 Commits

Author SHA1 Message Date
Zuul
8fb0a99abf Merge "Update master for stable/2024.2" 2025-01-09 23:46:16 +00:00
Zuul
f7a418046a Merge "Drop unnecessary 'x' bit from doc config file" 2025-01-09 23:35:15 +00:00
Zuul
1f1eac5d7a Merge "Bump hacking" 2025-01-09 23:35:14 +00:00
Zuul
4aa101dc69 Merge "reno: Update master for unmaintained/2023.1" 2025-01-09 23:35:13 +00:00
Zuul
429b2a1a02 Merge "reno: Update master for unmaintained/zed" 2025-01-09 23:35:11 +00:00
Zuul
7ff73db01c Merge "reno: Update master for unmaintained/yoga" 2025-01-09 23:35:10 +00:00
Zuul
8507cae033 Merge "reno: Update master for unmaintained/xena" 2025-01-09 23:35:09 +00:00
Zuul
4f0ac0c409 Merge "reno: Update master for unmaintained/wallaby" 2025-01-09 23:35:08 +00:00
Zuul
3deb77097d Merge "reno: Update master for unmaintained/victoria" 2025-01-09 23:35:07 +00:00
Zuul
c2fd9e6e58 Merge "Fix efficacy indicators in action plans" 2025-01-09 23:35:05 +00:00
Takashi Kajinami
f90c13d1e7 Bump hacking
hacking 3.0.x is too old. Bump it to the latest version available.

Change-Id: I45d7b5a60559162889e6fcf233fe8d57f9dd86d5
2024-11-18 00:55:07 +09:00
1617214c10 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I34164407fb2123b1643a20e70473e15003e7d6fe
2024-11-12 16:43:52 +00:00
Alfredo Moralejo
42d8914dcf Fix efficacy indicators in action plans
Currently, Efficacy in action plans list and efficacy indicators in
action plan details are empty.

There are two different problems:

- While EfficacyIndicator expects a dict, global_efficacy is a list
  with one dict inside.
- EfficacyIndicator is using getattr function to initialize the
  attributes while the correct way for dicts is get, which also provides
  None when the attribute does not exist.

This is effectively reverting [1].

[1] https://review.opendev.org/c/openstack/watcher-dashboard/+/587032

Closes-Bug: #2086627

Change-Id: I5a45357ccd69da26443818ae165ba08963004358
2024-11-04 16:34:46 +01:00
Martin Kopec
793bf9f51b Update python versions, drop py3.8
The current testing runtime [1] states testing from py3.9
to 3.12. The patch updates setup.cfg to reflect the correct
python versions.

The patch also drops python 3.8 support following [2].

[1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html
[2] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/FOWV4UQZTH4DPDA67QDEROAESYU5Z3LE/

Change-Id: I61e981db8afe19f09b3de0b6bfa68e8e657685d9
2024-11-01 14:27:23 +01:00
Sean Mooney
1d2856a416 [devstack] use $PYTHON when configuring horizon
Devstack gained the ablity to install all services in
a shared venv and became the default way to install
on all debian derived distor as part of
If9bc7ba45522189d03f19b86cb681bb150ee2f25

Today the plugin uses the system python3 executable
to invoke the manage.py untility to collect the static
resouces and compress them.

This change updates the devtack plugin to support
installation in the global venv.

When horizon is installed in a global venv the manage command
cannot import django or other depencies if invoked by
system python directly.

When installed in a global virutal environment,
devstack exports PYTHON to use the virtual env executeable.
```export PYTHON="$DEVSTACK_VENV/bin/python3"```
when a gobal venv is not enabled it export PYTHON
to use the correct system python
```export PYTHON=$(which python${PYTHON3_VERSION} 2>/dev/null)```

As such we can always rely on $PYTHON to contain the correct
execuable.

Closes-Bug: #2085487
Change-Id: I161db1e824ee2fafd305313a729795ed2ade634a
2024-10-24 03:19:56 +01:00
Takashi Kajinami
e95f8e9482 Drop unnecessary 'x' bit from doc config file
This file is not actually executable.

Trivial-Fix

Change-Id: I872b1f307235047e5d1b3e88782245ccd04a5f0d
2024-10-21 20:29:53 +09:00
fe23d55ab5 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: I3f9218ca1f3419a60d4163373cbb006d614b3a18
2024-09-16 10:24:37 +00:00
940503c915 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I2c4e1aad30da2588364c2211a90f320beb3babf6
2024-05-08 11:00:11 +00:00
0451ec9c5f 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: I584e2caa0effa1a497474c1ab425acabc47c9575
12.0.0.0rc1 12.0.0
2024-03-15 14:21:06 +00:00
5e34e58eee reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I740f04027a8f3274c3701fd3097b3166d0046f2a
2024-03-05 20:13:35 +00:00
a86a656e6b reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I0c9e93b76f40a39c3ac052690963aa5522535e8a
2024-03-05 20:13:11 +00:00
554d40d9f9 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I445f2ac22c2315e4e7aa857cc8c9d0ee946c1d51
2024-03-05 20:12:44 +00:00
Zuul
3458bb9225 Merge "Update python classifier in setup.cfg" 11.0.0.0rc1 11.0.0 2024-02-13 08:00:11 +00:00
Zuul
f3d863247f Merge "Drop use of features removed in Django 4.0" 2024-02-13 07:11:57 +00:00
Zuul
8f437339c6 Merge "Django 4.x: Replace removed features" 2024-02-13 06:32:55 +00:00
982ae638c2 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I5fd3f0dc5ac522a466a746449271b55192df5745
2024-02-05 16:00:31 +00:00
Ghanshyam Mann
b1db180990 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: I84c8571e017cbb39b364b9f94bbb35747cf75e8a
2024-01-09 19:21:57 -08:00
Corey Bryant
08a7342e94 Drop use of features removed in Django 4.0
These functions were deprecated in Django 3.0 and have been removed
in Django 4.0. Switch to the functions they were aliased to.

Closes-Bug: #2039226
Change-Id: I2180b1ccae7ca377aa5d4586bd3c5562512b5e98
2023-10-13 11:41:16 -04:00
eaf8db4c84 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: Ib01f17310f6828d3dec06abd0b4838ccfd990708
2023-09-14 01:23:26 +00:00
2114b979df 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: I736f31968a913de631e86d1fbd88f2662f0c9847
10.0.0.0rc1 10.0.0
2023-02-28 13:27:59 +00:00
Zuul
0c7d458d63 Merge "Replace deprecated inspect.getargspec" 9.0.0.0rc1 9.0.0 2023-01-17 13:20:59 +00:00
manchandavishal
553c089d09 Adjust tox.ini for tox4
OpenStack CI now uses tox4 by default.

- 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 vnev, for example, in docs and/or
  linter jobs and it causes failures with tox4. So dropping it
  would avoid potential future failures.
- Add ignore_basepython_conflict = True to tox.ini
  With latest tox (>4.0.15) python version conflicted with base
  python. Adding ignore_basepython_conflict = True solves this
  issue.

Change-Id: Id25cde435e9eaf6d5d2573d522cda763dad1a89b
2023-01-16 18:52:53 +05:30
Thomas Goirand
2f5345a6d8 Replace deprecated inspect.getargspec
inspect.getargspec was deprecated since Python 3.0 and
inspect.getfullargspec is its replacement with correct handling of
function annotations and keyword-only parameters[1].

[1] https://docs.python.org/3/library/inspect.html#inspect.getargspec

Co-Authored-By: manchandavishal <manchandavishal143@gmail.com>

Change-Id: Ie9cdf3e87a06a0af8cf36c8bbdef0f14336e8f70
2023-01-04 15:53:23 +05:30
a1f181f610 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: Id599fb692f5a36f8dba39ca98abe5ac54b707b56
2022-09-13 12:30:03 +00:00
cb75625342 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: I3f5f9bd3fdd591cc836895a0998708fa7cf656d0
2022-09-13 12:30:02 +00:00
Corey Bryant
56094cec47 Django 4.x: Replace removed features
ugettext_lazy(), ungettext_lazy(), and django.urls.url() are
removed in 4.0.
https: //docs.djangoproject.com/en/4.0/releases/4.0/

Change-Id: I7747087589b6ec96792d77aae5fb452c1b5661bb
2022-07-20 10:36:46 -04:00
b526383eba 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: I7be79d0641dc54f1698ee43c9cd27871371640c5
8.0.0.0rc1 8.0.0
2022-03-10 12:13:24 +00:00
cee9f07159 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: I58a438faadd070ec8ec868c4eaee2ef7f17904bc
2022-03-10 12:13:22 +00:00
146e547da9 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: Ifd0557060d055aa07b34320808b2360387a226cb
7.0.0 7.0.0.0rc1
2021-09-15 16:53:50 +00:00
32df7210e8 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: Iee515e29541c6957db520339fa923a59a392ff6e
2021-09-15 16:53:49 +00:00
Dantali0n
4192182302 Fix broken devstack install
Change-Id: I79cd70085e9e423fa3a7835e4a7fbd2b0cbf4922
6.0.0 6.0.0.0rc1 xena-em
2021-07-08 20:26:07 +00:00
Dantali0n
a9fc6a8ab3 Enable tox cover jobs on zuul
Change-Id: I674eea6d66a78f524fdd2b505b4788450130a0e4
2021-07-07 16:58:02 +00:00
Dantali0n
5d22d8c97f Repair coverage report tox job
Coverage report job for watcher dashboard must have been
broken for an extensive amount of time. This patch
fixes it.

Change-Id: I3f0ec731d28d0f55c4378038237dc91b5c548ed5
2021-07-07 10:04:58 +02:00
Dantali0n
a48e09f7ab 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: I83ee292b6d7440f7543ef85d7eed82940ee9745d
2021-07-06 12:59:34 +02:00
Zuul
f3554b5726 Merge "Manage constraints with testenv install_command" 2021-07-06 06:54:56 +00:00
Zuul
4daaec6665 Merge "Fix create audit fail from audit_template" 2021-07-05 13:46:10 +00:00
Dantali0n
8a2d2ebd79 Manage constraints with testenv install_command
This prevents having to duplicate the -c{} deps argument
across all environments in tox.ini

Change-Id: I681688df779557654b001caf33ca6ffbda08f43b
2021-07-02 10:44:11 +00:00
Zuul
25981997bd Merge "doc: Update our IRC server to OFTC" 2021-07-01 10:38:35 +00:00
Zuul
5df1a5c653 Merge "Use py3 as the default runtime for tox" 2021-07-01 09:45:56 +00:00
Zuul
9f4f7c8588 Merge "setup.cfg: Replace dashes with underscores" 2021-07-01 08:42:22 +00:00