Commit Graph

281 Commits

Author SHA1 Message Date
OpenStack Release Bot 4ce5038805 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: I3f548dd362a8e932c6c812cc7f3833ba6d9f8027
2024-03-14 06:55:54 +00:00
likui 3c73987272 Add py3.11 support in testing runtime
Change-Id: I1fc9bb6a9a8d8f23dff35f466e8ed742a4a0d9e5
2024-01-15 14:07:06 +08:00
OpenStack Release Bot d3e7a12dc4 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: I9328fdd8e22fa2d8637ebf4560426031c38df961
2023-09-14 01:22:53 +00:00
OpenStack Proposal Bot c74c81b422 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I90fe25c87f2430cd6f9d4ce41c49714162bf7536
2023-06-19 04:44:06 +00:00
Zuul 75c901a144 Merge "remove unicode prefix from code" 2023-06-06 06:11:13 +00:00
OpenStack Release Bot 612806d63d 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: I027a2e6537593dfcda46d8d3a90cadf278c2da18
2023-03-01 09:31:36 +00:00
Elod Illes 5dc68bb5d5 Fix tox 4 compatibility issues
Tox version 4 introduced changes that causes new failures in tox jobs.
This patch fixes these issues.

Change-Id: I76b01501a60941ff33caf9064a7771f60a1b891b
2023-02-24 12:02:39 +01:00
Zuul 7906f51c48 Merge "Imported Translations from Zanata" 2022-12-15 09:37:37 +00:00
OpenStack Proposal Bot 47a9ff4a53 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0ee0cccad5474675fac6bf38f04679eb74dc3d55
2022-11-30 03:49:04 +00:00
Zuul e8db42d7e3 Merge "Imported Translations from Zanata" 2022-11-30 03:10:15 +00:00
OpenStack Proposal Bot 57498255d0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3f23839b506662be93d560ee39c5259d71125a99
2022-09-15 02:31:59 +00:00
OpenStack Release Bot 5031070578 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: Id99e398e06b90ac49db3d30a136a4b685f24c796
2022-09-14 12:22:35 +00:00
OpenStack Release Bot b86178bbbf 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: I1c5dcac3f09974ed85f7f2ca72dca8adbe4eaa3f
2022-09-14 12:22:34 +00:00
niuke ae031a2811 remove unicode prefix from code
Change-Id: Ie6d0aef6e2ea2dd7b328c362144bd0981f641ca9
2022-08-25 10:23:34 +08:00
Zuul e41e5d10f3 Merge "Replace deprecated ugettext_lazy and ungettext_lazy" 2022-07-21 00:02:35 +00:00
Zuul d5792c9c3f Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable" 2022-07-20 14:06:46 +00:00
Zuul e80e46ed99 Merge "setup.cfg: Replace dashes with underscores" 2022-07-20 14:05:51 +00:00
Takashi Kajinami 444a209cb1 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: If17fba432f4a00979f70b535bc1f1750d8a15f19
2022-07-11 05:42:10 +00:00
Zuul 31a03f6339 Merge "[doc]remove warning for "deprecate this project"" 2022-06-13 09:52:46 +00:00
zhouhenglc fa982592a0 [doc]remove warning for "deprecate this project"
We have revived the neutron-fwaas-dashboard project[1], we
shoulod remove the warning in README.rst.

[1] https://review.opendev.org/c/openstack/neutron-fwaas-dashboard/+/828398

Change-Id: Ie64ec28a2c4b75c191670ca1ddd52781baa59f38
2022-06-03 14:39:36 +08:00
likui e4600cf2d9 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I47dbfa2c110020742a00279859909a3b44e4a18b
2022-05-17 18:00:39 +08:00
likui 85962675a1 Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is old name and deprecated

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: I274a49b402caec096c377cd4954f85d1b74b48c5
2022-05-17 17:57:27 +08:00
maliangyi 48943b1feb 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 classfier for the same.

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

Change-Id: I3598276117406260194e9469ae8420ed901c15b0
2022-05-16 15:22:59 +08:00
Zuul ff7a23c64f Merge "Address RemovedInDjango40Warning" 2022-05-13 11:29:09 +00:00
zhouhenglc 6ab2105bd9 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: I5bc51f982fa516acbda4b48466504be336cf4933
2022-05-03 15:19:57 +08:00
manchandavishal ad4f6941e3 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: I67a54ce20d71165414553518d81a81764b375dc0
2022-04-29 22:39:40 +05:30
Zuul 0050fddc6e Merge "Rename zh-cn translations to zh-hans" 2022-03-31 00:17:43 +00:00
zhouhenglc 12f453c43d Add Python3 zed unit tests
Change-Id: Ic78a93f63e2850be5554ff70b0dcd72805a4cb7a
2022-03-21 19:09:26 +08:00
zhouhenglc 041d9d16b0 Rename zh-cn translations to zh-hans
See http://lists.openstack.org/pipermail/openstack-discuss/2021-February/020169.html

