Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45547 - [python2-oauth2client] Dependency on old (unavailable) version of pyasn1-modules

Attached to Project: Community Packages
Opened by Magnus Therning (magus) - Saturday, 04 July 2015, 15:47 GMT
Last edited by Andrzej Giniewicz (Giniu) - Sunday, 05 July 2015, 07:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andrzej Giniewicz (Giniu)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Running `goobook` (installed from AUR) results in

Traceback (most recent call last):
File "/usr/bin/goobook", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyasn1-modules==0.0.5' distribution was not found and is required by oauth2client

That is oauth2client has a dependency on pyasn1-modules 0.0.5, while only version 0.0.6 is available from extra.
This task depends upon

Closed by  Andrzej Giniewicz (Giniu)
Sunday, 05 July 2015, 07:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 1.4.11-3.
Comment by Andrzej Giniewicz (Giniu) - Saturday, 04 July 2015, 21:46 GMT
Sorry, but wasn't that fixed in 1.4.11-2? I see python-pyasn1-modules>=0.0.5 on https://www.archlinux.org/packages/community/any/python-oauth2client/

Also note, that I've used hardcoded versions for 1.4.11, because of https://github.com/google/oauth2client/blob/v1.4.11/setup.py#L37 - this is what upstream does, it specifies explicit version there. This restriction was later removed in https://github.com/mart-e/oauth2client/commit/33c69abaf3f8fad41856c02cbee89eade7c1dba9 for pyasn1-modules - and there were no changes related to it, so I backported this one.
Comment by Andrzej Giniewicz (Giniu) - Saturday, 04 July 2015, 21:48 GMT
Btw, it was  FS#45413  earlier or am I missing something? Closing for now, reopen if this is new issue.
Comment by Magnus Therning (magus) - Sunday, 05 July 2015, 05:41 GMT
The issue pointed to is relating to the dependencies of the package.

This issue is related to the contents of the package itself (/usr/lib/python2.7/site-packages/oauth2client-1.4.11-py2.7.egg-info/requires.txt), which means it is new.

Loading...