Bug 1775656

Summary: error: The 'requests' distribution was not found and is required by koji
Product: [Fedora] Fedora Reporter: Ondrej Soukup <osoukup>
Component: python-setuptoolsAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: cstratak, infra-sig, lewk, mhroncok, orion, pviktori, python-sig, rkuska, TicoTimo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-setuptools-41.6.0-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-18 02:22:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ondrej Soukup 2019-11-22 14:16:11 UTC
Description of problem:

I am facing an issue resolving requests dependency by setuptools when I put it in a specific order together with requests-gssapi and koji.

Version-Release number of selected component (if applicable):

Fedora 31 - running in docker.

How reproducible:

Always.

Steps to Reproduce:

sudo docker run -it fedora:latest
dnf install python3-pip python3-devel krb5-devel gcc -y
printf "from setuptools import setup\nsetup(install_requires=['requests', 'requests-gssapi', 'koji'])\n" >setup.py
python3 setup.py install

Actual results:

Dependency resolving error in the $subject.

Expected results:

Correctly resolved dependency.

Additional info:

Everything works fine when I put the requirements in different order

install_requires=['requests-gssapi', 'requests', 'koji']

I previously filed bug against upstream but I was notified by a colleague that it actually works fine for the latest version v41.6.0 so I it could be probably resolved by upgrading Fedora version.

Comment 1 Orion Poplawski 2019-11-23 22:06:49 UTC
Setting to proper SRPM component (python3-setuptools is for EPEL only).

Comment 2 Miro Hrončok 2020-02-11 14:39:22 UTC
Working on backporting the 41.6.0 update to Fedora 31.

Comment 4 Fedora Update System 2020-03-03 14:16:03 UTC
FEDORA-2020-37d53c9c97 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-37d53c9c97

Comment 5 Fedora Update System 2020-03-03 20:28:25 UTC
python-setuptools-41.6.0-1.fc31 has been pushed to the Fedora 31 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-2020-37d53c9c97

Comment 6 Fedora Update System 2020-03-18 02:22:00 UTC
python-setuptools-41.6.0-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.