[python-bugzilla] requests dependency missing from setup.py/setup.cfg; bugzilla cli/modules fail to import on machines without requests package

Garrett Cooper yanegomi at gmail.com
Thu Sep 11 21:36:49 UTC 2014


Hello!
    I recently did a pip install of python-bugzilla, which installed
1.1.0, and when I tried running the bugzilla command it failed to
execute because the requests module wasn't installed on my machine.
    Replacing requirements.txt with the following lines in setup.py should work:

    install_requires=[
        'requests',
    ]

    Also, if python-bugzilla depends on certain API versions of
requests, it might be a good idea to do some sort of version checking;
I know that the latest version of the requests package is not
backwards compatible in many ways with the new one.
Thanks!
-Garrett


More information about the python-bugzilla mailing list