Skip to content

Commit cf3b61f

Browse files
Merge pull request #118 from klehman-rally/master
auto multithreading for queries returning large result sets
2 parents b3af7a0 + fb19bfb commit cf3b61f

35 files changed

+420
-136
lines changed

MANIFEST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ rallyfire.py
77
pyral/__init__.py
88
pyral/config.py
99
pyral/context.py
10+
pyral/cargotruck.py
1011
pyral/entity.py
1112
pyral/hydrate.py
1213
pyral/rallyresp.py

PKG-INFO

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Metadata-Version: 1.1
22
Name: pyral
3-
Version: 1.2.4
3+
Version: 1.3.0
44
Summary: Python toolkit for Rally REST API
55
Home-page: https://github.com/RallyTools/RallyRestToolkitForPython
66
Author: Kip Lehman (Rally Software Development)
77
License: BSD
8-
Download-URL: https://github.com/RallyTools/RallyRestToolkitForPython/raw/master/dists/pyral-1.2.4.zip
8+
Download-URL: https://github.com/RallyTools/RallyRestToolkitForPython/raw/master/dists/pyral-1.3.0.zip
99
Description: This is the README file for pyral, a package implementing a
1010
Pythonic interface to the Agile Central (formerly Rally) REST API
1111

@@ -28,7 +28,7 @@ Description: This is the README file for pyral, a package implementing a
2828
The pyral package requires the use of Kenneth Reitz's requests package using version 2.8.0 or better.
2929
As of requests version 2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
3030
The requests package can be found via the Python Package Index site (http://pypi/python.org/index).
31-
The most recent release of pyral (1.2.4) has been tested with requests 2.8.1.
31+
The most recent release of pyral (1.3.0) has been tested with requests 2.12.5.
3232
The six module is also required.
3333

3434

README.rst

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Obtain the requests_ package and install it according to that package's directio
3939
As of requests-2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
4040
Use of requests-2.x or better is recommended for use with pyral.
4141
The requests_ package can be found via the Python Package Index site (http://pypi/python.org/index).
42-
The most recent release of pyral (1.2.4) has been tested using requests 2.8.1.
42+
The most recent release of pyral (1.3.0) has been tested using requests 2.12.5.
4343

4444
Obtain and install the six_ module (available from PyPI at https://pypi.python.org/pypi/six)
4545

@@ -67,7 +67,7 @@ relevant packages.
6767
>> import requests
6868
>> import pyral
6969
>> pyral.__version__
70-
(1, 2, 4)
70+
(1, 3, 0)
7171

7272

7373

@@ -262,17 +262,24 @@ The item names in config files **are** case sensitive.
262262
Prerequisites
263263
-------------
264264

265-
* Python 3.5 (this package not tested with earlier versions of Python 3.x) OR
266-
* Python 2.6 or 2.7 (2.7 is preferred)
265+
* Python 3.5 or 3.6 (this package not tested with earlier versions of Python 3.x) OR
266+
* Python 2.6 or 2.7 (of these two, 2.7 is preferred)
267267
* The requests_ package, 2.0.0 or better (2.0.0 finally includes support for https proxy),
268-
requests 2.8.1 is recommended.
268+
requests 2.12.5 is recommended.
269269
* The six_ package.
270270

271271
.. _requests: http://github.com/kennethreitz/requests
272272
.. _six: https://bitbucket.org/gutworth/six
273273

274274
Versions
275275
--------
276+
**1.3.0**
277+
Introduced automatic multi-threading for Rally.get operation to speed up retrieval of large
278+
result sets. Implemented step two of the Pinger deprecation plan, ping=False is the new default.
279+
Increased default page size to 500. Maximum useful page size limit is 2000 but 1000 seems
280+
to be the sweet spot for multithreading requests.
281+
Fixed Rally.getAllUsers so that non subscription admin accounts can see the user list.
282+
Updated recommendation for version of requests package.
276283

277284
**1.2.4**
278285
Fixed handling of projectScopeUp and projectScopeDown keyword arguments for get operation.
@@ -339,8 +346,8 @@ Support
339346

340347
The use of this package is on an *as-is* basis and there is no official support offered by CA Technologies.
341348
The author of this module periodically checks the GitHub repository issues for this package in the
342-
interests of providing defect fixes and small feature enhancements as time permits, but is not obligated to
343-
respond or take action.
349+
interests of providing defect fixes and small feature enhancements as time permits, but is not obligated to
350+
respond or take action.
344351
Posts to Stack Overflow (http://stackoverflow.com/questions/ask?tags=rally) are another avenue to engage
345352
others who have some exposure to ``pyral`` and might be able to offer useful information.
346353

README.short

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Requirements
2020
The pyral package requires the use of Kenneth Reitz's requests package using version 2.8.0 or better.
2121
As of requests version 2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
2222
The requests package can be found via the Python Package Index site (http://pypi/python.org/index).
23-
The most recent release of pyral (1.2.4) has been tested with requests 2.8.1.
23+
The most recent release of pyral (1.3.0) has been tested with requests 2.12.5.
2424
The six module is also required.
2525

2626

build_dist.py

100644100755
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import re
1414

1515
PACKAGE_NAME = "pyral"
16-
VERSION = "1.2.4"
16+
VERSION = "1.3.0"
1717

1818
AUX_FILES = ['MANIFEST.in',
1919
'PKG-INFO',
@@ -70,12 +70,13 @@
7070
'test/test_convenience.py',
7171
'test/test_inflation.py',
7272
'test/test_field_access.py',
73-
'test/test_query.py',
74-
'test/test_search.py',
73+
'test/test_workspaces.py'
7574
'test/test_wksprj_setting.py',
75+
'test/test_query.py',
76+
'test/test_big_query.py',
7677
'test/test_attachments.py',
77-
'test/test_workspaces.py'
7878
'test/test_ranking.py'
79+
'test/test_search.py',
7980
]
8081

8182
################################################################################
@@ -104,7 +105,7 @@ def main(args):
104105

105106
# got to use Python 2.7 to be able to run python setup.py bdist_wheel
106107
os.system('/usr/local/bin/python setup.py bdist_wheel')
107-
wheel_file = "pyral-%s-py2.py3-none-any.whl" % VERSION
108+
wheel_file = "%s-%s-py2.py3-none-any.whl" % (PACKAGE_NAME, VERSION)
108109
# the wheel_file gets written into the dist subdir by default, no need for a copy...
109110

110111
store_packages('dist', [tarball])
-75 Bytes
Binary file not shown.

doc/build/doctrees/index.doctree

66 Bytes
Binary file not shown.
-715 Bytes
Binary file not shown.
-24 Bytes
Binary file not shown.

doc/build/html/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 04e7a56dd13ad451ac5cbc4d00acee14
3+
config: b07c03f625d2f2c1cd442854955e285b
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

0 commit comments

Comments
 (0)