Bug 1114483 - [py] string provides filter not working
Summary: [py] string provides filter not working
Alias: None
Product: Fedora
Classification: Fedora
Component: hawkey
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-06-30 08:15 UTC by Parag Nemade
Modified: 2014-09-30 23:42 UTC (History)
5 users (show)

Fixed In Version: dnf-plugins-core-0.1.1-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-07-09 02:30:11 UTC
Type: Bug

Attachments (Terms of Use)

Description Parag Nemade 2014-06-30 08:15:17 UTC
Description of problem:

Following is a example where I am not getting any results for filter(provides='kde-l10n-cs') function call

import dnf

db = dnf.Base()
db.conf.releasever = None
sack = db.fill_sack()

q = db.sack.query()
q = q.available()
q = q.filter(provides='kde-l10n-cs')
for pkg in q:


Version-Release number of selected component (if applicable):

How reproducible:

Comment 1 Ales Kozumplik 2014-06-30 08:21:16 UTC
Thanks, we'll take a look.

Comment 2 Ales Kozumplik 2014-07-01 08:15:50 UTC
This is probably a problem in hawkey reldep parsing.

Comment 3 Ales Kozumplik 2014-07-01 08:49:37 UTC
Fixed upstream in b957844.

Comment 4 Parag Nemade 2014-07-01 16:15:23 UTC
Ales, Can you please confirm me that when we get this fixed hawkey package in Fedora, will the given example in comment#0 work and give me kde-l10n-Czech as output?

Comment 5 Parag Nemade 2014-07-01 17:03:58 UTC
I just tried to package the current hawkey code on F20 and looks like given example is working fine now.

Thanks Ales.

Comment 6 Fedora Update System 2014-07-07 09:11:55 UTC
dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20 has been submitted as an update for Fedora 20.

Comment 7 Fedora Update System 2014-07-08 01:04:18 UTC
Package dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.1-2.fc20 dnf-0.5.3-1.fc20 hawkey-0.4.17-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-07-09 02:30:11 UTC
dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, 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.