Commit Graph

46 Commits

Author SHA1 Message Date
Ghanshyam Mann aa781bb966 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: Ie24ff8ea939bb19e101a8c16d41381f1aea81f03
2024-01-03 20:22:10 -08:00
Zuul 388b368bfc Merge "setup.cfg: rename deprecated dash-separated options" 2023-10-02 00:16:17 +00:00
Michal Nasiadka 3d5ab014f0 setup.cfg: rename deprecated dash-separated options
Change-Id: I620f96519bf313b00f12d95b1bcc3c15d984c02b
2023-09-26 05:21:04 +00:00
wu.chunyang bb49ceffa8 Add python 3.10 to setup.cfg metadata
Add python 3.10 to setup.cfg
refer to: https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I92e8dbc352c74d684ee78154794a1017f00e19ff
2023-06-21 09:51:48 +08:00
Diogo Guerra 7c03bcb734 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. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.
Also indicates that we support python 3.9.

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

Change-Id: I36180f40cb2858aa051366af9b3c3c28d635632c
2022-09-05 07:43:08 +00:00
wu.shiming 7557e897dc Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I843baf9428adfcdd159438da1400be86621c201a
2022-05-03 09:26:15 +00:00
kangyufei e00bb62673 Add py38 package metadata
Change-Id: Iac8fc7decbc077150c8ac9e025fadb02c7aa713b
2020-04-28 09:30:13 +08:00
Andreas Jaeger da885db8bc 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
- Update classifiers
- Update requirements, no need for python_version anymore
- Remove html_last_updated_fmt from conf.py, this is not needed with
  openstackdocstheme anymore; update openstackdocstheme requirement

Change-Id: I8811b249e53df8e25c46fe63d71b7dbb400dac19
2020-04-04 16:55:16 +02:00
Feilong Wang de2b8e88b0 Drop py27 tests
Task: 39089
Story: 2007437

Change-Id: I3d311f457307a75a3e9167768ae5e0c1d47d9566
2020-03-18 13:18:30 +13:00
Theodoros Tsioutsias 934cf54854 Add nodegroup CRUD commands
The commands added are:

* openstack coe nodegroup create <params> <cluster> <nodegroup>
* openstack coe nodegroup delete <cluster> <nodegroup>
* openstack coe nodegroup update <op> <params> <cluster> <nodegroup>

Depends-On: I4ad60994ad6b4cb9cac18129557e1e87e61ae98c
Change-Id: I98b662b5a95f16d80852e3b30683c75e78acb3e5
2019-09-26 08:15:40 +00:00
Zuul 93acc927be Merge "Change openstack-dev to openstack-discuss" 2019-08-01 18:48:53 +00:00
Zuul 7bfc474db2 Merge "Add Python 3 Train unit tests" 2019-08-01 18:46:04 +00:00
Zuul d29d5cdec4 Merge "Support upgrade API" 2019-07-12 14:24:13 +00:00
Corey Bryant a19d01355f 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: I6bed1f2df2c50234657112869b585439afa1b550
Story: #2005924
Task: #34219
2019-07-05 11:51:52 -04:00
Ghanshyam Mann 9f5b8c790a 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: I90b3d96348fede667b9895f87e879a816420216a
2019-04-14 23:03:13 +00:00
Theodoros Tsioutsias ea7c571162 Add nodegroup list/show commands
This adds the commands needed to list and show nodegroups in a
cluster. Specifically the commands added are:

* openstack coe nodegroup list <cluster>
* openstack coe nodegroup show <cluster> <nodegroup>

Depends-On: I5607c27eb0e84677acda29af006335374b60dd27
Change-Id: I910c7c7caff34aba2ce08ca5c9362403d11f324c
2019-03-27 16:27:10 +00:00
Feilong Wang 6b756aa75f Support upgrade API
Task: 30168
Story: 2002210

Change-Id: I458985f97e1e9bbe89702ce04e74bdcf66e36244
2019-03-26 21:19:32 +13:00
Feilong Wang 94380f9ad5 Support resize api
Task: 29572
Story: 2005054

