Bug 1772988
Summary: | python3-config --configdir incorrect | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alex Scheel <ascheel> |
Component: | python3 | Assignee: | Victor Stinner <vstinner> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | cstratak, dmalcolm, laetoto.live, m.cyprian, mhroncok, pviktori, rkuska, shcherbina.iryna, slavek.kabrda, tomspur, torsava, vstinner |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python3-3.7.7-3.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-06-22 07:30:59 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
Alex Scheel
2019-11-15 18:29:40 UTC
Thanks for the report! I acknowledge that this is a bug. > $ python3.8-config --configdir > /usr/lib/python3.7/config-3.8-x86_64-linux-gnu Strange, I get a different result on Fedora 31 with python38-3.8.0-1.fc31.x86_64: $ python3.8-config --configdir /usr/lib64/python3.8/config-3.8-x86_64-linux-gnu $ ls /usr/lib64/python3.8/config-3.8-x86_64-linux-gnu config.c config.c.in install-sh* Makefile makesetup* __pycache__/ python-config.py* python.o Setup Setup.local > In all cases it points to /usr/lib, when it should point to /usr/lib64, where the file actually exists. E.g.: I confirm the issue with python3-3.7.5-1.fc31.x86_64: $ python3-config --configdir /usr/lib/python3.7/config-3.7m-x86_64-linux-gnu $ ls /usr/lib/python3.7/config-3.7m-x86_64-linux-gnu ls: cannot access '/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu': No such file or directory $ ls /usr/lib/python3.7/ site-packages/ It's an issue in the python3-config program, the directory exists: $ ls /usr/lib64/python3.7/config-3.7m-x86_64-linux-gnu config.c config.c.in install-sh* Makefile makesetup* __pycache__/ python-config.py* python.o Setup Setup.local Ah no, I think you're right here. Weird, I thought I had this issue with 3.8 but I guess I'm not able to reproduce it any more. It probably doesn't make sense to backport to older Pythons/Fedoras. Please reopen if you disagree. Python 3.6 on RHEL 8 is also impacted: bz#1772992. I reopen this issue to first fix the bug in python37 package of Rawhide: https://src.fedoraproject.org/rpms/python37/pull-request/45 fix. My plan is then to backport the fix to fc32 and fc31, and then to RHEL Python 3.6. This issue was fixed downstream in Python 3.8 to solve bz#1710767: https://src.fedoraproject.org/rpms/python3/c/7aab0ddc87c4c8476c8077800e765e52480fbc4d?branch=master But Python 3.7 and older were not fixed. FEDORA-2020-91aa1ba2f7 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-91aa1ba2f7 FEDORA-2020-865971c39b has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-865971c39b FEDORA-2020-91aa1ba2f7 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-91aa1ba2f7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-91aa1ba2f7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-865971c39b has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-865971c39b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-865971c39b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-2112eaed6c has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-2112eaed6c FEDORA-2020-f8b74a5300 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f8b74a5300 FEDORA-2020-f8b74a5300 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f8b74a5300` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f8b74a5300 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-2112eaed6c has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-2112eaed6c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-2112eaed6c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. python37-3.7.7-3.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report. python36-3.6.10-5.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report. python36-3.6.10-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. FEDORA-2020-f8b74a5300 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report. |