Commit Graph

22 Commits

Author SHA1 Message Date
Ghanshyam Mann 6f20a2b0ce 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: I4dff67cd3b0eb72bca2dd8d53f27c19967c5696c
2024-01-04 20:30:54 +00:00
jakecoll 30eab20112 Add Resource Allocations API support
The Resource Allocation API was added in Stein. This adds support for
querying it with blazarclient. Only the host resource type is supported
for now.

Co-Authored-By: Matt Crees <mattc@stackhpc.com>
Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
Change-Id: I28f45320164188df73b70d4c9e04c5e53655062e
2023-02-17 09:50:42 +01:00
Zuul 59fd6c0167 Merge "Add commands for resource property API" 2022-02-23 23:46:23 +00:00
Mark Powers cf2de7cb63 Add commands for resource property API
This adds commands for interacting with the resource property API
that is specified in blueprint resource-properties-discovery-api.

Change-Id: Ibe024dc9b2d02d4061ab7eb68a4607d1356a6318
2022-02-23 22:47:39 +01:00
Ghanshyam Mann 9354e62300 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

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

Change-Id: I0d4b3163b834efdce382277b1ef6c85b98f1d643
2021-12-14 02:18:19 +00:00
Mark Powers f2277b5f7a Add openstackclient support
This adds support for the recommended CLI using the OpenStackClient,
without modifying the existing Blazar shell CLI.

The existing shell command classes are used, by introducing a check in
the base comand class to use either the client passed by Blazar shell,
or the client using the osc_lib client_manager.

The argument --physical-reservation is also removed for the create lease
command when using the OpenStack client.

Implements: blueprint openstackclient-support
Change-Id: I97a7b91f0d05efc887307ac167e5c368276d4f81
2021-08-05 10:24:28 -05:00
Pierre Riteau a2d8abf557 Change dashes to underscore in setup.cfg
Recent versions of setuptools are warning that usage of dash-separated
keys will not be supported in future versions.

Change-Id: I5f0ad65e0dfc98e8e9693e66355a4bfd79d3bcf1
2021-03-11 06:20:49 +01:00
Sean McGinnis 1c12be13b2
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: Ic6ce0f9934c404261e631088fc0398690370647f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-02 07:48:15 -05:00
Andreas Jaeger e7685d5df6 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
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I28b14bfc8430d75271308ee91925e58b55b6dcc2
2020-04-04 16:34:45 +02:00
jacky06 912c96d408 tox: Keeping going with docs and cleanup setup.cfg
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

2. pbr hasn't need the hook configuration since forever [2]

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
[2] c84876dc0f

Change-Id: I22e930f9876ca29750093a78e4bf3a7d4a479eb9
2020-01-20 22:45:10 +01:00
Tetsuro Nakamura aa7690b48c Stop testing with py2
Python 2 is no longer supported. Python 3 is required.
This patch stops testing with Python 2 and issues the release note.

Change-Id: I7dc416927ea23d581dbee366d54a733ee53498cf
2019-12-06 04:15:12 +00:00
Corey Bryant 3ea2b186d3 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: Ibc4be4c59c2dca995f1999879ea2a9e70b129f7f
Story: #2005924
Task: #34199
2019-06-21 17:17:19 -04:00
Ghanshyam Mann fe02d32339 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: I08d1764ad06ae1a30f5c3e30437823459bac7ec8
2019-04-14 19:12:50 +00:00
Zuul 4080328041 Merge "Change openstack-dev to openstack-discuss" 2018-12-11 09:50:56 +00:00
sunjia 7cb3f2ea02 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ie473cea777ff3a1707e7e7a69daacf85751996f8
2018-12-03 21:35:47 -05:00
qingszhao d4362ab855 Add Python 3.6 classifier to setup.cfg
Change-Id: I57233628a7bf7d49fd7cb1b87c25b96c37cdb015
2018-11-29 07:03:25 +00:00
Masahito Muroi b96c671a6e Remove climate namespace
Change-Id: Id4151b65ae1278ec7c6c488c165ba9c04082a3cb
Partial-Bug: #1755325
Depends-On: https://review.openstack.org/#/c/552252
2018-04-03 12:57:20 +00:00
Hiroaki Kobayashi 5c7fef3d35 Add Python3 to the setup configuration
Partially implements: blueprint python-3

Change-Id: Iec8bcaeb84fb883bdcac354bf343b538b31d5114
2018-01-31 10:57:44 +00:00
David Moreau Simard b53f01d07d
Remove commas in setup.cfg package classifiers
This is likely causing an upload to pypi to fail with the following
error:

    Error: 'Development Status :: 3 - Alpha,' is not a valid choice for this field

Change-Id: Ieba2a4bec5ffc8e618501b38f73628e0b59c12a5
2018-01-26 16:32:36 -05:00
Masahito Muroi 581c1170a3 Migrate Python namespace from climateclient to blazarclient
The python-blazarclient repository has been using the climateclient
namespace.

This patch converts the climateclient namespace to the blazarclient
namespace. Additionally, some classes, methods and variables that
include 'climate' in their name are also changed to 'blazar'.

Change-Id: Ibf900f9a8a7a7bfb0b6b213545b9cbf121ce0df7
Closes-Bug: #1662735
Closes-Bug: #1311746
2017-02-21 21:53:05 +00:00
Dina Belova 984242bef8 Fix setup.cfg
Change-Id: Idaf0dad80b84dce00c61ab575333432afc8a0a95
2014-02-04 22:14:58 +04:00
Dina Belova aaf7c93ae6 Initial Climate client implementation
Partially implements: blueprint python-client

Change-Id: I7ac8aedf5b7504c63d12119e1ba0842e3ce01e63
2014-01-14 16:19:03 +04:00