1256 Commits

Author SHA1 Message Date
Zuul
9d4aa416df Merge "Changes the data field used to populate the E.N. select" 2024-02-14 16:21:22 +00:00
Zuul
c2b187f5cc Merge "Display coverage report" 2024-02-07 04:58:34 +00:00
Takashi Kajinami
e60fdbeb33 Display coverage report
... for easy reference. Also make sure old data is purged.

Change-Id: Ic5f0ec8e72db3a767625cb72489e396628e0237f
2024-02-07 12:36:33 +09:00
56917afcd8 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Idb2072ca8d8f767c057d0236d75d9c686af49356
2024-02-05 16:53:39 +00:00
Takashi Kajinami
9ec622d3f9 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: I1237cfefae5565c495864dd32b95e1f5998385e5
2024-02-02 23:46:53 +09:00
Takashi Kajinami
dd046e42f8 Bump hacking
The version currently used is too old.

Also fix E275 "missing whitespace after keyword" newly detected.

Change-Id: I37e88d6b6bd707e9cc626e3625b9c034c7b5c553
2024-01-17 01:22:22 +09:00
Takashi Kajinami
a4c3b40ab4 Mark python 3.11 supported
It is now part of the tested runtimes and has been tested.

Change-Id: I7f7f4838368d8321d26cd1fe63daa0a4a48fd513
2024-01-09 12:38:38 +09:00
Takashi Kajinami
85273d0694 Regenerate policy files
This updates the default policy file and sample policy file based
on the latest policy rules in heat code.

Change-Id: I1d9fca846a56ae4893d76053ee1f0b9b6434dbd8
2023-09-23 23:45:15 +09:00
3494623438 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: I0191f2223c1ce5b5a6fe2b9312475487f62ee7d6
2023-09-14 01:42:46 +00:00
Zuul
d1cc7306ca Merge "Use py3 as the default runtime for tox" 10.0.0.0rc1 2023-09-12 12:12:16 +00:00
Zuul
36078b7fbc Merge "Fix 500 error when fetch data about deleted stack" 2023-09-12 12:10:25 +00:00
Zuul
ccd2029c0e Merge "Remove note about old pip behavior" 2023-09-12 12:09:00 +00:00
Zuul
9f0b334888 Merge "remove unicode prefix from code" 2023-08-29 19:03:44 +00:00
niuke
f6e1e9cb7f Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.

Change-Id: I33d95309b6ad5f3eaa7301e88b98881ccb7de783
2023-08-02 09:48:00 +08:00
Takashi Kajinami
7da98c0e3f Remove note about old pip behavior
The note is no longer valid since pip 20.3 introduced the new
dependency resolver.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2023-June/034091.html

Change-Id: I836405aeb9863b11630eedc3955e22e353ceee90
2023-06-20 10:04:10 +09:00
Vadym Markov
b7f3dcc774 Fix 500 error when fetch data about deleted stack
Currnetly, request of dashboard to Horizon API works only for existing
stack. Request about deleted stack fails with 500 status. Proposed patch
fixes it

Story: 2009731
Task: 44148
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ia6ef4459ab8c4c8f3f08e7c655c894cb152238da
2023-06-15 20:06:30 +00:00
OpenStack Proposal Bot
dcaa644bdc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia4bf0780c2688c1c6ccf6c823e97ead33914e843
2023-05-24 04:12:13 +00:00
Zuul
ecd4f03a02 Merge "Deal with bytestring serialized json" 2023-05-23 12:46:42 +00:00
Takashi Kajinami
437dcde0ef Add Python 3.10 to supported runtime.
Python 3.10 has been tested since 2023.1[1].

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

Change-Id: I4b5cc06a097f1a6d6253ebacebe37ff0043847c8
2023-03-30 14:55:40 +09:00
5bd2307213 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: Id56c9de342890fc746ec5f9800eff8869beb7655
2023-03-02 11:30:04 +00:00
manchandavishal
fa9efec740 Update `bindep.txt` to sync with the horizon
horizon recently switch nodeset for a few jobs from
focal to debian-bullseye [1] as per the runtime of 2023.1
cycle but looks like 'heat-dashboard-integration-tests'
start failing because the firefox package for debian-bullseye
is missing in ``bindep.txt``. This patch updates the ``bindep.txt``
file to sync with the horizon.

[1] https://review.opendev.org/c/openstack/horizon/+/865453

