Commit Graph

1089 Commits

Author SHA1 Message Date
OpenStack Release Bot 744efb4fc5 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: Ic390789f746f69eba39c1d0a2a233cce79366c0f
2023-09-15 14:37:14 +00:00
OpenStack Release Bot c830376eaf 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: I47c4da4790755ce60e8b9a5d562e9d96fadd2135
2023-03-03 13:23:10 +00:00
OpenStack Proposal Bot 2fbedc589d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iec2aa1cc4daf22f695cbb8797000bbc45338ce3e
2023-01-31 02:48:48 +00:00
manchandavishal 4d07066a9e 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.
- whitelist_externals replaced with allowlist_externals since
  tox 3.18.0
  whitelist_externals option has been deprecated in
  favor of the new allowlist_externals option[1].

[1] https://github.com/tox-dev/tox/blob/legacy/docs/changelog.rst#v3180-2020-07-23

Change-Id: I478545d83231119fda0661f800246be7680e5190
2023-01-17 23:05:21 +05:30
Zuul bdc39bbb04 Merge "Django 4.x: Address RemovedInDjango40Warning" 2022-12-07 05:57:21 +00:00
Zuul 5cacaf26a1 Merge "Imported Translations from Zanata" 2022-12-07 05:41:04 +00:00
Zuul 3ee3f32272 Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-12-07 05:41:02 +00:00
OpenStack Proposal Bot 9fb7509382 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib3c5e960aa682dae54486ed86ed0a485095e74f6
2022-12-07 02:17:37 +00:00
Corey Bryant ec1d07f7e6 Django 4.x: Address RemovedInDjango40Warning
force_text() is deprecated in favor of force_str()
and urlquote() is deprecated in favor of
urllib.parse.quote() in Django 4.0. For more please
refer [1].

[1] https: //docs.djangoproject.com/en/4.0/releases/4.0/

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

Change-Id: Ibc97402b735c3ddbdd7a2174e14353dad34cbc22
2022-12-01 16:04:53 +05:30
Hervé Beraud 359cc1e138 Remove python-dev from bindep
This patch removes few packages from 'bindep.txt' which no longer
supported by jammy to fix the CI.

Co-Authored-By: manchandavishal <manchandavishal143@gmail.com>
Change-Id: I636a2d6ac66b98bc2513db8e65066b30bf5068fb
2022-11-09 10:08:55 +05:30
OpenStack Release Bot aeed480a44 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: I89e4b6c5304e1cb78b8e51404e8061212fa3a374
2022-09-13 12:31:58 +00:00
OpenStack Release Bot 03446af7db 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: Ib10aa3a920431118a71c39960d527ce05f1be1d7
2022-09-13 12:31:55 +00:00
Zuul 0c57fd76c4 Merge "Address RemovedInDjango40Warning" 2022-08-11 14:01:31 +00:00
Zuul d354853964 Merge "Replace deprecated ugettext_lazy and ungettext_lazy" 2022-08-11 13:40:18 +00:00
Zuul d55bada90e Merge "Drop lower-constraints.txt and its testing" 2022-08-10 13:49:22 +00:00
Ghanshyam Mann 4791c14886 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: I8f4276fbd0f756cf7032822ffb6ca51b4d934478
2022-08-10 15:14:41 +02:00
OpenStack Proposal Bot 576e1c51e3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I62f22c2d5a4b1511a400d601989a7f34b60c846b
2022-08-10 02:27:29 +00:00
Zuul 647ab1d40a Merge "Update python testing as per zed cycle testing runtime" 2022-08-09 11:10:38 +00:00
Takashi Kajinami a5007ee3bd 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: I90224714987c8583a8d407f661494479db4214af
2022-07-11 14:04:13 +09:00
Takashi Kajinami d742269b83 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: Iebd573f07fde5cae14b48a89c7292a923ff03aee
2022-07-11 14:03:48 +09:00
manchandavishal e91ab23210 Address RemovedInDjango40Warning
In Django 3.1, django.conf.urls.url() is deprecated
in favor of django.urls.re_path(). For more info see [1]
These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
[2] https://review.opendev.org/c/openstack/horizon/+/827093

