Commit Graph

49 Commits

Author SHA1 Message Date
zhurong 85abf25358 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove babel.cfg, this is not needed here at all
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete

Change-Id: I57d447e034c088c83fdd5fb8854dbd9826a200a8
2020-05-11 11:06:58 +08:00
Sean McGinnis bec0ae84e5
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: I832c846cc50d094788973e8e7f05f226b435ac6f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:17 -05:00
Andreas Jaeger 59d867d409 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
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I49f919ee7d8a23d4958328966a2b633a12bb7525
2020-04-04 17:03:55 +02:00
Ghanshyam Mann 482a66018f [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-muranoclient 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://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I88134b5253cdf2f30cd004d77b2a40aa6764b77f
2019-12-15 00:40:36 +00:00
zhurong e4db579c4b 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: I7234a0d87b66095a2acabbb0f17cbc0438de0ee0
Story: #2005924
Task: #34214
2019-07-03 17:18:31 +08:00
Ghanshyam Mann 8a14b09cf4 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: Iacf8716367b3d346279aca7c1b158e6abe7b5f3c
2019-04-15 00:41:00 +00:00
Zuul bd38573528 Merge "Add Python 3.6 classifier to setup.cfg" 2019-01-05 04:34:31 +00:00
98k 08201f391e Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I9e9d8e150f75fd76e3a5b53c236a15f10a42ea7b
2018-12-04 07:31:19 +00:00
qingszhao 43195939f3 Add Python 3.6 classifier to setup.cfg
Change-Id: Ica974cbf6a2f5d03ea797498c5e583e8fe64999f
2018-11-30 07:05:51 +00:00
malei c742bfa73b 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
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: Icc5ea5aeafaa517f910620c75f9d401e4fd06b05
2018-04-13 23:25:38 +09:00
zhurong e1d7761459 Add package download to openstack CLI
usage: openstack package download [-h] <ID> [file]

Download a package to a filename or stdout.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I5e782f35dbfc09fe460e30f48a853f8df53d1518
2017-08-22 21:59:47 +08:00
zhurong 54a1c60570 Add package update to openstack CLI
usage: openstack package update [-h] [-f {json,shell,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--print-empty] [--noindent] [--prefix PREFIX]
                                [--is-public {true|false}]
                                [--enabled {true|false}] [--name NAME]
                                [--description DESCRIPTION]
                                [--tags [<TAG> [<TAG> ...]]]
                                <ID>

Update an existing package.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: Ia287c3202a3698790f8130cd87311b33aa92f5f2
2017-08-22 12:45:26 +08:00
zhurong 2fbfc68f8a Add package show to openstack CLI
usage: openstack package show [-h] [-f {json,shell,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>]
                              [--fit-width] [--print-empty] [--noindent]
                              [--prefix PREFIX]
                              <ID>

Display details for a package.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I4373469a98f11194eb9d3dfe78898eef0bd36c3d
2017-08-22 10:23:20 +08:00
zhurong 6103ec25d9 Add bundle import to openstack CLI
usage: openstack bundle import [-h] [-f {csv,json,table,value,yaml}]
                               [-c COLUMN] [--max-width <integer>]
                               [--print-empty] [--noindent]
                               [--quote {all,minimal,none,nonnumeric}]
                               [--is-public] [--exists-action {a,s,u}]
                               [--murano-repo-url MURANO_REPO_URL]
                               <FILE> [<FILE> ...]

Import a bundle.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I6a5f8c31c1b9671b4ff7f41f83c415261785b635
2017-08-18 09:37:59 +08:00
Hangdong Zhang 2fea542c42 Update the documentation link for doc migration
Change-Id: Ib9de03012f78052bb9a245a8bf5d0cc89570d3fd
BTW: Do some optimization as well (http -> https)
2017-07-20 18:49:00 +08:00
zhurong f6f814b504 Turn on warning-is-error in sphinx build
Turn on the flag to ensure that future warnings in the doc build
trigger a build failure.

Change-Id: Ic5564ad1ff1b0747f0e45d225c61ac9be4ddce5f
2017-06-26 09:28:45 +08:00
Artem Tiumentcev 93e34ffe88 Add package import to openstack CLI
usage: openstack package import [-h] [-f {csv,json,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent]
                                [--quote {all,minimal,none,nonnumeric}]
                                [--categories [<CATEGORY> [<CATEGORY>
...]]]
                                [--is-public IS_PUBLIC]
                                [--package-version PACKAGE_VERSION]
                                [--exists-action {a,s,u}]
                                [--dep-exists-action {a,s,u}]
                                [--murano-repo-url MURANO_REPO_URL]
                                <FILE> [<FILE> ...]

Partially implements: blueprint openstack-client-plugin-support
Co-Authored-By: zhurong <aaronzhu1121@gmail.com>

Change-Id: Iddc3a6d07bfbb04ba601446078d36839adf640c4
2017-04-28 11:04:11 +08:00
Rui Chen 01f586cbd7 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: Ie050c97796ffffbcbf4f6971aaf43d9b8edc6354
2017-02-09 11:04:49 +08:00
zhurong 0c844b08e1 Add package delete to openstack CLI
usage: openstack package delete [-h] [-f {csv,json,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent]
                                [--quote {all,minimal,none,nonnumeric}]
                                <ID> [<ID> ...]
Delete a package.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: Ie92f542d3b09a57f60352de015b93ee2cbe6f67c
2016-12-30 09:06:49 +08:00
howardlee a166737352 Update author in setup.cfg
Change author to OpenStack and it is a trivial fix.

Change-Id: I7ee0a56bb4b253b032a87f857ca686dc76520fd9
2016-12-06 18:44:25 +08:00
Valerii Kovalchuk 0171ea9ffe Add support for environment edit API
- New Murano CLI command ``murano environment-model-show <ID>
  [--path <PATH>] [--session-id <SESSION_ID>]``
- New Murano CLI command ``murano environment-model-edit <ID> <FILE>
  --session-id <SESSION_ID>``
- New OSC command ``openstack environment model show <ID>
  [--path <PATH>] [--session-id <SESSION_ID>]``
- New OSC command ``openstack environment model edit <ID> <FILE>
  --session-id <SESSION_ID>``

Depends-on: I672d43464ed7d5722cc574f1a10700b070664f34
Implements: bp environment-edit
Change-Id: I68928b8b38bff585b4d06ba97b9b9a92cd8c4b99
2016-10-05 18:11:09 +03:00
zhurong 4bc630f9ad Add package list to openstack CLI
usage: openstack package list [-h] [-f {csv,json,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>] [--noindent]
                              [--quote {all,minimal,none,nonnumeric}]
                              [--limit LIMIT] [--marker MARKER]
                              [--include-disabled] [--owned]
                              [--search <SEARCH_KEYS>] [--name <PACKAGE_NAME>]
                              [--fqn <PACKAGE_FULLY_QUALIFIED_NAME>]
                              [--type <PACKAGE_TYPE>]
                              [--category <PACKAGE_CATEGORY>]
                              [--class_name <PACKAGE_CLASS_NAME>]
                              [--tag <PACKAGE_TAG>]

List available packages.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I92ba1c4d3a4e73d2f1e5928964d478305d8d126e
2016-09-29 11:26:02 +00:00
zhurong 85d360873e Add package create to openstack CLI
usage: openstack package create [-h] [-t <HEAT_TEMPLATE>]
                                [--classes-dir <CLASSES_DIRECTORY>]
                                [-r <RESOURCES_DIRECTORY>] [-n <DISPLAY_NAME>]
                                [--full-name <full-name>] [-a <AUTHOR>]
                                [--tags [<TAG1 TAG2> [<TAG1 TAG2> ...]]]
                                [-d <DESCRIPTION>] [-o <PACKAGE_NAME>]
                                [-u <UI_DEFINITION>] [--type <TYPE>]
                                [-l <LOGO>]

Create an application package.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I3d81540ede601fe96952dbda483b792924a6fac4
2016-08-08 13:46:16 +00:00
Jenkins f7bafa1b80 Merge "Support for Schemas API was added" 2016-08-06 01:34:06 +00:00
Stan Lagun 00ac179324 Support for Schemas API was added
Partially-Implements blueprint: muranopl-forms
Depends-On: I43ccd2d9d94f9f89db1855932280539f69f2f8d8
Change-Id: I00dbe9edfa532d078b2715aed1ddb778c043809c
2016-08-01 13:18:18 -07:00
LiuNanke 2cdc2edbf9 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: I0e4d710126aaf75892e19e59c9004e7edc95a2f1
2016-08-01 20:07:24 +08:00
Jenkins 32b1ec7c2d Merge "Add support for static actions API" 2016-07-20 16:17:41 +00:00
Jenkins 0dafc3d0c9 Merge "Add environment apps edit to openstack CLI" 2016-07-19 16:29:54 +00:00
Valerii Kovalchuk 5f952f4427 Add support for static actions API
StaticActionManager is added to use static actions API.
Corresponding tools are added to Murano CLI and OpenStackClient.

Depends-on: I17ab2eba0fd6c42309667f42d0644d21940ab02d
Change-Id: Ib6a60f8e33c5d3593a55db9f758e94e27f0a4445
Partially-implements: blueprint static-actions
2016-07-19 14:09:43 +00:00
zhurong 8f2c736e2e Add deployment list to openstack CLI
usage: openstack deployment list [-h] [-f {csv,json,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--noindent]
                                 [--quote {all,minimal,none,nonnumeric}]
                                 <ID>

List deployments for an environment.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I1762ecb8e819367ff4f823937acb1b750dd60bee
2016-07-13 02:50:33 +00:00
zhurong 97ab194c92 Add environment apps edit to openstack CLI
usage: openstack environment apps edit [-h] [--session-id <SESSION>]
                                       <ENVIRONMENT_ID> <FILE>

Edit environment's object model.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I9182bf69cb6c2cdf142ac669ab3ecaefe2ebe19f
2016-07-12 06:02:27 +00:00
zhurong a292afa748 Add environment deploy to openstack CLI
usage: openstack environment deploy [-h] [-f {csv,json,table,value,yaml}]
                                    [-c COLUMN] [--max-width <integer>]
                                    [--noindent]
                                    [--quote {all,minimal,none,nonnumeric}]
                                    [--session-id <SESSION>]
                                    <ENVIRONMENT_ID>

Start deployment of a murano environment session.

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I3d41b2db642586cbc445094667f823fdfe6f1b57
2016-06-17 02:04:51 -04:00
Jenkins 19b181de22 Merge "Add Category support for openstack CLI" 2016-03-16 10:16:43 +00:00
enthurohini becbdeae41 Add Category support for openstack CLI
Adding category commands to murano openstack-client

$ openstack category list
$ openstack category show <id>
$ openstack category create <name>
$ openstack category delete <id> [<id> ...]

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I5623b2fd18508e795115a5e646eb44ad3e82b836
2016-03-15 23:06:36 +00:00
enthurohini 844e8c7829 Add environment create/delete to openstack CLI
$ openstack environment create [--join-net-id <NET_ID>]
                               [--join-subnet-id <SUBNET_ID>]
                               [--region <REGION_NAME>]
                               <ENVIRONMENT_NAME>
$ openstack environment delete [--abandon] <NAME or ID>
                               [<NAME or ID> ...]

Partially implements: blueprint openstack-client-plugin-support

Change-Id: Ic8d97d8fb79ba5ce9e489b4083f26ef96f4e43e9
2016-03-15 23:06:31 +00:00
enthurohini 1fb2a492f4 Add Environment support for openstack CLI
Adding Environment command to murano openstack-client

$ openstack environment list [--all-tenants]
$ openstack environment show <id or name> [--session-id <session id>]
  [--only-apps]
$ openstack environment rename <id> <name>
$ openstack environment session create <id>

Partially implements: blueprint openstack-client-plugin-support

Change-Id: I73e96fd57e43bf04c1513e89b4e427cc86f89ca7
2016-03-15 23:51:58 +03:00
Andreas Jaeger a208cc48eb 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-muranoclient/locale/python-muranoclient.pot to
muranoclient/locale/muranoclient.pot. For this we need to update
setup.cfg.

The domain name is already correct in muranoclient/_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: Iea3c35aed4718a0365a051aec69cf60f2726e9f3
2016-01-28 19:56:54 +01:00
enthurohini 534b108504 Initial commit for openstack-client support in python-muranoclient
This patch enables openstack-client support in python-muranoclient
by setting entry points and implementing two interface functions
`make_client(instance)` and `build_option_parser(parser)`.

Change-Id: I9bd9b9718377e1eb7324d19ee7b0292f18eb22d5
Partially implements: blueprint openstack-client-plugin-support
2016-01-20 23:00:47 +05:30
Kirill Zaitsev 9a19da8004 Add machinery for translations via babel
Also includes current .pot file
and excludes .pot from .gitignore

Targets blueprint: murano-i18n

Change-Id: Ifb77a803ead76394df7745cc7728f727a68bd0e1
2015-12-25 13:18:43 +03:00
Kirill Zaitsev 3fcf14d2e2 Update setup.cfg entries
Updated classifier, author-email and home-page entries

Change-Id: Id1e31e468a08c03ac819857208d5ba4823e67545
2015-12-08 03:39:44 +03:00
xiangxinyong 924a83fe30 Fix some spelling mistakes of setup files
For example.
1.In the setup.cfg file, it is lack of letter p.
  home-page = htts://launchpad.net/murano
2.In the setup.sh file, there are some spelling mistakes.
  Creting $GIT_CLONE_DIR direcory...

Change-Id: I0c9ca977fa438a041c51de74474e0003faccd5b2
Closes-Bug: #1488712
2015-08-26 09:56:04 +08:00
Ruslan Kamaldinov 66331d1c11 Remove version from setup.cfg
We don't need version in setup.cfg because it's managed by git tags

Change-Id: I641ba15ebb7e0df183bb26ca4160da8fd3748ba2
2014-04-18 19:02:57 +04:00
Timur Sufiev 373ee8af0f Update version in setup.cfg
Change-Id: Id751b20ee12a1e5ea188bd47279fc2ff41e5c6bc
2013-12-10 20:47:08 +04:00
Serg Melikyan e2dbb966a4 Cherry-picked changes from release-0.3
* Allow single-wildcard SSL common name matching
* Version bump to 0.3

Change-Id: Idb1ad643239d5944b1017932f5b41bb6ffd36a5f
2013-11-26 16:24:46 +04:00
Sascha Peilicke ab7ce2ef10 Support building wheels (PEP-427)
With that, building and uploading wheels to PyPI is only one "python
setup.py bdist_wheel" away.

Change-Id: If5127eb6a6eff5926020ca110e26b8a1e39814a0
2013-11-19 10:44:21 +01:00
Serg Melikyan ba50258691 Resolve issues with package setup.py
Fixed list of classifiers, fixed exception duriong build

Change-Id: I64e7845175b60868e54e7d99d0d4b7ee7867642c
2013-09-09 10:55:27 +04:00
Igor Yozhikov 59920a3d63 Cherry-pick following change-ids from release-0.2.
I155d42b0b45444fe239cb4ac9bd7e26e5c835aa5
Ie8559212b3850a191e61b7eace489ac369f7bfab
I42d3f577270c8330595c1e006e488c6fc4567d12
Ic75310c28e3d65e8871cc974699146c6767a4c6b
Ibf5ded656f7ae2c80e00aeb4c757bf238b7595aa

Change-Id: Ic260349de80e4ab92239c8eef8e492507bbc40e9
2013-09-03 15:15:02 +04:00
Stan Lagun b66194bacf KEERO-320 - Fix all occurrences of old names (keero, glazier) in python client 2013-04-26 02:00:15 +04:00
Serg Melikyan cc63d38386 Removed all projects except Glazier Api Client 2013-04-09 13:44:21 +04:00