Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707362 - dev-python/jira-1.0.14-r2 : jirashell: ModuleNotFoundError: No module named 'oauthlib'
Summary: dev-python/jira-1.0.14-r2 : jirashell: ModuleNotFoundError: No module named '...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-09-21
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2020-01-30 11:15 UTC by Kobboi
Modified: 2020-09-21 14:27 UTC (History)
0 users

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 2020-01-30 11:15:00 UTC
Current use flages: jirashell kerberos magic oauth

I have all of them disabled (ebuild default)

Still I have the jirashell script, which then does not work because of

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

and after adding dev-python/oauthlib

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

and after adding dev-python/requests-oauthlib I get a working jirashell.

So although these USE flags give the impression of flexibility, there actually isn't that much.

At least USE=jirashell seems to have to imply USE=oauth (see above).

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 14:27:49 UTC
package(s) removed.