We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: I1e72cf7084ed0b6fcd3c5df1f31b3fa6c7734d31
Sync tools/tox_install.sh with python-openstackclient. This brings in
the following improvements:
* Do not leave temporary directory around, instead delete temporary
directory directly after usage (change
I939eae82dba3287fd4e4086128ebf4609a0e0770).
* Do not set ZUUL_BRANCH explicitely and remove unused if condition
(change I0077c986a17d6bb92791474e03d1e77776e9382f).
Change-Id: I58e62c7b3f9340ca6df6f9f17a9ed7801b32dbf5
Client version pin is maintained in upper-constraints.txt file, so we
should replace it in the file with source based specifier before
applying it to pip install, otherwise pip fails with:
Could not satisfy constraints for 'python-neutronclient': installation
from path or url cannot be constrained to a version
Change-Id: I33302cdcab980a42c39dc9ec1e430add459615ff
Closes-Bug: #1583050
Shorthand \s isn't POSIX compliant; it works with GNU sed, but not BSD sed.
Changed \s to the literal whitespace character to fix this issue.
Change-Id: I936b372e4022a4717a64cea9a8928b6dc00c6711
Closes-Bug: #1459470
Closes-Bug: #1277492
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.
adding test-requirements.txt to quantumclient/openstack/common/setup.py per review instructions.
Change-Id: Ibf991b400bfbeb4222216649901586e01a0255b1
Fixes: bug #1179008
Make the flake8 dependencies consistent with openstack/requirements and
the other OpenStack projects.
Fixes bug 1172444.
Change-Id: I04bd814ad51cf53a3fa0026028a36de461da45d4
* Add hacking to the tox build - a set of flake8 plugins that
perform automatic validation of many HACKING.rst rules.
* This patch configures hacking in the tox build and performs
the mechanical cleanup required to allow the checks to pass.
* See https://pypi.python.org/pypi/hacking
Change-Id: Ib41313b5aae991e6ffef2a89dd69e83985bdc36d
* flake8 supports more checks than pep8 (e.g. detection of
unused imports and variables), and has an extension mechanism.
A plugin to support automatic HACKING validation is planned.
* See: http://flake8.readthedocs.org/
Change-Id: I1cba551fadf87f3dbc40a002736c1009e7b9d5b5
The other openstack clients use prettytable>=0.6,<0.7. For several
reasons (primarily a lack of support in pip), we will match that here.
Change-Id: Id4fb08ae48a65666014c96a22baefe46a771b002
sets version that pip can use for pyparser to one that is for python 2.X. 2.0.0 is only for python 3
Change-Id: I8e23e576032290a71ba929af5f5c729ae3dffca6
Fixes: bug #1091028
Bug #1036051
We add list_columns in list commands to limit the output columns.
The behaviour is overriden if we use -c in command.
Change-Id: I0fa6c73cd7270d86aff01d3790d59c8d4e8a235a
Adding nosehtmloutput as a test dependency allows nose to output its
results to an html file. This will be used by Jenkins to save logs on
a different server.
Change-Id: I378954997a5d893ac1156c2ae254532c617f78c7
blueprint new-cli
Bug #1001053
Implement new commands interface, ready for v2.0. adopt cliff arch. new
client binary is quantumv2. After it is stable, we will remove quantum
binary. Httplibs2 is used.
usage: https://docs.google.com/document/d/1e_4UtnhFfgtnsB8EVB31BZKldaVzl_BlsGnGBrKmcDk/edit
Patch 2: add license header
Patch 3: add v1.0 support, fix show net details
Patch 4: quantumclient network api v2.0
Patch 5: subnet and port commands for api v2.0, add fields selector
Patch 6: add test cases
Patch 7: fix interactive mode, modify according to comments and https://review.openstack.org/#/c/8366/, add two tasks to BP: noauth and openstack common
Patch 8: fix log problem
Patch 9: modify according to the comments by dan on patch 5
Patch 10: just trigger jenkins
Patch 11: pep 1.3 fix
Patch 12: cliff and prettytable to more than 0.6.0
Patch 13: change setup.py to include more packages
Patch 14: pep check on jenkins
Patch 15: add license text to empty __init__.py files
Patch 16: fix v1.1 test cases after server changes
Change-Id: Ibbbdd834371c6a023b31e4797718fc0fe9786d89
Moved openstack nose invocation to tox.ini from setup.cfg, as there
is no way to turn it off if it's in setup.cfg, and when we're running
in jenkins, we want to run via xunit and not via openstack color output.
Change-Id: I0a7b6232834b5cdfc97be9c2f93f726d6b47e0ac
* Moved server-specific functionality found in quantum.common to
the quantum repo.
* Renamed primary package from quantum -> quantumclient.
* Addresses bug 977711 and bug 921933
Change-Id: If34553924c8dfcc6b148c1d91f173a4b81eeb95a
Change the pypi name to match the expected name.
Update versions in pip-requires to match other projects.
Add coverage support to tox.
Change-Id: Id02b039dc8c89bfdae1acc5adea06757cd326bb8