Bug 1775656 - error: The 'requests' distribution was not found and is required by koji
Summary: error: The 'requests' distribution was not found and is required by koji
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-setuptools
Version: 31
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-22 14:16 UTC by Ondrej Soukup
Modified: 2020-03-18 02:22 UTC (History)
9 users (show)

Fixed In Version: python-setuptools-41.6.0-1.fc31
Clone Of:
Environment:
Last Closed: 2020-03-18 02:22:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.