Commit Graph

90 Commits

Author SHA1 Message Date
Elod Illes f23d13c01f Remove .gitignore
When proposing the patch [1] to retire panko deliverables in governance
repository, the validator fails as there should be only .gitreview and
README.rst in the retired repository. This patch cleans up .gitignore
file to make the validator pass.

[1] I0bec371f442c4e39557bf1f0d94697e1577bb838

Change-Id: I5cc65714c6e0eaf835d321f4dd48501167182568
2022-07-22 15:05:31 +02:00
Matthias Runge 4acf636975 python-pankoclient is no longer maintained.
The contents of this repository are still available in the Git source
code management system. To see the contents of this repository before it
reached its end of life, please check out the previous commit with
"git checkout HEAD^1".

For any further questions, please email
openstack-discuss@lists.openstack.org or join #openstack-telemetry on OFTC.

Change-Id: I10a6f35f14b5883f62e4675216dee7a11f749443
2021-05-27 11:43:19 +02:00
OpenStack Release Bot f483f684c2 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: I23fd54124492fe158b48888b94d094b07422d439
2021-03-18 10:49:45 +00:00
OpenStack Release Bot acdd2bf04c 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: Id1da7f2a0eec26fd40748e63acdffee3eb66d750
2021-03-18 10:49:42 +00:00
Zuul a20549e143 Merge "Remove translation sections from setup.cfg" 2020-09-20 00:31:50 +00:00
OpenStack Release Bot 954049e17a 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: I41bfeb14708099b2f0c925b3db43d1607defcfe7
2020-09-17 17:28:25 +00:00
OpenStack Release Bot a31b82ce7c 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: I46e1c1482ca921c4a93e5077338f89bc6e7f759e
Sem-Ver: feature
2020-09-17 17:28:23 +00:00
wu.chunyang 29d5203b3d Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Remove babel.cfg as well, this is the default role and not needed
anymore. more info:
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: I814ea7e796fadf33fd2a761e8c2a2e3ef2b6c813
2020-08-19 00:11:15 +08:00
Hervé Beraud eba9ee7f8b 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: I734b87a6e24303ea96550363760c595c536654b5
2020-06-02 20:50:54 +02:00
Andreas Jaeger 7762a1d56d Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

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.

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.

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

Change-Id: I62d27c933808a317f88baea3d2fb7e300e10ae4e
2020-05-22 17:31:35 +00:00
Zuul f34c009b19 Merge "Bump default tox env from py37 to py38" 2020-04-26 01:02:45 +00:00
Sean McGinnis 51bbbae1ea
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: Ib483825e7b43b9bc86970551b5523c5ec3ec8551
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:25:57 -05:00
Sean McGinnis 81ed4a0e50
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: I6bdf589336924579d32e03ce3d3a99e3ff7a8184
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:18 -05:00
Sean McGinnis 81239f371c 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: Ib2a1770771096707f70e60d5ab1374e997f519eb
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-Authored-By: zhurong <aaronzhu1121@gmail.com>
2020-04-19 23:07:17 -07:00
Andreas Jaeger 795dc20715 Docs cleanup and hacking update
Switch to using sphinx-build, cleanup conf.py, update
to newer sphinx and openstackdocstheme versions for Python 3.

Update to hacking 3.0.

Fix build problems.

Change-Id: Ib3ea77c973a9592710a9d75c76c443881f1a4bc1
2020-04-17 20:32:41 +02:00
OpenStack Release Bot 5de857cf1d 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: I3e50be6bfeb63eeb3c68442de7b06ecc42783b93
2020-04-11 18:50:03 +00:00
OpenStack Release Bot 04172a9df9 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: Ic1cd7bd1427d09d53ac6ccd7fc5cfd77c3d2803e
Sem-Ver: feature
2020-04-11 18:50:01 +00:00
Andreas Jaeger f6074779f7 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

Change-Id: I048ae7e3f916792f0a152db98487ae57bde9fd36
2020-04-04 17:11:03 +02:00
Ghanshyam Mann 8da5d0add8 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-pankoclient 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: I8870a93f9889b09d8b4c638176af59ef10f490a2
2019-12-13 23:47:05 +00:00
OpenStack Release Bot 3795638b39 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: I7723ea8633b1611ca9d57ba3ab5d7e049f3941c4
Sem-Ver: feature
2019-09-20 17:42:18 +00:00
Corey Bryant 28b55860a2 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I559e831eaa788459ee90c0a91fdd9fe6685c8c4a
Story: #2005924
Task: #34251
2019-07-05 16:32:11 -04:00
Andreas Jaeger dfe24070a9 Remove telemetry-tox-py37
This repo uses  openstack-python37-jobs template, so no need for an
extra telemetry-tox-py37 set of jobs, remove them.

