Bug 1264276

Summary: [abrt] fedpkg: proxyclient.py:67:<module>:ImportError: No module named requests
Product: [Fedora] Fedora Reporter: Petr Lautrbach <plautrba>
Component: python-fedoraAssignee: Fedora Infrastructure SIG <infra-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: cheese, dennis, infra-sig, jonstanley, lmacken, pbabinca, relrod, ricky, s
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bcb38f0034f7b62ba193273378664f20c7294a34
Whiteboard: abrt_hash:38433f23f46cdf9ae006706e08340886a12f1181
Fixed In Version: python-fedora-0.8.0-1.fc23 python-fedora-0.8.0-1.fc24 python-fedora-0.8.0-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 23:52:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: dso_list
none
File: environ none

Description Petr Lautrbach 2015-09-18 05:40:07 UTC
Description of problem:
I've tried to make an srpm using command:
$ fedpkg srpm

Version-Release number of selected component:
fedpkg-1.20-2.fc24

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python /usr/bin/fedpkg srpm
executable:     /usr/bin/fedpkg
kernel:         4.3.0-0.rc0.git14.2.fc24.x86_64
runlevel:       N 5
type:           Python
uid:            13558

Truncated backtrace:
#1 <module> in /usr/lib/python2.7/site-packages/fedora/client/proxyclient.py:67
#2 <module> in /usr/lib/python2.7/site-packages/fedora/client/__init__.py:121
#3 <module> in /usr/lib/python2.7/site-packages/fedora_cert/__init__.py:15
#4 <module> in /usr/lib/python2.7/site-packages/pkgdb2client/__init__.py:27
#5 <module> in /usr/lib/python2.7/site-packages/fedpkg/cli.py:21
#6 <module> in /usr/lib/python2.7/site-packages/fedpkg/__init__.py:14
#7 <module> in /usr/bin/fedpkg:13

Comment 1 Petr Lautrbach 2015-09-18 05:40:10 UTC
Created attachment 1074685 [details]
File: backtrace

Comment 2 Petr Lautrbach 2015-09-18 05:40:12 UTC
Created attachment 1074686 [details]
File: dso_list

Comment 3 Petr Lautrbach 2015-09-18 05:40:13 UTC
Created attachment 1074687 [details]
File: environ

Comment 4 Petr Lautrbach 2015-09-21 10:58:26 UTC
Apparently, the package doesn't require python-requests.noarch. 
'dnf install python-requests.noarch' fixes this problem

Comment 5 Petr Lautrbach 2015-09-21 11:04:18 UTC

*** This bug has been marked as a duplicate of bug 1264426 ***

Comment 6 Petr Lautrbach 2015-09-21 11:24:27 UTC
It turned out that it's actually bug in python-fedora which does 'import request' but doesn't require python-requests package.

Comment 7 Petr Lautrbach 2015-09-21 11:37:21 UTC
So it was a bug in python3-request which was set to provide python-request. It
should be fixed python-requests-2.7.0-5.fc23, see
https://bugzilla.redhat.com/show_bug.cgi?id=1241671

Comment 8 Jan Kurik 2016-02-24 13:45:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 9 Fedora Update System 2016-04-24 10:26:53 UTC
python-fedora-0.8.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-258acdf02e

Comment 10 Fedora Update System 2016-04-24 10:27:20 UTC
python-fedora-0.8.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-809a11ce4e

Comment 11 Fedora Update System 2016-04-24 10:27:38 UTC
python-fedora-0.8.0-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c1dfe08924

Comment 12 Fedora Update System 2016-04-24 16:50:04 UTC
python-fedora-0.8.0-1.fc24 has been pushed to the Fedora 24 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-2016-809a11ce4e

Comment 13 Fedora Update System 2016-04-25 00:20:49 UTC
python-fedora-0.8.0-1.fc22 has been pushed to the Fedora 22 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-2016-c1dfe08924

Comment 14 Fedora Update System 2016-04-25 00:23:07 UTC
python-fedora-0.8.0-1.fc23 has been pushed to the Fedora 23 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-2016-258acdf02e

Comment 15 Fedora Update System 2016-04-25 23:51:57 UTC
python-fedora-0.8.0-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2016-05-07 11:57:09 UTC
python-fedora-0.8.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2016-05-10 17:54:04 UTC
python-fedora-0.8.0-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.