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: I95e8d9564cda2e6a06a3f40b0de6991acb07dd4c
The lower constraints job was removed by [1] and the file has been
unused since then.
[1] d536da42e5
Change-Id: I69def15dc1bad6c73ebe2d2c2631c745f78b7bc1
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: Iabd43ce3437384398c86d737c04512ebf5a9fb72
tox.ini started failing with Tox4 which had some
incompatible changes. One of them is changing
whitelist to allowlist. Other failure is due to
the skipsdist = True.
Fixing tox.ini for tox4 changes.
Change-Id: I113bb6dd90efe0f9b272a76939947bd913fe707f
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
This also removes broken lower-constraints job.
Change-Id: I5c9f3c031d74e0b1db5b49c0634139f9b6f49b5e
This change converts the existing legacy job into a native one.
It also re-enables the execution of functional tests, which are
otherwise not executed. It seems the initial idea of this job
was to run them, but this part has been probably lost over time.
This require a new 'functional' tox environment which focuses
on the functional tests.
Without the functional tests, this job is just a
simple devstack deployment job which tests the installability
of zaqarclient, but without really going through its code.
Unfortunately, as they haven't been executed for a while,
only a minority of the functional tests work. Only a subset
of them has been then enabled for now.
Change-Id: I6f33ca4b2da44cdaf4c85d30a3d520b0fdddce85
The doc of message is missing in zaqarclient.
So this patch will add it and also remove the unused docs for
other resources.
Change-Id: I55c745a81226487292220edfb629ca4f7dfd95d7
Closes-Bug: #1893145
Signed-off-by: wanghao <sxmatch1986@gmail.com>
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.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
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: Iafd5fb0f99a2b68c6f4a3118bf7d7c3a8881465f
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
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
Change-Id: I623b1e0bfc2ec8cd9ce017556101cdeb06a1bb4c
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I3062215fcfc2e448e0f29402104496f80945aeee
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: Iebabdc2df65a235be65c443be8cfbb3a4bc28eb0
Sem-Ver: feature
Zaqar will support query queues with '--with_count' to
return the amount of the queues. This will help users to
quickly get the exact total number of queues which they own.
Change-Id: Iced54e7d270e389a23db2a19394025710565923d
Implements: blueprint query-queues-with-count
Signed-off-by: wanghao <sxmatch1986@gmail.com>
We have jsonschema capped at a fairly old version. Other than some
specific releases, it looks like keeping it below 3.0 was added in
I943fd68b9fab3bce1764305a5058df5339470757 without really any explanation
why.
In order to update to a 3.x release we need to:
1. Remove the cap from global-requirements.txt (see Depends-On), leaving
upper-constraints.txt at a 2.x release
2. Remove the cap from all consumers (this change)
3. Release a new version of consumers that are published to pypi
4. Update upper-constraints.txt with those new releases
5. Update jsonschema in upper-constraints.txt to a 3.X release
(See: https://review.openstack.org/649789)
6. Test consumers with the change from 5.
7. [Optional] fix issues in consumers that arise from 6.
8. Merge the change from 5.
Change-Id: I193b71b0ee6fe1abffa0d6aa30ddb1412daf6da0
Co-Authored-by: Sean McGinnis <sean.mcginnis@gmail.com>
Depends-On: https://review.openstack.org/649669
The path remove pool group totally in client
Implements: bp remove-pool-group-totally
Co-Authored-By: wanghao <sxmatch1986@gmail.com>
Change-Id: I0604ad8c55127027aa238a2e8388bb046a93e8a9
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I7b5e646dd233b246116f76582621003a7ab7e995
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: I8da15b57778689ef36a22ce95c8f9ea7f257b19b
Sem-Ver: feature
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: I20c84563b0a61fbc2c465cb52bdffc2f9031e3a8
Closes-Bug: #1808946
We store the CA in request.cert, but it's not compatible with a cert. To
pass the CA to requests, we need to set the verify argument.
Change-Id: Id0f39e3253b1486db8ae2da3d7dc6c0fdb41062a
Import the job from openstack-zuul-jobs and rename it according to
naming rules.
Add some cleanups:
* Sort list of templates alphabetically
* Use lower-constraints template instead of jobs
Change-Id: Ie1f8ee875e19652799944801e8ed292faeb8da8f
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: Ia9dc33cdf16607c931151c7678a62270a9477e0b
Story: #2002586
Task: #24346
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: Ic6ac635904edf2745273918aa13e25b13a516f9a
Story: #2002586
Task: #24346
Since now os-client-config has been superceded by openstacksdk[1].
So need to replace the os-client-config in zaqarclient to
slove the issue that 'No module named os_client_config'.
[1]:https://docs.openstack.org/os-client-config/latest/
Change-Id: I19bee5f276dcdd9a885fd99b6b656647e28ba139