Commit Graph

632 Commits

Author SHA1 Message Date
Stephen Finucane 66c6929fc8 Bump CI jobs to Python 3.11
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I10c1ae5173f2156211a8c7e03c79d4769be605cf
2023-12-14 12:59:19 +00:00
Zuul 4256fe1146 Merge "Remove ceilometerclient" 2023-08-31 17:18:57 +00:00
Artem Goncharov f81a146e3b replace "-" with "_" in setup.cfg
Time is ticking and a deadline is approaching fast for "-" in setup.cfg
to stop working.

Change-Id: I429d4a01b0fa782d6a65d180d57c49e842f199ff
2023-08-30 09:15:39 +02:00
Takashi Kajinami 1971cbdc72 Remove ceilometerclient
... because ceilometerclient was retired a long ago.

Change-Id: I6f3694640727d5d60bb50c34b2d2038eb978fda4
2023-02-20 12:08:56 +09:00
Stephen Finucane 59a3dc90a9 Add support for tox 4
Some random fixups to make it tox 4-compliant.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Iea0a929bda37d748497e6fdd730767e25bd9a6dc
2023-01-10 13:58:34 +00:00
Dr. Jens Harbott 624cb97222 Fix zuul jobs
Some clients dropped support for py37, run the tips job with py38
instead.

Drop lower-constraints jobs and use the latest version of the
openstack-python3-jobs template.

Fix pep8 errors that have crept in.

Disable shade jobs until they can get fixed.

Change-Id: I99871f28cd8a66adf5610104ca142c2871e99b0d
2022-05-24 15:34:10 +02:00
Andreas Jaeger 82a708b09f 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: I9b21866eee164c1c14d0e4333e842bd6fefcb820
2020-05-31 20:37:45 +02:00
Hervé Beraud aa10eb7bcb Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I8e91b4b19d6d71e052061074ad927623a2892830
2020-05-26 22:03:14 +02:00
Andreas Jaeger 0ef60e6249 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.5 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers

Depends-On: https://review.opendev.org/718068
Change-Id: I55b4938edae85aa8108be62c49f0ac7fc6682997
2020-04-17 12:04:22 +00:00
OpenStack Release Bot fd0db53db1 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: I702f59f7783fee78aa83e6ec0c99a7b35af9183f
Sem-Ver: feature
2020-04-02 18:17:28 +00:00
Sean McGinnis bc96c23a9c
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: Ieb1746b1ad7571cb87f5b1e7a6876ce72e6b76c3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-13 13:50:53 -05:00
Sean McGinnis c7bb5d65ab Uncap jsonschema
jsonschema was uncapped in the global requirements. We need to uncap it
locally now too.

Change-Id: Ia6ad2c7e62aebc81386610e9d16c8bb8a162d70f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-13 13:50:14 -05:00
Dmitry Tantsur efd56a806e Add a release note for Python 2 support removal
It's quite major, should be mentioned in the release notes.

Change-Id: I08958f7a0746f5345b5ecac792021a8a3336171e
2020-01-09 11:10:19 -06:00
Sean McGinnis 1ea2095c1f Fix pep8 issue in o_c_c/__init__
Change-Id: I18b35b67a2b81726e0b98b42658d9e78f856b0a3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-09 11:10:19 -06:00
Zuul dcb19586b5 Merge "Stop testing python2.7" 2019-10-14 21:10:09 +00:00
Zuul 0ef350e466 Merge "Update the constraints url" 2019-10-04 15:04:03 +00:00
Monty Taylor cee637ad9c Stop testing python2.7
Train was the last release supporting python2. Let's rip the bandaid off.

Change-Id: If1fe0e7d8897e56ca485157dcb75bea7b1d77e47
2019-10-04 14:39:19 +02:00
pengyuesheng d615ebbcac Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I89a8ef3cf0a73f6d95ef74e13159c1b72c447540
2019-09-29 15:00:17 +08:00
OpenStack Release Bot 33823db959 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: I7311b4d8699632adb447d749eaffcc1b2be63eea
Sem-Ver: feature
2019-09-20 16:27:16 +00:00
Zuul d0eea17a66 Merge "Add Python 3 Train unit tests" 2019-08-03 20:22:37 +00:00
Andreas Jaeger 65db8609e1 Fix broken link to openstacksdk
The openstackdocsdk has moved to docs.o.o and moved the linked page
around, fix the link.

Change-Id: I756f1276304029365fb893c12974b2314f2b1286
2019-07-30 19:57:32 +02:00
Corey Bryant 2a0a6a079a 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: Id917c1d2035ff4d7792203d1287b68ea7f7891cd
Story: #2005924
Task: #34233
2019-07-05 14:35:39 -04:00
Monty Taylor cc7a469fdb Update for opendev
Change-Id: Ib29ca90f7268e4a31dab6e80d92ef4e0fa99f64e
2019-04-21 13:09:50 +00:00
OpenDev Sysadmins 3908031791 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:30:03 +00:00
OpenStack Release Bot 0d0b033fb4 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: Icdb8ddd99ce0304f2adde263321a98b900e01cc2
Sem-Ver: feature
2019-03-18 14:41:55 +00:00
jacky06 81e30a2c2f Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I360c621d313b76bf88e91ff8be9e759d8367c847
2019-03-06 22:18:14 +08:00
Zuul 74fc34a8f0 Merge "Applying the HTTPS protocal in configuration.rst" 2019-01-09 15:04:52 +00:00
zhouxinyong d3a0dab5b6 Applying the HTTPS protocal in configuration.rst
To keep the website in this file be more robust, we'd better update the
links to HTTPS type.

