Bug 2166334

Summary: pipenv produces undesired RuntimeWarnings in Fedora 37
Product: [Fedora] Fedora Reporter: Lumír Balhar <lbalhar>
Component: pipenvAssignee: Tomas Orsava <torsava>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: ksurma, mhroncok, python-packagers-sig, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pipenv-2022.10.25-2.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-11 04:25:01 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 Lumír Balhar 2023-02-01 14:05:22 UTC
Description of problem:
The output of pipenv command on Fedora 37 is full of annoying warnings like:

/usr/lib/python3.11/site-packages/pipenv/vendor/attr/_make.py:876: RuntimeWarning: Running interpreter doesn't sufficiently support code object introspection.  Some features like bare super() or accessing __class__ will not work with slotted classes.
  set_closure_cell(cell, cls)

Version-Release number of selected component (if applicable):
pipenv-2022.5.2-3.fc37.noarch

How reproducible:
Always.

Steps to Reproduce:
1. dnf install pipenv
2. pipenv install pytest

Actual results:
Warnings everywhere.

Expected results:
No warnings.

Additional info:
Do you think that it's safe to merge rawhide into F37? If not, do you know which version or commit fixed the problem in rawhide?

Comment 1 Tomas Orsava 2023-03-01 12:09:21 UTC
PR: https://src.fedoraproject.org/rpms/pipenv/pull-request/58

Comment 2 Fedora Update System 2023-03-02 11:12:18 UTC
FEDORA-2023-d807b2450c has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d807b2450c

Comment 3 Fedora Update System 2023-03-03 02:25:33 UTC
FEDORA-2023-d807b2450c has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d807b2450c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d807b2450c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-03-11 04:25:01 UTC
FEDORA-2023-d807b2450c has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.