Bug 1633667 - Can we have new rpmdeplint release?
Summary: Can we have new rpmdeplint release?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmdeplint
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Vadkerti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-27 13:44 UTC by František Zatloukal
Modified: 2023-11-03 18:26 UTC (History)
9 users (show)

Fixed In Version: rpmdeplint-2.0~rc3-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-03 18:26:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description František Zatloukal 2018-09-27 13:44:12 UTC
Description of problem:
I am currently working on bringing libtaskotron to python 3 which means I have to bring all taskotron tasks to Python 3.

While dealing with task-rpmdeplint [0], I've hit an issue while running it under Python 3:

Traceback (most recent call last):
  File "./run_rpmdeplint.py", line 92, in <module>
    testcase=testcase, artifactsdir=artifactsdir)
  File "./run_rpmdeplint.py", line 46, in run
    results = check_sat(rpms_dir=rpms_dir, repos=Repos, arch=arch)
  File "/home/fzatlouk/task-rpmdeplint/utils/__init__.py", line 58, in check_sat
    arch=arch)
  File "/usr/lib/python3.7/site-packages/rpmdeplint/__init__.py", line 128, in __init__
    self._sack.load_yum_repo(repo=repo.as_hawkey_repo(), load_filelists=True)
AttributeError: '_hawkey.Sack' object has no attribute 'load_yum_repo'

I've tried to locally rebuild latest git snapshot of rpmdeplint and it fixes the issue.

Version-Release number of selected component (if applicable):
python3-rpmdeplint-1.4-3.fc29.noarch

[0] https://pagure.io/taskotron/task-rpmdeplint

Thanks!

Comment 1 Dan Callaghan 2018-09-27 23:56:36 UTC
FYI open rpmdeplint bugs are here:

https://bugzilla.redhat.com/buglist.cgi?product=rpmdeplint&bug_status=__open__

Bug 1343247 in particular is blocking the rpmdeplint 2.0 release.

Comment 2 František Zatloukal 2018-10-03 07:11:40 UTC
It looks like rpmdeplint is completely broken because of new libdnf in Fedora 29 (both python2 and python3 versions).

We (Fedora QA) will be upgrading our Taskotron instances to Fedora 29 shortly after its release and we'll have to turn off rpmdeplint task entirely if it's not working by then.

Comment 3 Dan Callaghan 2018-10-04 06:10:47 UTC
Just FYI, Red Hat has currently no engineers assigned to actually work on rpmdeplint as part of their job. I have been doing it in my "spare time" the last 2 years. But I am really short on spare time at the moment.

Comment 4 Kamil Páral 2018-10-04 08:31:19 UTC
Much appreciated, Dan. It's unfortunate there's no official backing of this project, and we don't mean to be pushing. We're just trying to avoid a situation where we'd have to stop executing rpmdeplint in Taskotron, because it's a very important task for Fedora. Btw, repodata caching (bug 1343247) is not really important for us, in case it could speed up releasing a new fixed version. I understand we're not the only consumers, though.

Comment 5 Kamil Páral 2019-05-07 13:40:42 UTC
Hello Beaker devs, is there any chance to get a new release out in the next few weeks to fix this crash? In Taskotron we'll need to move to Fedora 29 workers very soon (F28 going EOL) and that means we'd no longer be able to run rpmdeplint on pending updates. The test is very useful for Fedora package maintainers.

Comment 7 Fedora Update System 2023-10-02 08:07:25 UTC
FEDORA-2023-a965252f36 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a965252f36

Comment 8 Fedora Update System 2023-10-03 03:39:54 UTC
FEDORA-2023-a965252f36 has been pushed to the Fedora 39 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-a965252f36`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a965252f36

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

Comment 9 Fedora Update System 2023-11-03 18:26:32 UTC
FEDORA-2023-a965252f36 has been pushed to the Fedora 39 stable repository.
If problem still persists, 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.