Description of problem: google-auth requires pyasn1-modules>=0.2.1 Even though the package version is newer, it looks like pyasn1-modules package provides 0.1.5. I believe this is because the package version is tied to the parent packages python-pyasn1 version. rpm -ql python2-pyasn1-modules /usr/lib/python2.7/site-packages/pyasn1_modules /usr/lib/python2.7/site-packages/pyasn1_modules-0.1.5-py2.7.egg-info pyasn1 (0.3.7) pyasn1-modules (0.1.5) https://koji.fedoraproject.org/koji/buildinfo?buildID=1000474 Changelog * Thu Nov 16 2017 Christian Heimes <cheimes> - 0.3.7-1 - Update to upstream release 0.3.7 (#1492446) - Update modules to 0.1.5 Version-Release number of selected component (if applicable): yum list installed python2-google-auth python2-pyasn1 python2-pyasn1-modules Installed Packages python2-google-auth.noarch 1.3.0-2.fc28 @fedora python2-pyasn1.noarch 0.3.7-2.fc28 @fedora python2-pyasn1-modules.noarch 0.3.7-2.fc28 @fedora How reproducible: Always Actual results: Traceback (most recent call last): File "/usr/bin/apb", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3088, in <module> @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 576, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 589, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 778, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pyasn1-modules>=0.2.1' distribution was not found and is required by google-auth Expected results: python google auth dependencies are satisfied. Additional info: For Release 1.3.0 dependencies in the setup.py are listed here: https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/dcbf1e0af0c79f1424f03ad27b071eccfdbc80d3/setup.py#L22
pyasn1 build includes two different modules from different repos with different releases. the pyasn1-modules version actually included in python2-pyasn1-modules- 0.3.7-2.fc28 is 0.1.5: https://src.fedoraproject.org/rpms/python-pyasn1/blob/5f0ec2781f84ed16a471ab1a1f8d2778c5a98e18/f/python-pyasn1.spec#_2 Updating python-pyasn1-modules to >= 0.2.1 requires bumping python-pyasn1 to >= 0.4.1 which is not yet even in rawhide and I'm pretty sure it will not be bumped in fc28, so i think the best solution is moving python-google-auth to 1.1.1 which doesn't require pyasn1-modules >= 0.2.1 and has previously tested with python-kubernetes.
python-google-auth-1.1.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-46f231d5c8
I've reverted to 1.1.1 in rawhide python-google-auth-1.1.1-1.fc29 and bumped epoch https://koji.fedoraproject.org/koji/taskinfo?taskID=29052712. I'm also updating it in fedora28 https://koji.fedoraproject.org/koji/taskinfo?taskID=29052766. Update requested in https://bodhi.fedoraproject.org/updates/FEDORA-2018-46f231d5c8 . Feel free to add feedback.
python-google-auth-1.1.1-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-46f231d5c8
python-google-auth-1.1.1-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.