Bug 2021229
Summary: | F36FailsToInstall: python3-fixit | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-fixit | Assignee: | Davide Cavalca <davide> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | code, davide, gordon.messmer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-fixit-0.1.4-2.fc35 python-fixit-0.1.4-2.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-17 12:23:17 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1992487 |
Description
Miro Hrončok
2021-11-08 15:54:49 UTC
I've tried fixing this with https://paste.centos.org/view/7eb3222a but it's still annoyingly picking up the requirement: - nothing provides python3.10dist(importlib-resources) >= 5.1.2 needed by python3-fixit-0.1.4-1.fc36.noarch FEDORA-2021-cdb5fc4ad0 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cdb5fc4ad0 FEDORA-2021-d4c142fb30 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d4c142fb30 FEDORA-2021-cdb5fc4ad0 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cdb5fc4ad0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cdb5fc4ad0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-d4c142fb30 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d4c142fb30` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d4c142fb30 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. (In reply to Davide Cavalca from comment #1) > I've tried fixing this with https://paste.centos.org/view/7eb3222a but it's > still annoyingly picking up the requirement: > > - nothing provides python3.10dist(importlib-resources) >= 5.1.2 needed by > python3-fixit-0.1.4-1.fc36.noarch Not for me: $ rpm -qp --requires results_python-fixit/0.1.4/2.fc36/python3-fixit-0.1.4-2.fc36.noarch.rpm /usr/bin/python3 python(abi) = 3.10 python3.10dist(flake8) >= 3.8.1 python3.10dist(jsonschema) >= 3.2 python3.10dist(libcst) >= 0.3.18 python3.10dist(pyyaml) >= 5.2 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1 $ cat Fixit-0.1.4/requirements.txt flake8>=3.8.1 libcst>=0.3.18 pyyaml>=5.2 jsonschema>=3.2.0 importlib-resources>=5.1.2; python_version <= '3.6' Reproduced from my response on the the python-devel mailing list: I know this pattern works in general, because I maintain several Python packages in which it is used. I tried modifying python-fixit to patch requirements.txt as you described. I confirmed the line appeared in the “prepped” source as you have written. Then I built it with mock and installed it into a Rawhide chroot without difficulty. My best guess is that there was a mix-up in which RPM version you were trying to install—something that’s probably happened to all of us. Perhaps you built it in Rawhide and didn’t use --enablerepo=local when testing the installation? Anyway, if you can reproduce the problem again, please consider doing so in a PR against your package, so that others can check out the PR and examine the exact spec file that is not working. A side note: since, for example, Python 3.6.1 is not “<= '3.6'”, I think this conditional would be better written as “< '3.7'” instead. Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok). All subpackages of a package against which this bug was filled are now installable or removed from Fedora 36. Thanks for taking care of it! FEDORA-2021-cdb5fc4ad0 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-d4c142fb30 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |