Commit Graph

180 Commits

Author SHA1 Message Date
Zuul cf086a04b5 Merge "Bump hacking" 2024-02-21 11:20:36 +00:00
Takashi Kajinami be116b740f Fix releasenotes build of yoga moved to unmaintained
The stable/yoga branch has been deleted and replaced with the
unmaintained/yoga branch, update the reno config accordingly.

Co-Authored-By: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I07c2c650b5dee3ea63d221c779fb4941693ec2c0
2024-02-05 21:12:08 +09:00
Takashi Kajinami ce3dee3563 Bump hacking
hacking 3.0.x is too old.

Change-Id: I170c1b5e15229ab4cf043773208b3a76e3e02188
2024-01-27 22:25:42 +09:00
Zuul 84d622a9eb Merge "Remove unused six library" 2024-01-25 22:05:14 +00:00
Ghanshyam Mann 64c43ec254 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: Ib0dd34eb10f89473497cbf4b9c6034087b6ee346
2024-01-04 01:09:29 -08:00
Takashi Kajinami 9004b5db4c Remove unused six library
The six library is no longer used so can be removed from requirements.

Change-Id: I6f26052bd36c6f0e8dcfdae0969ba35d73fb1557
2023-12-20 21:55:57 +09:00
Takashi Kajinami 0689769ba8 Ignore .eggs directory
Recent pbr creates the ".eggs" directory, which should not be managed
by git.

Change-Id: I00fa4f871d0cada83104f55b31f0e0b1640db474
2023-12-19 21:07:54 +09:00
Zuul ed5d978907 Merge "Disable global venv on the integration job" 2023-09-28 06:28:44 +00:00
Erno Kuvaja e7e154c0c9 Disable global venv on the integration job
This patch disables the GLOBAL_VENV for devstack in the integration job.

Related-Bug: 2031639

Change-Id: I7f25b85bb5f27f2b14d60dff94daaab5ff4f7af6
2023-09-27 12:46:16 +00:00
OpenStack Release Bot 844925ac94 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: Ic8d47342684956aa18db3e6510461829a720386c
2023-09-25 14:53:15 +02:00
Zuul 471d760f86 Merge "Add Python 3.9 support to classifiers" 2023-09-20 05:02:15 +00:00
OpenStack Release Bot a3a3ccbc2b 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: I501acde0be6ff329cacd7e190961b45ad40a6a92
2023-09-07 09:39:52 +00:00
Erno Kuvaja 10e3d15000 Add 'check_requirements' to CI
Sets oslo.utils lower bound to 4.7.0 to satisfy check_requirements.

Change-Id: I8997cf26173d9c1ec4afd08df5bbaad303b23199
2023-05-05 14:59:19 +01:00
OpenStack Release Bot fecef0bd84 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: Ibbe7bdfe588d0df5395ed6ad3e6c25a3f0a463a4
2022-09-14 09:25:04 +00:00
OpenStack Release Bot 3cdfa0f29a 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: I49ae5c5b65ce00a22aea306f0043bc4ab097b3bd
2022-09-06 12:35:29 +00:00
niuke 5c01e19b38 remove unicode from code
Change-Id: I248fa08a60a548908d6890e61f578b7b7f9aefa6
2022-07-28 10:19:17 +08:00
Takashi Kajinami cac701a531 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

Note this change disables one unit test case consistently failing.
It should be fixed later by a separate patch.

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I6ef3bbb3f8b4aef077320478a00e096e0a57a71e
2022-06-08 15:04:29 +09:00
Takashi Kajinami b31312dd9c Add Python 3.9 support to classifiers
Python 3.9 is part of tested runtimes for Yoga[1] and has been used in
the voting py39 job.

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

Change-Id: I00a0c8dfb2a9de1b9068ed7509dd1e1522fa4f91
2022-05-07 02:05:33 +09:00
OpenStack Release Bot 9ed2b13d86 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: I7b6ca1ec4cfe5781f7655561e6b9674bc6fa7896
2022-03-03 10:38:52 +00:00
Zuul 4a2da3e28d Merge "setup.cfg: Replace dashes with underscores" 2022-02-07 08:34:47 +00:00
Takashi Kajinami acdfd6b04a Add Python3 yoga unit tests
This is a 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

This patch is manually created, because the previous patch was not
merged before Xena release and release bot didn't create the automated
patch at that time.

Change-Id: If3069c1711dfda9ab19bf15c335c09db566bf3c1
2022-02-06 21:09:13 +09:00
Zuul 258edbb66c Merge "Add Python3 xena unit tests" 2022-02-06 11:38:49 +00:00
OpenStack Release Bot b4c43bfa04 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: Ie0c5d916a219a56165fbf0bcc10cc08ea11e07c6
2021-09-10 14:32:56 +00:00
Zuul 0dc04ba73d Merge "Replace the following items with Python 3 style code." 2021-08-28 17:02:05 +00:00
Yandong Xuan f588aba8b5 setup.cfg: Replace dashes with underscores
Resolves warnings like the following:

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