Change-Id: Iddf5a690df324b3e77415052e3c5cd4a97498c88
2022-02-18 11:01:20 +08:00
ZhouHeng e8463a1ad4 Revert "Retire neutron-fwaas-dashboard project"
This reverts commit 4a0f1a3ae5.

Reason for revert:
Neutron drivers team agreed to include neutron-fwaas again to Neutron
stadium[1], and goverance change is proposed at [2].

[1] https://meetings.opendev.org/meetings/neutron_drivers/2022/neutron_drivers.2022-01-28-14.00.log.html#l-14
[2] https://review.opendev.org/c/openstack/governance/+/828078

Change-Id: I5018dfdf9ea866e113a17f9bd5a3b153e4f1c08f
2022-02-10 20:58:31 +08:00
Ghanshyam Mann dffb01f9b9 Moving IRC network reference to OFTC
Change-Id: Ic97e870c2ea3678c29f32f87045026b4a35fcc53
2021-07-08 18:45:35 -05:00
Slawek Kaplonski 4a0f1a3ae5 Retire neutron-fwaas-dashboard project
Governance change is proposed at [1] and project config patch is
proposed at [2]

[1] https://review.opendev.org/735828
[2] https://review.opendev.org/#/c/735812/

Change-Id: Ib78ff301076c0295aad9b1bf49eed0f1a7adb7c2
2020-06-16 12:39:14 +02:00
Hervé Beraud 6451d3dbff Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I72feb6bdcee015029beb274b57600e3e5b4b9ed9
2020-06-11 10:53:14 +02:00
Andreas Jaeger 393a8583d5 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.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

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: I467bf0ecbe308cfc39aed6aedd58f5947d2fc3df
2020-05-23 17:49:10 +02:00
Ghanshyam Mann b0fef79c06 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: I4e37d6101f957db0f4a4a9ebb9c9b5d3936e1335
2020-05-12 19:48:41 -05:00
Zuul 322dbc5113 Merge "Cleanup py27 support" 2020-05-04 12:21:05 +00:00
OpenStack Proposal Bot 2a11a0e7bb Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I29d8b27dba1abd409dadda616ac6a0d1a6785134
2020-05-02 07:40:37 +00:00
Zuul ce970f1957 Merge "Bump default tox env from py37 to py38" 2020-05-02 03:29:42 +00:00
Zuul 80c9dc1d12 Merge "Add py38 package metadata" 2020-05-02 03:28:51 +00:00
OpenStack Proposal Bot ecd6fee412 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I929b6bbf57fedbbe463cafce2bf09d4f8b3e5061
2020-04-26 07:30:47 +00:00
Sean McGinnis ec072d3dec
Bump default tox env from py37 to py38
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.

This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.

Change-Id: Ied60fa88c5a2538cdc908d119253a5296b05f816
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:25:46 -05:00
Sean McGinnis 33b1a9af78
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I582d11576a67443fff0e4090245d504d0f1cc0fa
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:22:38 -05:00
Zuul 40e95de81f Merge "Imported Translations from Zanata" 2020-04-24 05:22:10 +00:00
OpenStack Proposal Bot ea41fcc38c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I8d04cbaeec3b4e98a1e1d23848ee5dae74a8eeac
2020-04-23 07:59:44 +00:00
OpenStack Release Bot 017e87b107 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

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

Change-Id: I86ea4f45a9feb367d1b3afd675485c8af34a9ae5
2020-04-22 16:08:37 +00:00
OpenStack Release Bot db384797a2 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I729ae993798d8fcc30ee8d06530a134921ba9474
Sem-Ver: feature
2020-04-22 16:08:33 +00:00
Andreas Jaeger 0f9a50ed8d Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.

Change-Id: Icab2b68608002968bbc56791faedd119db7516e7
2020-04-22 07:34:10 +00:00
OpenStack Proposal Bot b05e6322c5 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I83641880a0c5ebc218e585df96d417a0f136009b
2020-04-11 06:40:59 +00:00
Zuul d49e7ef3a3 Merge "Fix pyScss version in lower-constraints.txt" 2020-04-08 17:11:21 +00:00
Zuul 0b73bc6bfd Merge "Update hacking for Python3" 2020-04-08 17:10:07 +00:00