Commit Graph

83 Commits

Author SHA1 Message Date
Ghanshyam Mann 16a6856d12 Update python classifier in setup.cfg
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
2024-01-03 21:24:33 -08:00
Takashi Kajinami d536da42e5 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

This also removes broken lower-constraints job.

Change-Id: I5c9f3c031d74e0b1db5b49c0634139f9b6f49b5e
2022-09-05 17:58:33 +09:00
Andreas Jaeger d399c7dbe1 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
- 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
2020-04-28 07:50:10 +02:00
Ghanshyam Mann 93811d1ab1 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-zaqarclient 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: I7df21753bccf435b81b5f42a63845d67fe209a55
2020-04-28 10:44:19 +08:00
Corey Bryant 374f3ad959 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: I2628f4502fec5031d5439ad1eed1b51b920f105f
Story: #2005924
Task: #34258
2019-08-26 11:50:18 +00:00
yfzhao 5bd769b8ed Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: I20c84563b0a61fbc2c465cb52bdffc2f9031e3a8
Closes-Bug: #1808946
2018-12-18 17:06:09 +08:00
Nguyen Hai a38a7ecb63 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Remove [build_sphinx] section as described in:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: Ief4342133f5b2f094feb9816f154c6d17a2d028e
2018-03-30 00:04:19 +09:00
caishan 8671a16009 Change wrong url for zaqarclient
Change-Id: If4730e6e632aaa6fe08747193fccd5b65708cea2
2018-01-09 06:40:02 -08:00
Hangdong Zhang 3a2676fbce Update the documentation link for doc migration
Change-Id: Ie9e6c4c9b3cb9cebdd405921ebb718be5eeaa116
2017-07-24 14:04:52 +08:00
wanghao fa88a03b3b Fix the inconsistent command format in openstackclient
Change zaqarclient command to keep the same format,
the consistent command format is 'openstack messaging XXX'.

DocImpact

Change-Id: I87302d016915fd7c861b0a7a542a23ae3685443e
Closes-Bug: #1691637
2017-07-03 14:47:01 +08:00
wanghao 5eea275769 CLI: support homedoc in client
Support to display the detailed resource doc of
Zaqar server.

Change-Id: If5281c1f9ffc1399f8a8a04124209282ee5049f0
Closes-Bug: #1683250
2017-05-17 14:18:43 +08:00
Fei Long Wang 96370f27ed Support post and list messages
Allow post and list messages with CLI so that user can easily verify
Zaqar's messaging functions with command line.

Change-Id: Ib1b82917cc67b604e0bf9d94a18763bc79de0f2b
2017-04-05 15:38:59 +12:00
Fei Long Wang b3ff95eb4a Support purge queue
Change-Id: Ic20c9ad65d2a77c84afc38d7fcb4535cbaa1d01d
2017-02-22 16:39:41 +13:00
Rui Chen cdfc955f04 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I2e7f5c8b6a86b4e121265bf625c23f2f7ff35dab
2017-02-09 10:25:12 +08:00
Jenkins 5507161dfa Merge "Add Python 3.5 classifier and venv" 2016-12-19 03:12:15 +00:00
howardlee 82b3736443 Update author and home-page
Update the author and home-page in setup.cfg.

Change-Id: I87681591650de58887d19d4706e4cdc71b872c0d
2016-12-08 08:14:17 +00:00
Tony Xu 68e27da93d Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim
support for Python 3.5 in the classifier.
This patch also adds the convenience py35 venv.

Change-Id: I3c027c1201c011d1aaedbdb209f0c435d2097d70
2016-10-26 10:38:31 +08:00
Dan Prince 51246e1a8c Create a websocket transport
This patch adds a new WebsocketTransport class that will help
consolidate common websocket client code that is useful
for connecting to and subscribing to Zaqar queues via
websockets.

We are already using a similar client within TripleO and
it makes sense to have it live in zaqarclient where it
can be shared and used by multiple projects.

Change-Id: Ia2a8deb599252d8308e44d595eb2bf443999aaad
2016-07-19 08:43:24 -04:00
wangxiyuan 2854847fb4 Add update queue function in v2
This patch did:
1. Add two commands: "set/get metadata" in API v2.
2. As v1.1 and v2 don't contain the queue.exist() function,
and the queue exist check has been done in server side. We
should only use it in v1.0.
3. As v1.1 doesn't support PATCH in zaqar server side,
we should not allow set metadata in v1.1.

DocImpact

Closes-bug: #1554326
Change-Id: I01b523ece09e87689516ecccf0c2c7795db46bb7
2016-06-07 09:43:59 +08:00
Jenkins d5bfd64823 Merge "Support /ping and /health for v2" 2016-04-18 22:34:24 +00:00
Fei Long Wang 15ef3386c0 Support /ping and /health for v2
Now Zaqar supports /ping and /health API, but they're missing
in zaqar client. This patch will fix it.

Change-Id: I34b454c486a7b4c693a540890eee48f162a07605
2016-04-08 16:13:50 +12:00
Fei Long Wang 20f54aab89 Remove pypy support
Zaqar client is depending on keystone client and openstack client,
both of them don't support pypy. And our pypy gate is always failed,
and we don't have enough resource to fix it. So this patch is going
to remove the pypy support for zaqar client.