Change-Id: I3671c2bb499664997e18cd200d6293cb146895e3
2022-04-29 18:15:12 +05:30
OpenStack Release Bot 19ba30d6f6 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: I8f858a119a3a0d19298754fe1cb105c9162dd503
2022-03-11 11:54:07 +00:00
OpenStack Release Bot a207cf210f 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: I7088d8cf55ab4df1ba39696f4953b237531f7d00
2022-03-11 11:54:05 +00:00
Zuul da7235b34a Merge "Update python testing classifier" 2021-12-24 01:36:06 +00:00
hejunli 46a5ad1317 Update python testing classifier
Change-Id: Id1fe6281cf2475ca84cd148bfbbd402c16e0b9d8
2021-12-23 20:35:49 +08:00
Zuul 364c864d56 Merge "Pass configured endpoint type to sahara client" 2021-12-23 11:52:19 +00:00
Pierre Riteau 693624c9af Pass configured endpoint type to sahara client
Change-Id: I8136409020a7251ae1015129236b0e3d2d20a51b
Story: 2009735
Task: 44157
2021-12-09 12:40:38 +01:00
OpenStack Proposal Bot 5fbc46f917 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5eaad1a1cd2fb7ac6fe26cfd1196898154df56ba
2021-10-27 04:25:40 +00:00
Zuul aa9be40a5e Merge "Add Python3 yoga unit tests" 2021-10-26 15:46:54 +00:00
Zuul a6c776c15b Merge "Update master for stable/xena" 2021-10-26 15:36:05 +00:00
manchandavishal 23c64ca188 Bump decorator version in lower-constraints.txt
This patch update decorator version to 4.4.2 in
lower-constraints.txt to fix the lower-constraints job.

Change-Id: I70c82525454c93d2d763b5f304d8fa7d2f57b1f8
2021-10-11 18:54:49 +05:30
OpenStack Release Bot c356c278b7 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: If1116c0e42503df303b7a475133d21c184b214c1
2021-09-17 16:48:11 +00:00
OpenStack Release Bot 33d9280f58 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: Ic0d82332a5e6175c260207da3f8e09e9ad27f282
2021-09-17 16:48:10 +00:00
OpenStack Release Bot 4604f95cb2 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I85d1aaa23aee4ca2377cd92445239952b402b257
2021-03-22 10:03:06 +00:00
OpenStack Release Bot 50b9bde1f8 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: Ia43e040dd63569c864f0eba10ca6a226555d6e8d
2021-03-22 10:03:02 +00:00
OpenStack Proposal Bot 084b61a636 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iba394881cb0415923fdd31aa7b20efb9e69e52a0
2021-03-06 08:06:31 +00:00
manchandavishal 445306dda9 Fix lower-constraints job
lower-constraints job does not need linters, So we can drop
mccabe to fix the lower-constraints job.

Change-Id: I0342d9a3dfb441f89aa9d100b4eadbc6d49f87e5
2021-03-05 06:08:52 +00:00
zhouguowei 98bf558d77 Remove error links
Change-Id: Ia264d45146df93b8c8602333dddd96f89483f15c
2021-01-03 16:16:50 +08:00
zhouguowei 61a1129f9d fix the unicode problem
Change-Id: Ia5cd40f6bd457b7cb11efd638ef2df88dfb68b0f
2021-01-03 15:56:57 +08:00
OpenStack Proposal Bot 1e67bcbe6a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ibc8e410b73ee6f4bcec72431f84ff058ff413c87
2020-10-04 08:08:27 +00:00
OpenStack Release Bot 474fa6b5dc Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ic0695b19987c724bbdff23a527ee1020afc0bfd9
2020-09-23 13:16:34 +00:00
OpenStack Release Bot 817aa49962 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: I2808a28f3a6fce7edf654aab833fff216cecbe8c
Sem-Ver: feature
2020-09-23 13:16:32 +00:00
manchandavishal 3fc494d173 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

removing the python-zmq from bindep as that is py2 things and not
available/needed for Focal/Victoria testing.

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8
support in their later version.
Story: #2007865
Task: #40216

Closes-Bug: #1886298

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal

Change-Id: If68e8dcb2295267195acc4918abe5167e863a7f2
2020-08-12 13:06:35 +00:00
OpenStack Proposal Bot 0a891cf232 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic6951d1a6003c6e8775b1963a7956bc430059a56
2020-06-16 12:54:27 +00:00
Zuul 08d4d8e653 Merge "Switch to newer openstackdocstheme and reno versions" 2020-06-08 20:27:57 +00:00
Hervé Beraud d1fa66b049 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I1ebbcf68cb475cdd35f8c0ecd106cd0b22738530
2020-06-02 20:57:11 +02:00
Andreas Jaeger eb7c8919ad Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 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.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

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.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I8a1ab16a84cdbbaf7b22b5dc58aab54980866415
2020-06-01 15:54:08 +02:00
Ghanshyam Mann 76fea14dbc Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I722019df784bbc7b791f2146beb1d0ca20dd04de
2020-05-12 21:01:19 -05:00
OpenStack Proposal Bot b3f0a63068 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2cd1ef3088becf303dcbbba86dfe349e85282273
2020-05-07 09:24:28 +00:00
Zuul 1f11936796 Merge "Cleanup py27 support" 2020-05-05 06:41:44 +00:00