Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655854 - dev-python/jira-1.0.14 should RDEPEND on dev-python/requests-oauthlib - jirashell: ImportError: No module named oauthlib.oauth1
Summary: dev-python/jira-1.0.14 should RDEPEND on dev-python/requests-oauthlib - jiras...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Austin English (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-16 09:55 UTC by Kobboi
Modified: 2018-05-16 20:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2018-05-16 09:55:18 UTC
$ jirashell

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/jirashell", line 6, in <module>
    from jira.jirashell import main
  File "/usr/lib64/python2.7/site-packages/jira/jirashell.py", line 20, in <module>
    from oauthlib.oauth1 import SIGNATURE_RSA
ImportError: No module named oauthlib.oauth1

--> needs to depend on dev-python/oauthlib, after adding that I get

$ jirashell

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/jirashell", line 6, in <module>
    from jira.jirashell import main
  File "/usr/lib64/python2.7/site-packages/jira/jirashell.py", line 23, in <module>
    from requests_oauthlib import OAuth1
ImportError: No module named requests_oauthlib

--> needs to depend on dev-python/requests-oauthlib

Note that these libraries are imported separately, so I think they both need to be added as dependencies (and not count on one of them depending on the other)
Comment 1 Kobboi 2018-05-16 15:04:40 UTC
I don't think I agree that requests-oauthlib is the only dependency, but OK...
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2018-05-16 15:26:43 UTC
(In reply to Kobboi from comment #1)
> I don't think I agree that requests-oauthlib is the only dependency, but
> OK...

What do you mean?
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2018-05-16 20:46:16 UTC
I have reviewed and reworked the USE flag logic and dependencies in 1.0.14-r1. It should work for you.

I have also added kerberos authentication.

Thanks for your bug report.