Change-Id: I9c66ec855d297d6f37a84f33d234046bb54d2faa
2019-05-14 10:26:54 +02:00
ZhongShengping 02361f184c Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: Ie4283c3ace507f256ec9b421cb84d8f58e3f0cbe
2019-04-22 14:22:05 +08:00
OpenDev Sysadmins d37b151b20 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:48:04 +00:00
ZhongShengping 5c320bc419 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Ic09c22a79fb3ea647db0ea6decd4f47174b0b3be
2019-04-15 09:46:47 +08:00
Tovin Seven 4723ef86f1 Add Osprofiler support for Panko client
Change-Id: I40e6be2d8d5219bdf81bd9359d46d4f9464e1255
Depends-On: Ic934acbe1340a3e00361f2709f34725e0e4aa3ba
2019-04-12 08:27:05 +00:00
Zuul 2fb95cb8bd Merge "Update json module to jsonutils" 2019-04-04 17:16:48 +00:00
Zuul f1770dc43b Merge "Remove PyPI downloads" 2019-04-04 17:16:47 +00:00
Zuul 64d018f57f Merge "Update mailinglist from dev to discuss" 2019-04-04 17:16:47 +00:00
Zuul ecb036e791 Merge "Add Python 3.6 classifier to setup.cfg" 2019-04-04 17:03:21 +00:00
Zuul e22d5ffad7 Merge "add python 3.6 unit test job" 2019-04-04 17:03:20 +00:00
Zuul 57741577ab Merge "add python 3.7 unit test job" 2019-04-04 17:03:15 +00:00
OpenStack Release Bot bfadfc1cf9 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

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

Change-Id: Icc075fced9df5668bd52903191ef5f39f29aaa24
Sem-Ver: feature
2019-03-18 14:54:38 +00:00
cao.yuan a7eb48e314 Update json module to jsonutils
oslo project provide jsonutils, and pankoclient use it in many place[1],
this PS to update the remained json module to oslo jsonutils for
consistency.

[1]: https://github.com/openstack/python-pankoclient/search?q=jsonutils&unscoped_q=jsonutils

Change-Id: Id05dcc9de18fe1e594920843f79970e72bde940c
2019-02-25 19:26:02 +08:00
ZhongShengping d1e1acfce1 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: Ie4951ad9a6d1337ca2402eec3504b661997831a9
Story: #2004073
Task: #27457
2019-02-19 17:06:01 +08:00
zhangyifan 2505229eb8 Update mailinglist from dev to discuss
Closes-Bug: #1808901

Change-Id: I025aff15ffb2e4335b9cbb9abc6e9c182f2633fd
2018-12-18 12:41:18 +08:00
qingszhao 130b8dbb01 Add Python 3.6 classifier to setup.cfg
Change-Id: I1d8e48b12cb56fdf4340562cff9bce2c7700bebc
2018-11-30 07:15:59 +00:00
Vieri 8acbe80cf0 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I2a1a08dafbd9f176628ed35fcd797eff2205b94b
Story: #2002586
2018-11-28 07:49:57 +00:00
Doug Hellmann 0a27e534d8 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I9bb0540896314175f478bc404ee3923dcdbfecdb
Story: #2002586
Task: #24339
2018-08-31 08:01:31 -04:00
Doug Hellmann 443de2bedb switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Idb4c6c67fba731060ac9489ed545ea16a401177a
Story: #2002586
Task: #24339
2018-08-31 08:01:25 -04:00
Doug Hellmann 0b4bc7cb9f import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I3dd56c2152be62012f026ed59dac376b9d3cd9b1
Story: #2002586
Task: #24339
2018-08-31 08:00:59 -04:00
Mehdi Abaakouk 354044274a Add python 3.7 gating
Depends-On: I248c7ff3e306fa1086920c24baa73312e5e31b91
Change-Id: I6ae91307f68ba3833ef959a5d0e18b146a593f3f
2018-07-26 07:46:39 +02:00
Chen 2c456f524f Remove PyPI downloads
According to official site,
https://packaging.python.org/guides/analyzing-pypi-package-downloads/
PyPI package download statistics is no longer maintained and thus
should be removed.

Change-Id: I6d92a4548c00a845b24dd143f5354f7b43209b59
2018-06-07 22:38:41 +08:00
Doug Hellmann 572aee9cf6 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ie7fa610fa9de2be9d700217655c967ac9f404b3a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 17:58:18 -04:00
Zuul 1f01925dd3 Merge "Handle strings as response error_message" 2018-05-22 12:55:03 +00:00
Zuul e5eb4344ba Merge "Make osc plugin work again" 2018-05-22 12:55:03 +00:00
XiaojueGuan bfdccf16f8 Trivial: update url to new url
Change-Id: I6fb985d2760eb5d47294d97f97f3b1f099d7978c
2018-05-13 21:24:21 +08:00
vmarkov 8fc3a19e1e Handle strings as response error_message
Change-Id: I9643303973edd992066ff013a9cec21be689ae84
Closes-Bug: #1755851
2018-03-14 19:01:46 +02:00
vmarkov be4dfa504e Make osc plugin work again
while moving to SessionClient the OSC plugin
was forgotten to be amended accordingly.

Besides, the keystoneauth Adapter's request method
returns a single response object, not a tuple.

This commit also updates relevant requirements to be
in sync with global OpenStack ones.

Change-Id: I1cd33feec81bafad6237ca72b9c2f410237898b4
Closes-Bug: #1747718
2018-03-14 17:42:12 +02:00
Zuul 346ade1e35 Merge "Update reno for stable/queens" 2018-02-27 17:31:14 +00:00