Change-Id: Ic9ede21bbf87883d7dbdf9fde02e7dba24440ce7
2019-03-25 11:03:10 +13:00
sunjia d942ce5f26 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I24f981b3d0205112709944279665d50fc64b29ce
2018-12-03 21:54:37 -05:00
qingszhao 11b7527c06 Add Python 3.6 classifier to setup.cfg
Change-Id: I6252db596639dca82bb81c3ef7197f2d9d7fbdb2
2018-11-30 06:59:02 +00:00
Pavlo Shchelokovskyy 1dec8995fb Fix entrypoints for quotas
currently they are pointing to non-existing code/classes which breaks
all sort of things, including bash completion in openstackclient.

Change-Id: I89e266b9d85f4168fd593ad9a05878b902e5315e
Closes-Bug: #1762316
2018-05-04 08:58:46 +00:00
Nguyen Hai 2b8c717440 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Remove the '[build_sphinx]' and '[pbr]' sections as described in:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I65b35db580e029bb0639c7b4bd1cb7c3b0395542
2018-03-27 13:50:16 +09:00
M V P Nitesh e6856282a3 OSC command for magnum quota's
Implemented Openstack command for quotas-create, quotas-update,
quotas-delete, quotas-show and quotas-list.

Change-Id: I889c2384afdf4cf113345af646b865271784c40c
Partially-Implements: blueprint deprecate-magnum-client
2018-02-28 12:14:54 +00:00
M V P Nitesh ec33c56a23 OSC command for ca-show, ca-sign, ca-roatate and stats-list
Implemented Openstack command for ca-show, ca-sign, ca-rotate
and stats-list.

Change-Id: Id9c21c3a603266d6bd32fd744cb3167b01473127
Partially-Implements: blueprint deprecate-magnum-client
2018-02-26 10:20:52 +00:00
Madhuri Kumari fe51e61cdc OSC: Add magnum service-list command
Partial-Implements: blueprint deprecate-magnum-client
Partial-Implements: blueprint openstackclient-support

Change-Id: I37b4ea0a519ac4d7ce47112263232ed1d200b4a2
2017-09-20 11:41:07 +05:30
Spyros Trigazis 5f3b69b15c OSC: Add cluster config command
Move certificate generation and config  generation
in magnum utils so that all clusters_shell, bays_shell
and OSC can use.

