Rallydev/pyral — Issue #1: Doesn't work with Requests 0.9 or later
Author: chris-morgan
Created: 2012-02-13 05:21:43+00:00
State: open

The latest version of `requests` that `pyral` will work with is 0.8.9; 0.9 turned on SSL verification by default (the only code change between 0.8.9 and 0.9 is the changing of `verify=None` in `Session.__init__`'s arguments to `verify=True`), and this has broken pyral:

H:\Private\pyral-0.8.9>python rallyfire.py
|rally1.rallydev.com| |wiley@acme.com| |G3ronim0!| |default| |default|
Traceback (most recent call last):
File "H:\Private\pyral-0.8.9\rallyfire.py", line 56, in
main(sys.argv[1:])
File "H:\Private\pyral-0.8.9\rallyfire.py", line 26, in main
rally = Rally(server, user, password, workspace=workspace, project=project)
File "H:\Private\pyral-0.8.9\pyral\restapi.py", line 165, in __init__
self.contextHelper.check(self.server)
File "H:\Private\pyral-0.8.9\pyral\context.py", line 182, in check
raise RallyRESTAPIError(problem)
pyral.context.RallyRESTAPIError: 404 Target host: 'rally1.rallydev.com' doesn't support the Rally WSAPI