Change-Id: Ia824909e26e3b31cf2c04a8697cc03c50343eaea
2019-01-09 14:12:33 +00:00
Andreas Jaeger ac5c313738 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: Ibafdc46bff0bb37c709e7ccc8bdf205447eebeef
Needed-By: https://review.openstack.org/623229
2018-12-20 21:13:03 +01:00
malei 51f0e2d413 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I5e399a0dd8cc44edb7f9d8df9dfc66b0966adf7f
2018-12-04 23:58:50 +08:00
Vieri cea479d071 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: I16ee82b6fa992b3624b38499bebd0a7e8be0ad8a
2018-11-02 06:55:56 +00:00
brandonzhao bc34223397 Fix the conflict of urlparse between python2 and python3
Change-Id: I7838599b9ccf6ed716633ef2c75ab34ff362c013
2018-10-31 17:08:45 +08:00
Sean McGinnis ea18d3d9f8 Remove setup.py check from pep8 job
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.

Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.

More details can be found in this mailing list post:

http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html

Change-Id: Idd0e9a83084feab40ed23892918f5b688a99f99e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-10-30 11:00:41 -05:00
Charles Short c4066599e4 Change python3.5 job to python3.7 job on Stein+
python3.5 was the only supported python3 version on Xenial, now that we have
Bionic Beaver nodes that support python3.7, lets switch to testing with
python3.7 in addition with python3.6 in Stein and beyond.
See ML discussion here [1] for context. [

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

Change-Id: Ibafa5cc1be81a897a11f01c3df26c644852a45c9
Signed-off-by: Charles Short <chucks@redhat.com>
2018-10-12 14:44:08 +00:00
Zuul bbfc263a26 Merge "fix bug link in readme" 2018-09-19 12:02:56 +00:00
zhulingjie 93a8db5fdd fix bug link in readme
Change-Id: I695104e0c4749898b86126c9876ddf01cb9a2be9
2018-08-31 06:03:51 -04:00
ZhijunWei c4c09a4a96 fix bug link in readme
Change-Id: Ic00d8f9ed54092b7cc2ffe7648ba80efac2b1546
2018-08-28 10:09:42 -04:00
Vieri 81703e6dbf add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 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: I65243a7b07f85f35e57f0436783982c73f1bbc6c
Story: #2002586
Task: #24321
2018-08-21 16:23:57 +00:00
Vieri 0cacb0c60a 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: I879e15d1f493eb0dd9f6762aa1a8b4d7c0297465
Story: #2002586
Task: #24321
2018-08-21 16:23:55 +00:00
Vieri 1b4bbb3475 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: Id87edb57d8a67b29c636b1383b92832f95079a36
Story: #2002586
Task: #24321
2018-08-21 16:23:50 +00:00
Vieri cca09789cb 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: I486e6f8c69aece65ba9b0272004b88ea30c343cb
Story: #2002586
Task: #24321
2018-08-21 16:23:35 +00:00
Zuul ab7cab4d9f Merge "Shift Limestone Networks profile to openstacksdk" 2018-08-21 04:00:16 +00:00
OpenStack Release Bot 02c91d7c60 Update reno for stable/rocky
Change-Id: Id9d008ebc3791bcdff329424ab83aa2553f0e159
2018-07-26 12:35:35 +00:00
Zuul d89b39eec3 Merge "Invalid link of doc reference" 2018-07-11 13:02:12 +00:00
Dao Cong Tien a9b1a8bef4 Invalid link of doc reference
Change-Id: I50a3d722179c2a0a6fbe6e6309c030a122e54301
2018-07-11 11:42:01 +07:00
qingszhao dd8071d112 Add release note link in README
Change-Id: I99081cdfde928bc4089e1bdc40eae1bd50082bc2
2018-06-27 23:06:35 +08:00
Mohammed Naser d338afa6a4 Shift Limestone Networks profile to openstacksdk
All of the other profiles have been moved but it looks like this
one was missed.

Depends-On: https://review.openstack.org/574746
Change-Id: I9efbc92ebb903378f492bf9b16d2e5beffbfea19
2018-06-12 10:36:30 -04:00
XiaojueGuan e2538769ee Update links in README
Change the outdated links to the latest links in README

Change-Id: Ia3480724d5db282ab71e1b9940b9ef2d871e2f44
2018-06-12 16:35:52 +08:00
Doug Hellmann a024da3618 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: I959afa8a75f09f5fc212424defa4865816f3ab1b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 15:27:01 -04:00
Monty Taylor 46ac30df8e Remove app_name config tests
These are testing that an underlying method is being called with a set
of parameters but the method isn't implemented in this library.

Change-Id: I29d354f7584d783104220a797ef9cf97bcc490a2
2018-05-25 18:28:07 +00:00