Change-Id: I9fc5694143dc7404cb7a4d7426cfaa8692f2f4d9
2016-03-10 09:26:33 +13:00
Fei Long Wang ae5498a8ca Support claims for v2
Change-Id: I4780c91631fa8ce2f09527eeda1560fc4f5efbeb
2016-02-05 14:02:12 +13:00
Ryan S. Brown d993d029d4 Add CLI support for signed URLs
Change-Id: Ibc251954399d37307f695b6bcd59f1eb8864cb5c
2016-01-26 13:34:35 -05:00
Fei Long Wang 8962837f88 Add Support for subscription list v2
Change-Id: I1ce38e6875034f31fa105b656f74a3ce8a32b4ed
2016-01-15 15:49:06 +13:00
Jenkins f933dc8131 Merge "Expose more CLI commands for v2" 2016-01-15 01:07:00 +00:00
Fei Long Wang 4241ec9846 Add support for subscription show v2
Change-Id: Ic2a3b2979fea71a536678e8ad3e5e6323c9d0f41
2016-01-15 00:50:55 +00:00
Fei Long Wang 7d7987bb4f Expose more CLI commands for v2
Change-Id: I43f2ceeea2e8b826c864cbef4defb95307210aae
2016-01-14 16:42:32 +13:00
Fei Long Wang 4d48c7e9d9 Add support for subscription delete v2
Change-Id: I235bdf8a220f097cd43a8c2be250ddcd62e30644
2016-01-12 12:31:52 +13:00
Fei Long Wang 5a7fdc637c Add support for subscription update v2
Change-Id: I2b843d7a665589cd5fd8419a82202c68dd8c96f1
2016-01-10 20:49:44 +00:00
Fei Long Wang 8ca747746c Add support for subscription create v2
This patch adds the support for subscription create, which includes
the CLI support and the lib support. Besides, to make the functional
test work for subscription create, this patch also adds the lib
support for subscription get, delete, update and list to make things
easier.

Change-Id: Ie3ac27b731f41ea6023976aab3c1afbc283d659d
2016-01-11 09:31:55 +13:00
MD NADEEM e8c303956f Claim release CLI support for v1
Change-Id: Ia79fbaacccb9014a0968e2c6d84c7c54694559df
2016-01-08 09:10:23 +00:00
MD NADEEM cef4f9b696 Claim renew CLI support for v1
Change-Id: I1b1a86d85325e29cf9bae0cc530fd593f3d7ae38
2016-01-08 09:09:48 +00:00
MD NADEEM 4d020c4902 Query claim CLI support for v1
Change-Id: I3e471dfd6c76ca9966b96a858559c8b721c310d3
2016-01-08 06:52:45 +00:00
Jenkins ecdd583b39 Merge "Flavor create CLI support for v2" 2016-01-08 03:03:34 +00:00
Jenkins be063ddf5f Merge "Claim create CLI support for v1" 2016-01-07 19:36:43 +00:00
MD NADEEM 560fc4bd26 Flavor create CLI support for v2
Change-Id: Ida386225eed43b80b1d411754abf2db869d5edd7
2016-01-07 15:18:31 +05:30
MD NADEEM a84e620253 Claim create CLI support for v1
Change-Id: Id89cb904c29a462e0035dd3ba16b9ebb6344476e
2016-01-06 09:10:09 -05:00
Jenkins 984ad9ecd0 Merge "Drop py33 support" 2015-12-18 13:46:01 +00:00
Jenkins 8304764667 Merge "Add cli support for flavor create v1" 2015-12-17 01:34:42 +00:00
Jenkins 5f123a0b16 Merge "Expose CLI commands for v2" 2015-12-17 01:34:33 +00:00
Jenkins 729a6cc660 Merge "Add support for flavor list v1" 2015-12-16 11:12:07 +00:00
shu-mutou d49cdd8170 Drop py33 support
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3

And already the infra team and the oslo team are dropping py33
support from their projects.

Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.

Change-Id: Iadcce946a0e4646c99cf99a9cf4cc207bb40ca8f
Closes-Bug: #1526170
2015-12-15 17:36:24 +09:00
Fei Long Wang bafe7334bc Add cli support for flavor create v1
Change-Id: I4b65ffc23e2a5612374bc7b6b508a7bbbdd7b817
2015-12-09 09:22:39 +13:00
Ryan S. Brown 0095c33741 Expose CLI commands for v2
To run the CLI commands against a v2 server, you need to expose them to
be discovered by the cliff command runner. For now, you must run them
as:

openstack --os-queues-api-version 2 <cmd> <args>

Change-Id: I038fb0e30e219693f2d50f23f32b9914e0eac61e
2015-12-04 16:43:09 -05:00
Fei Long Wang 430b38dc57 Add support for flavor list v1
Change-Id: I10881b22cbca581f4da335939559fd76ecf44f1f
2015-12-04 14:51:46 +13:00
Jenkins c792f9b7d9 Merge "Remove py26 support" 2015-12-04 01:36:12 +00:00
Fei Long Wang 8fcd7d45b3 Add cli support for flavor show v1
Change-Id: I252bee16cbacbf9396453151cdb2841c9b859e23
2015-12-03 12:59:17 -05:00
Md Nadeem 66b703c69e Remove py26 support
As of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.

Change-Id: I6420a95a58c85830412ae5792208d952116ca7e6
Closes-Bug: 1519510
2015-12-02 17:57:43 +09:00
Fei Long Wang c593f97561 Add cli support for flavor update v1
Change-Id: I89d6749fc4e483f78510bc0a95fd52c7eb3929ec
2015-12-01 15:52:16 -05:00