Change-Id: I190f50654e8c817d4a82d4a0718b94f6a736f237
9.0.0.0rc1 9.0.0
2022-12-08 05:33:46 +00:00
OpenStack Proposal Bot
903d7a925a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If0613dd5ed8ae21693b5a0912a14978a6d13eb65
2022-11-15 03:58:07 +00:00
OpenStack Proposal Bot
c370b69f88 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5054ea70b79a793149b21c47b9d1658b9d97c18c
2022-09-24 04:41:52 +00:00
Zuul
1eee6fc936 Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-09-20 02:26:43 +00:00
Zuul
85c4f45888 Merge "Update master for stable/zed" 2022-09-14 04:50:09 +00:00
OpenStack Proposal Bot
cfbd3dbe9e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I058ec02378eb7d8946a954a691ebdd939f69a95c
2022-09-14 04:07:52 +00:00
33382fa8a7 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: Iaf32eff4d83ae5bdfefe0b4b62dab0d045d98a41
2022-09-13 14:13:31 +00:00
f744cb1b69 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: I49c8fd954ecf4db9e1c3a679429faeaf5e3e6212
2022-09-13 14:13:30 +00:00
OpenStack Proposal Bot
126c5e958b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I46c5009d565b360c5a668ad69928024dc3bc590f
8.0.0.0rc1 8.0.0
2022-09-06 04:43:45 +00:00
niuke
0525d54cca remove unicode prefix from code
Change-Id: I2bb0aa3a7d285bade0fdf115f4afa2e37e9f9c4b
2022-08-29 08:42:29 +08:00
Zuul
733ed4289a Merge "Django 4.x: urlunquote() is removed in 4.0" 2022-08-11 21:01:26 +00:00
OpenStack Proposal Bot
f821404cb0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I74767e2817e026d2e7aefe5b6e43aedd70e32e90
2022-07-28 03:20:48 +00:00
Zuul
2ec646abff Merge "test: Allow to run a specific test" 2022-07-22 04:29:29 +00:00
Corey Bryant
f5f2c89f4a Django 4.x: urlunquote() is removed in 4.0
https: //docs.djangoproject.com/en/4.0/releases/4.0/
Change-Id: I23c767d25fa9585ff322e628714a30f966974fd8
2022-07-21 15:48:18 +09:00
Zuul
d20a335c4b Merge "Update python testing as per zed cycle testing runtime" 2022-07-04 08:53:43 +00:00
Zuul
277515443a Merge "Add Python 3.9 to supported runtumes" 2022-07-04 08:53:42 +00:00
OpenStack Proposal Bot
c56bd43679 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ifbd89d1065d0b40aeb6bbee212cafd2fac5e0321
2022-06-21 02:41:28 +00:00
Takashi Kajinami
8775ec3eee 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: Ia710315f7dc124c4ac9195584eef1450c4a93bb5
2022-06-08 00:00:02 +09:00
Takashi Kajinami
e1d05d8150 Add Python 3.9 to supported runtumes
... because it has been part of tested runtimes since Yoga[1].

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

Change-Id: Ie32786eb519919a2218f77200edf1dc28ec5a10b
2022-06-07 23:58:58 +09:00
manchandavishal
59c7b032d9 Use Horizon project template for nodejs jobs
Horizon defined a project template 'horizon-nodejs-jobs'
for nodejs jobs. This patch updates ``.zuul.yaml`` to
use that template to run nodejs jobs here.

Depends-On: https://review.opendev.org/c/openstack/horizon/+/831929
Change-Id: I9a4656e78314bf56130a14152c7791f577bb4f11
2022-05-24 15:05:19 +05:30
Zuul
b22a9d6e2d Merge "Drop lower-constraints.txt and its testing" 2022-05-24 09:20:52 +00:00
Zuul
2cb96202d0 Merge "Replace deprecated ugettext_lazy and ungettext_lazy" 2022-05-24 09:20:50 +00:00
Zuul
3550566d4a Merge "setup.cfg: Replace dashes with underscores" 2022-05-24 06:47:56 +00:00
Zuul
3597bd7412 Merge "Set False to include_empty_option" 2022-05-24 06:19:58 +00:00
Takashi Kajinami
1ea4f6d15d Replace deprecated django.conf.urls.url()
This method is deprecated in Django 3.1[1], in favor of
django.urls.re_path(), and triggers the following warning.

RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor
of django.urls.re_path().

This was already fixed in Horizon by [2].

[1] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
[2] d9266fd82c1f0acc6b7236a6dc9b7e510985eb13

Change-Id: Ib921e98f220efb697e42673ca43da36cc151e7c7
2022-05-24 05:12:19 +00:00
Takashi Kajinami
e976bf9765 Replace deprecated ugettext_lazy and ungettext_lazy
The ugettext_lazy method and the ungettext_lazy method are both
deprecated since Django 3.0[1].

These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/3.0/releases/3.0/#id3
[2] cd7c1b5110fe1f64cd9dfbeb1072b37912d0efee

Change-Id: Iee48af32956787cb4e16601fea34570f63df511c
2022-05-24 05:11:41 +00:00
Zuul
c9ada8674e Merge "Changed minversion in tox to 3.18.0" 2022-05-24 05:11:30 +00:00
Ghanshyam Mann
866d4bbcc5 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#proposal

Change-Id: I7dc431aea5d800f000826cb371c4f1e1c89dc302
2022-05-24 14:05:08 +09:00
Zuul
e098a608ef Merge "Fixed Unit test for Heat-dashboard" 2022-05-23 16:43:01 +00:00
manchandavishal
68f5d8c494 Fixed Unit test for Heat-dashboard
After 7052b7f065 merged in openstack/horizon a new Unit
test class introduced in horizon i.e. RestAPITestCase.
This patch updates heat-dashboard to import RestAPITestCase
class instead of TestCase. For more info. see [1]

It also update few packages version in lower-constraints.txt and
other files to fix lower-constraints job.

[1] https://review.opendev.org/c/openstack/horizon/+/827097/2/openstack_dashboard/test/helpers.py#485

NOTE: py36 support has been dropped for Zed, so py36 UT no longer works
with upper-constraints for Zed. Thus, the zuul job template is updated
for Zed in this commit together. This commit also needs to be backported
to stable/yoga to fix the UT. When backported, make sure not to include
the zuul template change for Zed.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I81241b2225f1e8b7b38f8f03928d5b4c0b4c8094
2022-05-24 00:42:38 +09:00