Change-Id: Iafa5424d5c337226f5795f6e79b530f4e8b499e2
2021-04-26 14:52:25 +08:00
OpenStack Release Bot 335ea3f0b5 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: I7e395355cb008486fff1b1683364bad9e0e14980
2021-03-12 12:30:40 +00:00
OpenStack Release Bot 082dabb1b7 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: I4bea6b4c808a314dd98dd59d153b923797fc8f21
2021-03-12 12:30:09 +00:00
xuanyandong c5067f8097 Replace the following items with Python 3 style code.
- six.iteritems
- six.moves.cStringIO

Change-Id: I8236a7c6c8063c5c5d548b51a49c323ad4c14629
2020-12-01 11:19:44 +08:00
OpenStack Release Bot caeeb51c70 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: Ia85123faaf1aadcd8cd1e3f0e816dc38799d053f
2020-09-10 09:27:39 +00:00
OpenStack Release Bot 67a6ae147d 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: I233b3715dae7bd71e1a678a55baeb267ec7851e6
Sem-Ver: feature
2020-09-10 09:27:37 +00:00
Andreas Jaeger b3613ff708 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: I7966fa4281dde7e6340d632333ea8f8b84128bde
2020-06-02 14:00:56 +02:00
Andreas Jaeger d6b4ed4c7b Further Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Use newer openstackdocstheme,reno and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete
- Update hacking to 3.0.1, fix warnings found
- Remove babel.cfg, it's not needed anymore

Change-Id: I60edb7e44e4a8222f564f30157eb31288b85b422
2020-05-13 14:09:38 +02:00
Zuul f7c3a86d48 Merge "Bump default tox env from py37 to py38" 2020-04-26 01:45:02 +00:00
Sean McGinnis a29dc0ab94
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: I0bad7c33e0692d3e1e0d59e48afe43f96e903f59
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:25:35 -05:00
Sean McGinnis 247deff36a
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: I2924b0406a317523e94cb1efdc24cb96b1cba0ee
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:22:34 -05:00
Sean McGinnis 0b6708e986
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I64f6f5df4d82faef205e5019be5a41c1b1f1f1fa
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:52:18 -05:00
OpenStack Release Bot deacd8d782 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: I48909423d8b440c9bea096d78e9a43721a64a44e
2020-04-11 18:49:28 +00:00
OpenStack Release Bot e80e0f4c86 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: I601c11532c23cdccc8666218757f777045981158
Sem-Ver: feature
2020-04-11 18:49:25 +00:00
Romain de Joux ba22defb59 Use swift.backend_path from Swift/s3api to extract account/container
Still use PATH_INFO by default if s3api not enabled and swift.backend_path
not available

Depends-On: https://review.opendev.org/#/c/718086/

Change-Id: Ibb5fc6a717b9bc938aa86c4550d156fe93dae65c
2020-04-08 22:23:52 +02:00
zhurong c6b90ec56a Cleanup py27 support
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:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I1db16203ad150c6286c0ca833c01a456981d0a73
2020-04-07 04:57:31 -07:00
Zuul b50cc03765 Merge "Change openstack-dev to openstack-discuss" 2019-12-06 06:37:53 +00:00
Zuul af8c8ff29c Merge "Drop python 2.7 support and testing" 2019-11-07 04:57:53 +00:00
Andreas Jaeger e0c8d972f4 Replace lib-forward-testing-plugin
This repo is the only user of lib-forward-testing-plugin template,
replace it with a native integration job that installs all repos from
source and runs ceilometer - as the only job in
lib-forward-testing-plugin does.

Change-Id: I255c0ddd220633b566b9376473ede4b7ed16ca34
2019-11-02 09:17:40 +01:00
Ghanshyam Mann ea270ed582 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ceilometermiddleware is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: I48f75b701ecc4eee3134473bc854a0825b705203
2019-10-30 07:57:07 +00:00
zhangboye ff3bb37ae9 Switch to Ussuri jobs
Change-Id: I54f4146287fe777f228474442ae61d5ef045f5f7
2019-10-25 14:12:33 +08:00
Thomas Bechtold e379747cd8 Drop oslosphinx and use openstackdocstheme
OpenStack moved to openstackdocstheme so use it here instead of
oslosphinx.
Also update the used Sphinx version. This is now in sync with the
versions from requirements/global-requirements.txt .

Change-Id: I0ffbea9b83abe9d9ae3886e7a427fc01637b36ea
2019-09-24 09:51:07 +02:00
OpenStack Release Bot ce77eba479 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

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

Change-Id: Idb3ee39f878ecf60eed10cb53efa61be57a046a7
Sem-Ver: feature
2019-09-20 16:20:04 +00:00
Romain LE DISEZ fc21cde1c2 Fix a socket leak in case of broken connection
Change-Id: I39cbbe5915ab95fb0927b0899b8f09870b4c0b07
2019-08-09 10:31:44 -04:00
Zuul ccf9f6a4e0 Merge "Add Python 3 Train unit tests" 2019-07-13 15:05:31 +00:00
zhurong edfeca139d Fix py37 test error
Change-Id: Ia36e5025d8db1568c5512263833c558c55c10f59
2019-07-09 08:08:42 +00:00