diff --git a/MANIFEST b/MANIFEST index c149be8..2c225ef 100644 --- a/MANIFEST +++ b/MANIFEST @@ -7,6 +7,7 @@ rallyfire.py pyral/__init__.py pyral/config.py pyral/context.py +pyral/cargotruck.py pyral/entity.py pyral/hydrate.py pyral/rallyresp.py diff --git a/PKG-INFO b/PKG-INFO index 2b71a0e..ece0968 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,11 +1,11 @@ Metadata-Version: 1.1 Name: pyral -Version: 1.2.4 +Version: 1.3.0 Summary: Python toolkit for Rally REST API Home-page: https://github.com/RallyTools/RallyRestToolkitForPython Author: Kip Lehman (Rally Software Development) License: BSD -Download-URL: https://github.com/RallyTools/RallyRestToolkitForPython/raw/master/dists/pyral-1.2.4.zip +Download-URL: https://github.com/RallyTools/RallyRestToolkitForPython/raw/master/dists/pyral-1.3.0.zip Description: This is the README file for pyral, a package implementing a Pythonic interface to the Agile Central (formerly Rally) REST API @@ -28,7 +28,7 @@ Description: This is the README file for pyral, a package implementing a The pyral package requires the use of Kenneth Reitz's requests package using version 2.8.0 or better. As of requests version 2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request. The requests package can be found via the Python Package Index site (http://pypi/python.org/index). - The most recent release of pyral (1.2.4) has been tested with requests 2.8.1. + The most recent release of pyral (1.3.0) has been tested with requests 2.12.5. The six module is also required. diff --git a/README.rst b/README.rst index 0a420ce..d5398b2 100644 --- a/README.rst +++ b/README.rst @@ -39,7 +39,7 @@ Obtain the requests_ package and install it according to that package's directio As of requests-2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request. Use of requests-2.x or better is recommended for use with pyral. The requests_ package can be found via the Python Package Index site (http://pypi/python.org/index). -The most recent release of pyral (1.2.4) has been tested using requests 2.8.1. +The most recent release of pyral (1.3.0) has been tested using requests 2.12.5. Obtain and install the six_ module (available from PyPI at https://pypi.python.org/pypi/six) @@ -67,7 +67,7 @@ relevant packages. >> import requests >> import pyral >> pyral.__version__ - (1, 2, 4) + (1, 3, 0) @@ -262,10 +262,10 @@ The item names in config files **are** case sensitive. Prerequisites ------------- - * Python 3.5 (this package not tested with earlier versions of Python 3.x) OR - * Python 2.6 or 2.7 (2.7 is preferred) + * Python 3.5 or 3.6 (this package not tested with earlier versions of Python 3.x) OR + * Python 2.6 or 2.7 (of these two, 2.7 is preferred) * The requests_ package, 2.0.0 or better (2.0.0 finally includes support for https proxy), - requests 2.8.1 is recommended. + requests 2.12.5 is recommended. * The six_ package. .. _requests: http://github.com/kennethreitz/requests @@ -273,6 +273,13 @@ Prerequisites Versions -------- + **1.3.0** + Introduced automatic multi-threading for Rally.get operation to speed up retrieval of large + result sets. Implemented step two of the Pinger deprecation plan, ping=False is the new default. + Increased default page size to 500. Maximum useful page size limit is 2000 but 1000 seems + to be the sweet spot for multithreading requests. + Fixed Rally.getAllUsers so that non subscription admin accounts can see the user list. + Updated recommendation for version of requests package. **1.2.4** Fixed handling of projectScopeUp and projectScopeDown keyword arguments for get operation. @@ -339,8 +346,8 @@ Support The use of this package is on an *as-is* basis and there is no official support offered by CA Technologies. The author of this module periodically checks the GitHub repository issues for this package in the - interests of providing defect fixes and small feature enhancements as time permits, but is not obligated to - respond or take action. +interests of providing defect fixes and small feature enhancements as time permits, but is not obligated to +respond or take action. Posts to Stack Overflow (http://stackoverflow.com/questions/ask?tags=rally) are another avenue to engage others who have some exposure to ``pyral`` and might be able to offer useful information. diff --git a/README.short b/README.short index ac00be9..838e9c5 100644 --- a/README.short +++ b/README.short @@ -20,7 +20,7 @@ Requirements The pyral package requires the use of Kenneth Reitz's requests package using version 2.8.0 or better. As of requests version 2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request. The requests package can be found via the Python Package Index site (http://pypi/python.org/index). -The most recent release of pyral (1.2.4) has been tested with requests 2.8.1. +The most recent release of pyral (1.3.0) has been tested with requests 2.12.5. The six module is also required. diff --git a/build_dist.py b/build_dist.py old mode 100644 new mode 100755 index 1c40afd..8d93f75 --- a/build_dist.py +++ b/build_dist.py @@ -13,7 +13,7 @@ import re PACKAGE_NAME = "pyral" -VERSION = "1.2.4" +VERSION = "1.3.0" AUX_FILES = ['MANIFEST.in', 'PKG-INFO', @@ -70,12 +70,13 @@ 'test/test_convenience.py', 'test/test_inflation.py', 'test/test_field_access.py', - 'test/test_query.py', - 'test/test_search.py', + 'test/test_workspaces.py' 'test/test_wksprj_setting.py', + 'test/test_query.py', + 'test/test_big_query.py', 'test/test_attachments.py', - 'test/test_workspaces.py' 'test/test_ranking.py' + 'test/test_search.py', ] ################################################################################ @@ -104,7 +105,7 @@ def main(args): # got to use Python 2.7 to be able to run python setup.py bdist_wheel os.system('/usr/local/bin/python setup.py bdist_wheel') - wheel_file = "pyral-%s-py2.py3-none-any.whl" % VERSION + wheel_file = "%s-%s-py2.py3-none-any.whl" % (PACKAGE_NAME, VERSION) # the wheel_file gets written into the dist subdir by default, no need for a copy... store_packages('dist', [tarball]) diff --git a/doc/build/doctrees/environment.pickle b/doc/build/doctrees/environment.pickle index f898838..c53e6a9 100644 Binary files a/doc/build/doctrees/environment.pickle and b/doc/build/doctrees/environment.pickle differ diff --git a/doc/build/doctrees/index.doctree b/doc/build/doctrees/index.doctree index 5f8970b..4cb572b 100644 Binary files a/doc/build/doctrees/index.doctree and b/doc/build/doctrees/index.doctree differ diff --git a/doc/build/doctrees/interface.doctree b/doc/build/doctrees/interface.doctree index db134a5..20fdf36 100644 Binary files a/doc/build/doctrees/interface.doctree and b/doc/build/doctrees/interface.doctree differ diff --git a/doc/build/doctrees/overview.doctree b/doc/build/doctrees/overview.doctree index 7a4565e..997b077 100644 Binary files a/doc/build/doctrees/overview.doctree and b/doc/build/doctrees/overview.doctree differ diff --git a/doc/build/html/.buildinfo b/doc/build/html/.buildinfo index 72e9b36..855d958 100644 --- a/doc/build/html/.buildinfo +++ b/doc/build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 04e7a56dd13ad451ac5cbc4d00acee14 +config: b07c03f625d2f2c1cd442854955e285b tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/doc/build/html/_sources/interface.txt b/doc/build/html/_sources/interface.txt index b5e3c34..5b9c6b0 100644 --- a/doc/build/html/_sources/interface.txt +++ b/doc/build/html/_sources/interface.txt @@ -131,7 +131,7 @@ Example use:: print " ".join(['|%|' % opt for opt in [server, user, password, apikey, workspace, project]] - % python basic.py --config=current --rallyProject="Livestock Mgmt" --ping=no + % python basic.py --config=current --rallyProject="Livestock Mgmt" --ping=yes |rally1.rallydev.com| |wiley@acme.com| |*****| |*****| |General Products Umbrella| |Livestock Mgmt| @@ -289,16 +289,14 @@ To instantiate a Rally object, you'll need to provide these arguments: and the default project for the user is not in the workspace specified. Under those conditions, the project is changed to the first project (alphabetic ordering) in the list of projects for the specified workspace. - * server_ping (True or False, default in v1.2.0 is True) + * server_ping (True or False, default in v1.3.0 is False) Specifies whether a ping attempt will be made to confirm network connectivity to the Rally server prior to making a Rally WSAPI REST request. Organizations may have disabled the ability to make ICMP requests so the ping attempt may fail even though there is network connectivity to the Rally server. For this reason, the use of the ping=True option is discouraged going forward. - The next minor point release of pyral (v1.3.0) will have the default value - for this option inverted to be False. The the ping operation itself will be dropped in the next major release (2.0.0). - * isolated_workspace (True or False, default in v1.2.0 is False) + * isolated_workspace (True or False, default in v1.2.0 + is False) Specifies that the Rally instance will only be used for interacting with a single workspace (either the user's default workspace or the named workspace). Using isolated_workspace=True provides performance benefits for a subscription @@ -330,7 +328,7 @@ To instantiate a Rally object, you'll need to provide these arguments: You only have to use this syntax to specify a particular Project if you have multiple instances of that Project that have the same name. There is no provision for supporting the scenario where a Project of the same name exists in the same structural location. -.. py:class:: Rally (server, user=None, password=None, apikey=None, workspace=None, project=None, warn=True, server_ping=True) +.. py:class:: Rally (server, user=None, password=None, apikey=None, workspace=None, project=None, warn=True, server_ping=False) Examples:: diff --git a/doc/build/html/genindex.html b/doc/build/html/genindex.html index d96e91a..5ff5a9c 100644 --- a/doc/build/html/genindex.html +++ b/doc/build/html/genindex.html @@ -9,7 +9,7 @@ - Index — pyral 1.2.4 documentation + Index — pyral 1.3.0 documentation @@ -34,7 +34,7 @@ - + @@ -63,7 +63,7 @@
- 1.2.4 + 1.3.0
@@ -437,7 +437,7 @@

U

@@ -62,7 +62,7 @@
- 1.2.4 + 1.3.0
@@ -188,7 +188,7 @@