* Remove / from context name (see #1705480)
* Use absolute paths for the certificates in kubeconfig
  It's the same principle like #1614682

Change-Id: I5b8bb11b199b7646a984c7171f3853d3e73923ec
Implements: blueprint openstackclient-support
Related-Bug: #1705480
Related-Bug: #1614682
2017-07-26 19:05:51 +00:00
Stephen Watson a9918d16b8 OSC 4/4 Add remaining cluster commands
Adds the remaining cluster commands (delete, show, update)
to the magnumclient OSC plugin.

Adds delete, update unit tests. TODO: Add show tests

Implements: blueprint openstackclient-support
Change-Id: Id7542118e8068de4c346946d13efce1f4eeec7ad
2017-07-26 19:04:30 +00:00
Stephen Watson 0fcaffa6b0 OSC 3/4 Add remaining CT commands
Add cluster template delete, show, and update including
unit tests.

Implements: blueprint openstackclient-support
Change-Id: I457b6eb9f1944a6a90e1e8fe2b2154cbfbe48f23
2017-07-26 19:01:36 +00:00
Stephen Watson 98c4ed730d OSC 2/4 Add Cluster Create and List
Add cluster create and cluster list for magnum's OSC plugin.
Add cluster create and list unit tests

Implements: blueprint openstackclient-support
Co-Authored-By: Spyros Trigazis <strigazi@gmail.com>
Change-Id: I815633e45df681e6bf089ae82d7451c2c0df05ef
2017-07-26 19:01:36 +00:00
Stephen Watson 7768eb6ea2 OSC 1/4 Add CT create and UT framework
Adds cluster template create to OSC plugin as well as
the unit test framework, including tests for CT list and
CT create.

Implements: blueprint openstackclient-support
Co-Authored-By: Spyros Trigazis <strigazi@gmail.com>
Change-Id: I1a8c7868e8c5573877052172d7a13f29f965b52a
2017-07-26 06:47:30 +00:00
Hangdong Zhang c7a1f6dada Update the documentation link for doc migration
Change-Id: If32cf6212c18f2c5f7e784f069e4178cb38677c0
BTW: Do some optimization as well (http -> https)
2017-07-20 18:19:18 +08:00
kavithahr 44ae7822a7 The python 3.4 support is removed
The python 3.5 version is available, hence removed
python 3.4 version.

Change-Id: Ie164ec36d8e84ad3b46456b7ca358e6d4b272ba1
2017-03-09 14:17:16 +00:00
Madhuri Kumari c240c44b64 Add the OSC 'cluster template list' command
There is OSC command support for 'cluster-template-list' but
it was not exposed. So this patch adds the command to setup.cfg.
Also fix the wrong class name used in the file.

Change-Id: Ia3a632ce2cf2b9cca646351902315b03fd0adb69
2017-02-03 08:09:23 +00:00
Rajiv Kumar cb295c8b88 Added link for modindex
The documentation build does not generate any module index, therefore
modified setup.cfg to create module index. The page
http://docs.openstack.org/developer/python-magnumclient/py-modindex.html
contains module index.

Change-Id: I950b21f1946850e572f6ea19637ba439460bb3ec
2017-01-27 08:51:39 +05:30
Jenkins 6dba7bc6c3 Merge "Base OSC plugin support" 2016-08-05 15:42:09 +00:00
PanFengyun 3ab2958073 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: Idafad48f97dc4ddcb63d217aa64f61cf236a7833
2016-07-28 14:08:08 +00:00
OTSUKA, Yuanying f49ef213d8 Base OSC plugin support
Enable magnumclient OSC plugin support.
This patch set does the following:

 - Establishes OSC plugin structure for commands and unit tests
 - Creates the OSC plugin
 - Adds OSC to test-requirements.txt

This fixes are mainly copied from python-neutronclient.

Partial-Implements: blueprint openstackclient-support
Change-Id: I8f7ccde7d1417416ada5fe5e88832db7520efa6f
2016-07-27 09:22:51 +09:00
venkatamahesh 1502e2dd11 Update the home-page with developer documentation
Change-Id: I23fd730dce0bf608d67f843361f4d78299520c20
2016-05-17 10:06:15 +05:30
Spyros Trigazis ec4eeaae86 Add python3 to python classifiers
Change-Id: Ic29503cf7bdbc1176d01a3f11130c2e8efcc32f4
2016-05-14 14:15:21 +02:00
Andreas Jaeger a0b7dfa962 Update translation setup
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

This basically renames
python-magnumclient/locale/python-magnumclient.pot to
magnumclient/locale/magnumclient.pot. For this we need to update
setup.cfg.

The domain name is already correct in magnumclient/i18n.py.

The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.

Change-Id: Ie2b32aec76a35fc5a1b9ee26bf0265cef393415a
2016-01-28 19:07:17 +01:00
shu-mutou a603e63f59 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: I8c1e5765228382c9982883320568fe729d0c35f8
Closes-Bug: 1519510
2015-12-02 16:58:00 +09:00
Andreas Jaeger 0ea41595e6 Fix translation setup
The infra scripts really expect $REPODIR/locale to work, fix
setup.cfg and rename the locale file so that infra scripts work.

This fixes change Id9f5b08835a4780a8448c989a878c03b70a97803 which
already said:"The proper place is for all python projects
$PROJECT/locale/$PROJECT.pot - see setup.cfg." - but then during review
we missed that instead of PROJECT=python-magnumclient, it used
magnumclient - and the infra scripts do not cope with that since
PROJECT really has to be the name of the repository.

Change-Id: Idc5efe52a1ff1b0cb8599e1258e411522547f0e4
2015-05-27 11:44:04 +02:00
Doug Hellmann f16d9de48c Update README to work with release tools
The README file needs to have links to the project documentation and bug
tracker in a parsable format in order for some of the release tools
scripts to work (particularly the one that prints the release note
email).

Change-Id: I37e0acc5ed8e1af565359290fa622456901c735e
2015-04-21 15:35:47 +00:00
Abhishek Chanda dd314da3a2 Do not advertise py33 compatibility
We do not run checks against py33

Change-Id: I3090e6d2701c574895ca194dd42abb909c6f0699
2014-12-26 15:48:52 +05:30
Abhishek Chanda ff36501bf1 Skeleton for the cli client
Most of this code is based on the saharaclient

Change-Id: I2af95da43273fa8636f490d62b6e71abc8e02eb0
2014-11-21 15:22:41 -08:00
Steven Dake 6d070c9db4 Boilerplate client for communicating with ReST API
Implements the boilerplate project setup.  After this commit, I'll
import this project into stackforge, and we can continue development
from there.

The rest API identified is that of the work Eric put together initially
including bays, pods, and container objects.
2014-11-18 14:55:41 -07:00