Jira-python package does not work with the latest Requests (1.0.4)

Dmitry Nechayev December 27, 2012

Consequently, default installation currently (through pip jira-python) is not operational. The workaround of course is to uninstall latest Requests and manually install 0.13.6 from github

Traceback (most recent call last):
File "test.py", line 3, in <module>
jira = JIRA(options={'server': '<http>'},basic_auth=('user', 'password'))
File "D:\My Documents\Projects\Tools\Python 2.7.3\lib\site-packages\jira\client.py", line 88, in __init__
self._create_http_basic_session(*basic_auth)
File "D:\My Documents\Projects\Tools\Python 2.7.3\lib\site-packages\jira\client.py", line 1369, in _create_http_basic_session
hooks={'args': self._add_content_type})
TypeError: session() takes no arguments (2 given)

1 answer

1 accepted

1 vote
Answer accepted
twong_atlassian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 28, 2012

I've gone ahead and posted the issue on the developer's issue tracker on your behalf at: https://bitbucket.org/bspeakmon/jira-python/issue/9/jira-python-package-does-not-work-with-the

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events