Skip to content

Commit 568ab99

Browse files
author
Kip Lehman
committed
merge for 0.9.4 release
1 parent 499e496 commit 568ab99

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2218
-614
lines changed

README.rst

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Installation
3131
````````````
3232

3333
Obtain the requests_ package and install it according to that package's directions.
34+
As of requests-2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
35+
Use of requests-2.x or better is recommended for use with pyral.
36+
The requests_ package can be found via the Python Package Index site (http://pypi/python.org/index).
37+
3438

3539
Unpack the ``pyral`` distribution file (zip or tar.gz) and then install the pyral_ package.
3640

@@ -51,11 +55,11 @@ relevant packages.
5155
::
5256

5357
$ python
54-
Python 2.6.6 [other Python interpreter info elided ...]
58+
Python 2.7.5 [other Python interpreter info elided ...]
5559
>> import requests
5660
>> import pyral
5761
>> pyral.__version__
58-
(0, 9, 3)
62+
(0, 9, 4)
5963

6064

6165

@@ -250,16 +254,27 @@ Prerequisites
250254
-------------
251255

252256
* Python 2.6 or 2.7
253-
* The requests_ package, 0.8.2 or better
257+
* The requests_ package, 0.9.3 or better
258+
Recommend using requests 2.0.0 or better. 2.0.0 finally includes support for https proxy.
254259
Developed using requests 0.9.3.
255260
There are reports where requests > 0.9.3 resulted in connection problems (as in not being able to connect) that may be related to SSL. You should be able to use the verify_ssl_cert keyword argument when
256261
obtaining a pyral Rally instance to overcome this issue.
257-
If you are using requests >- 0.9.3, you must also have certifi-0.0.8 (available on PyPI)
262+
If you are using requests < 1.0.0, you must also have certifi-0.0.8 (available on PyPI)
258263

259264
.. _requests: http://github.com/kennethreitz/requests
260265

261266
Versions
262267
--------
268+
* 0.9.4 -
269+
Adjusted Rally __init__ to accommodate using requests 0.x, 1.x, 2.x versions.
270+
Factored out query building and fixed constructing multi condition queries.
271+
Added internal convenience method to handle a list of refs to turn them into a
272+
list of single key (_ref) hashes.
273+
Added UserIterationCapacity to known entities.
274+
Upped default WSAPI version in config to 1.43
275+
Support using of https_proxy / HTTPS_PROXY environment variables.
276+
Refactored getAllUsers to include UserProfile information with fewer queries.
277+
263278
* 0.9.3 -
264279
Fixed Pinger class to use correct ping options on Linux and Windows
265280
Updated exception catching and exception raising to Python 2.6/2.7 syntax.
@@ -310,20 +325,20 @@ TODO
310325
----
311326
* Python 3.3 + support
312327

328+
* Support Rally WSAPI 2.0
329+
313330
* Expand the documentation
314331

315332
* Expand the repertoire of example scripts
316333

317334
* Refactor the source code to make use decorators in pyral.restapi,
318335
dynamically construct the Rally schema hierarchy economically.
319336

320-
* Monitor requests/urllib3 for release that fully supports HTTPS over HTTP proxy.
321-
322337

323338
License
324339
-------
325340

326-
BSD3-style license. Copyright (c) 2010-2012 Rally Software Development.
341+
BSD3-style license. Copyright (c) 2010-2013 Rally Software Development.
327342

328343
See the LICENSE file provided with the source distribution for full details.
329344

README.short

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ Requirements
1818
------------
1919

2020
The pyral package requires the use of Kenneth Reitz's requests package.
21-
The pyral package was developed and tested using requests-0.9.3.
21+
The pyral package was originally developed and tested using requests-0.9.3.
22+
As of requests-2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
23+
Use of requests-2.x or better is recommended for use with pyral.
2224
The requests package can be found via the Python Package Index site (http://pypi/python.org/index).
2325

2426

VERSIONS

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
0.8.7 - Dec 23, 2011
2+
First public release (alpha)
3+
4+
0.8.8 - Jan 2012
5+
introduced warn=boolean to Rally instantiation
6+
removed inflate=boolean in Rally instantiation
7+
8+
0.8.9 - Jan 2012
9+
putative fix for proxy support
10+
11+
0.8.10 - Feb 2012
12+
better fix for proxy support
13+
14+
0.8.11 - Mar 24, 2012
15+
better support for default workspace/project when user profile doesn't specify
16+
a default
17+
fixed assignment of ref value in _createShellArtifact (_ref no longer has the .js on end...)
18+
19+
0.8.12 - Mar 26, 2012
20+
fixed fatal premature exercise of iterator on response in context check, defer to _getDefaults
21+
22+
0.9.1 - July 9, 2012
23+
Upped default WSAPI version in config.py to 1.30
24+
All entities that are subclasses of WorkspaceDomainObject now have a details method
25+
that show the attribute values in an easy to read multiline format.
26+
Dropped attempted discrimination of server value to determine if it is a name or an IPv4 address No longer look for http_proxy in environment, only https_proxy.
27+
Introduced convenience methods dealing with attachments
28+
29+
0.9.2 - October 1, 2012
30+
Fixed getProject method to take an optional name parm.
31+
Added HTTP header item in config.py to set Content-Type to 'application/json'
32+
Added keyword arg to restapi.Rally __init__ method to
33+
allow specifying a verify_ssl_cert=True/False value to requests.session creation,
34+
This results is passing on the the requests.session call a verify flag that it
35+
uses to determine whether or not checking the SSL certificate is desired.
36+
Modified the details method in entity.py to be more resilient by bypassing
37+
attributes that an item might have but doesn't have as a query fetch spec
38+
didn't include all potential attributes.
39+
Fixed addAttachment to specify Attachment size as size of original attachment file
40+
rather than the size of the base64 encoding result.
41+
42+
0.9.3 - October 7, 2012
43+
Fixed Pinger class to use correct ping options on Linux and Windows platforms.
44+
Updated exception catching and raising to use Python 2.6/2.7 compliant syntax.
45+
46+
0.9.4 - October 2013
47+
Upped default WSAPI version to 1.43.
48+
Tested against requests 2.0.0 which now support https via proxy.
49+
Updated pyral.restapi.Rally to accommodate requests versions 0.x, 1.x and 2.x.
50+
Fixed construction of multi-condition queries and broke out query construction into a separate code file.
51+
Support for Rally dyna-types (PortfolioItem/<subtype> where subtype is one of Theme, Initiative or Feature.
52+
Added UserIterationCapacity, Fixed the *CumulativeFlowData entity names.
53+
Added internal facility to accept Rally reference identifiers in a list form and convert them
54+
to a list of dicts with each dict containing a key-value pair for '_ref' and associated value.
55+
Added a details method for any WorkspaceDomain derived entity instance.

build_dist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import zipfile
1212

1313
PACKAGE_NAME = "pyral"
14-
VERSION = "0.9.3"
14+
VERSION = "0.9.4"
1515

1616
AUX_FILES = ['MANIFEST.in',
1717
'LICENSE',

dists/pyral-0.9.2.tar.gz

1023 Bytes
Binary file not shown.

dists/pyral-0.9.2.zip

7.41 KB
Binary file not shown.

dists/pyral-0.9.3.tar.gz

56 Bytes
Binary file not shown.

dists/pyral-0.9.3.zip

29 Bytes
Binary file not shown.

dists/pyral-0.9.4.tar.gz

149 KB
Binary file not shown.

dists/pyral-0.9.4.zip

179 KB
Binary file not shown.

0 commit comments

Comments
 (0)