Bug 2254335 - python3-pylint cannot be installed on rawhide
Summary: python3-pylint cannot be installed on rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pylint
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-13 11:20 UTC by Jan Pazdziora (Red Hat)
Modified: 2023-12-13 15:50 UTC (History)
4 users (show)

Fixed In Version: python-isort-5.13.1-1.fc40, pylint-3.0.3-2.fc40
Clone Of:
Environment:
Last Closed: 2023-12-13 15:50:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora (Red Hat) 2023-12-13 11:20:11 UTC
Running tests that need pylint in Fedora rawhide containers started to fail: https://github.com/swidtags/rpm2swidtag/actions/runs/7190716039/job/19584294851


Reproducible: Always

Steps to Reproduce:
1. $ date
Wed Dec 13 12:17:03 PM CET 2023
2. $ podman pull registry.fedoraproject.org/fedora:rawhide
Trying to pull registry.fedoraproject.org/fedora:rawhide...
Getting image source signatures
Copying blob cef2d4fa2dec skipped: already exists  
Copying config 88636e4742 done   | 
Writing manifest to image destination
88636e47426ba78e5792f563abd1de1716e97bdca07d90d9543afef9092b24ea
3. $ podman run --rm registry.fedoraproject.org/fedora:rawhide dnf install -y python3-pylint

Actual Results:  
Fedora rawhide openh264 (From Cisco) - x86_64   342  B/s | 257  B     00:00    
Fedora - Rawhide - Developmental packages for t 7.2 MB/s |  72 MB     00:10    
(try to add '--skip-broken' to skip uninstallable packages)
Error: 
 Problem: conflicting requests
  - nothing provides ((python3.12dist(isort) < 5.13 or python3.12dist(isort) > 5.13) with python3.12dist(isort) < 6~~ with python3.12dist(isort) >= 4.2.5) needed by python3-pylint-3.0.3-1.fc40.noarch from rawhide



Expected Results:  
No error, package installed.


Bug 2254145 track internal buildroot failure but it got then closed with WORKSFORME.

So filing this bugzilla to track proper resolution for Fedora rawhide outside of the buildroot.

In bug 2254145 comment 10 Mir recommended to use either https://bodhi.fedoraproject.org/updates/FEDORA-2023-2fec5beb22 and/or https://bodhi.fedoraproject.org/updates/FEDORA-2023-a258b16501 but neither of them work either:

$ podman run --rm registry.fedoraproject.org/fedora:rawhide dnf install -y --advisory=FEDORA-2023-a258b16501 python3-pylint
Fedora rawhide openh264 (From Cisco) - x86_64   907  B/s | 257  B     00:00    
Fedora - Rawhide - Developmental packages for t 7.3 MB/s |  72 MB     00:09    
No security updates for argument "python3-pylint"
All matches were filtered out by exclude filtering for argument: python3-pylint
Error: Unable to find a match: python3-pylint

$ podman run --rm registry.fedoraproject.org/fedora:rawhide dnf install -y --advisory=FEDORA-2023-2fec5beb22 python3-pylint
Fedora rawhide openh264 (From Cisco) - x86_64   206  B/s | 257  B     00:01    
Fedora - Rawhide - Developmental packages for t 7.5 MB/s |  72 MB     00:09    
No security updates for argument "python3-pylint"
All matches were filtered out by exclude filtering for argument: python3-pylint
Error: Unable to find a match: python3-pylint

Comment 1 Miro Hrončok 2023-12-13 11:24:37 UTC
The --advisory thing does not work until the update is in the compose and on the mirrors.

To fetch the updates before they reach the mirrors, download them from Koji.

Comment 2 Miro Hrončok 2023-12-13 11:35:21 UTC
$ podman run --rm registry.fedoraproject.org/fedora:rawhide dnf install -y https://kojipkgs.fedoraproject.org//packages/pylint/3.0.3/2.fc40/noarch/python3-pylint-3.0.3-2.fc40.noarch.rpm
...
Installed:
  python3-astroid-3.0.1-1.fc40.noarch                                           
  python3-dill-0.3.7-1.fc39.noarch                                              
  python3-isort-5.13.0-1.fc40.noarch                                            
  python3-mccabe-0.7.0-4.fc39.noarch                                            
  python3-platformdirs-3.11.0-1.fc40.noarch                                     
  python3-pylint-3.0.3-2.fc40.noarch                                            
  python3-setuptools-68.2.2-1.fc40.noarch                                       
  python3-tomlkit-0.12.3-1.fc40.noarch                                          

Complete!

---

$ podman run --rm registry.fedoraproject.org/fedora:rawhide dnf install -y python3-pylint https://kojipkgs.fedoraproject.org//packages/python-isort/5.13.1/1.fc40/noarch/python3-isort-5.13.1-1.fc40.noarch.rpm
...
Installed:
  python3-astroid-3.0.1-1.fc40.noarch                                           
  python3-dill-0.3.7-1.fc39.noarch                                              
  python3-isort-5.13.1-1.fc40.noarch                                            
  python3-mccabe-0.7.0-4.fc39.noarch                                            
  python3-platformdirs-3.11.0-1.fc40.noarch                                     
  python3-pylint-3.0.3-1.fc40.noarch                                            
  python3-setuptools-68.2.2-1.fc40.noarch                                       
  python3-tomlkit-0.12.3-1.fc40.noarch                                          

Complete!


---

$ podman run --rm registry.fedoraproject.org/fedora:rawhide dnf install -y  https://kojipkgs.fedoraproject.org//packages/pylint/3.0.3/2.fc40/noarch/python3-pylint-3.0.3-2.fc40.noarch.rpm https://kojipkgs.fedoraproject.org//packages/python-isort/5.13.1/1.fc40/noarch/python3-isort-5.13.1-1.fc40.noarch.rpm
...
Installed:
  python3-astroid-3.0.1-1.fc40.noarch                                           
  python3-dill-0.3.7-1.fc39.noarch                                              
  python3-isort-5.13.1-1.fc40.noarch                                            
  python3-mccabe-0.7.0-4.fc39.noarch                                            
  python3-platformdirs-3.11.0-1.fc40.noarch                                     
  python3-pylint-3.0.3-2.fc40.noarch                                            
  python3-setuptools-68.2.2-1.fc40.noarch                                       
  python3-tomlkit-0.12.3-1.fc40.noarch                                          

Complete!


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