Bug 1304355

Summary: Repo metadata in F23 does not contain weak deps
Product: [Fedora] Fedora Reporter: Vasiliy Glazov <vascom2>
Component: bodhiAssignee: Randy Barlow <randy>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dennis, fedora, ignatenko, jsilhan, lmacken, mluscon, opensource, packaging-team-maint, pnemade, randy, vmukhame
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-19 20:08:36 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:
Bug Depends On:    
Bug Blocks: 1329629    

Description Vasiliy Glazov 2016-02-03 12:09:20 UTC
Description of problem:
As described in man DNF must install Recommends: dependencies. But they are not processed.

Version-Release number of selected component (if applicable):
dnf-1.1.6-1.fc23.noarch

How reproducible:
Always.

Steps to Reproduce:
1. dnf install python3-mne
2.
3.

Actual results:
sudo dnf install python3-mne --assumeno
Last metadata expiration check performed 0:04:54 ago on Wed Feb  3 15:01:40 2016.
Dependencies resolved.
========================================================================================================================================
 Package                                     Arch                  Version                                 Repository              Size
========================================================================================================================================
Installing:
 agg                                         x86_64                2.5-23.fc23                             fedora                 147 k
 liblzf                                      x86_64                3.6-10.fc23                             fedora                  27 k
 python-matplotlib-data                      noarch                1.4.3-11.fc23                           updates                2.0 M
 python-matplotlib-data-fonts                noarch                1.4.3-11.fc23                           updates                991 k
 python3-dateutil                            noarch                1:2.4.2-2.fc23                          fedora                  89 k
 python3-h5io                                noarch                0.1-0.2.gita73bba4.fc23                 updates                 23 k
 python3-h5py                                x86_64                2.5.0-4.fc23                            fedora                 667 k
 python3-jdcal                               noarch                1.0-1.fc23                              updates                 16 k
 python3-matplotlib                          x86_64                1.4.3-11.fc23                           updates                 36 M
 python3-matplotlib-tk                       x86_64                1.4.3-11.fc23                           updates                 79 k
 python3-mne                                 noarch                0.10-5.fc23                             updates                5.6 M
 python3-numpy                               x86_64                1:1.9.2-2.fc23                          fedora                 3.0 M
 python3-numpy-f2py                          x86_64                1:1.9.2-2.fc23                          fedora                 213 k
 python3-scipy                               x86_64                0.14.1-1.fc22                           fedora                 9.8 M
 python3-tempita                             noarch                0.5.1-9.fc23                            fedora                  38 k
 python3-tkinter                             x86_64                3.4.3-5.fc23                            fedora                 308 k
 stix-math-fonts                             noarch                1.1.0-8.fc23                            fedora                 291 k

Transaction Summary
========================================================================================================================================
Install  17 Packages

Expected results:
Must be installed also all Recommends from spec https://apps.fedoraproject.org/packages/python-mne/sources/
For example: Recommends:     python-pandas


Additional info:
Seems it work properly on F22. It can be regress.

Comment 1 Parag Nemade 2016-02-03 14:28:26 UTC
This is what I got in rawhide
$ sudo dnf install python3-mne --assumeno
Last metadata expiration check performed 2:35:00 ago on Wed Feb  3 17:18:10 2016.
Dependencies resolved.
================================================================================
 Package                       Arch    Version                   Repository
                                                                           Size
================================================================================
Installing:
 agg                           x86_64  2.5-23.fc23               rawhide  147 k
 atlas                         x86_64  3.10.2-11.fc24            rawhide  6.0 M
 blosc                         x86_64  1.6.1-2.fc23              rawhide   39 k
 hdf5                          x86_64  1.8.16-1.fc24             rawhide  1.6 M
 libgfortran                   x86_64  6.0.0-0.7.fc24            rawhide  289 k
 liblzf                        x86_64  3.6-10.fc23               rawhide   27 k
 libquadmath                   x86_64  6.0.0-0.7.fc24            rawhide  161 k
 python-matplotlib-data        noarch  1.4.3-11.fc24             rawhide  2.0 M
 python-matplotlib-data-fonts  noarch  1.4.3-11.fc24             rawhide  991 k
 python-rpm-macros             noarch  3-6.fc24                  rawhide  8.7 k
 python3-Bottleneck            x86_64  0.6.0-7.fc24              rawhide  998 k
 python3-Traits                x86_64  4.5.0-8.gitac5d029.fc24   rawhide  546 k
 python3-dateutil              noarch  1:2.4.2-3.fc24            rawhide   89 k
 python3-devel                 x86_64  3.5.1-3.fc24              rawhide  193 k
 python3-h5io                  noarch  0.1-0.3.gita73bba4.fc24   rawhide   23 k
 python3-h5py                  x86_64  2.5.0-6.fc24              rawhide  665 k
 python3-jdcal                 noarch  1.0-2.fc24                rawhide   16 k
 python3-joblib                noarch  0.9.3-3.fc24              rawhide  351 k
 python3-matplotlib            x86_64  1.4.3-11.fc24             rawhide   35 M
 python3-matplotlib-tk         x86_64  1.4.3-11.fc24             rawhide   79 k
 python3-mne                   noarch  0.10-5.fc24               rawhide  5.6 M
 python3-numexpr               x86_64  2.4.6-2.fc24              rawhide  186 k
 python3-numpy                 x86_64  1:1.11.0-0b2.fc24         rawhide  3.0 M
 python3-numpy-f2py            x86_64  1:1.11.0-0b2.fc24         rawhide  216 k
 python3-pandas                x86_64  0.17.1-1.fc24             rawhide  6.5 M
 python3-patsy                 noarch  0.4.1-1.fc24              rawhide  329 k
 python3-pyparsing             noarch  2.0.7-1.fc24              rawhide  110 k
 python3-pytz                  noarch  2015.7-2.fc24             rawhide   52 k
 python3-rpm-macros            noarch  3-6.fc24                  rawhide  8.1 k
 python3-scikit-learn          x86_64  0.17-1.fc24               rawhide  3.6 M
 python3-scipy                 x86_64  0.16.1-6.fc24             rawhide   10 M
 python3-statsmodels           x86_64  0.6.1-4.fc24              rawhide  4.8 M
 python3-tables                x86_64  3.2.2-3.fc24              rawhide  1.3 M
 python3-tempita               noarch  0.5.1-11.fc24             rawhide   37 k
 python3-tkinter               x86_64  3.5.1-3.fc24              rawhide  352 k
 python3-xlrd                  noarch  0.9.4-2.fc24              rawhide  208 k
 qhull                         x86_64  2003.1-27.fc24            rawhide  187 k
 stix-math-fonts               noarch  1.1.0-8.fc23              rawhide  291 k
 tk                            x86_64  1:8.6.4-2.fc23            rawhide  1.6 M

Transaction Summary
================================================================================
Install  39 Packages

Total download size: 88 M
Installed size: 296 M
Operation aborted.

Looks like all Recommends are pulled in the transaction. so at least in rawhide its working. Not sure about Fedora 23.

Comment 2 Honza Silhan 2016-02-08 12:50:23 UTC
# sudo dnf repoquery python3-mne --releasever=23 -C --recommends
Last metadata expiration check: 0:46:06 ago on Mon Feb  8 13:02:16 2016.

# sudo dnf repoquery python3-mne --releasever=rawhide -C --recommends
Last metadata expiration check: 0:46:45 ago on Mon Feb  8 13:02:16 2016.
python3-Traits
python3-h5py
python3-pandas
python3-patsy
python3-pillow
python3-scikit-learn
python3-statsmodels


The weak deps are just in spec for rawhide.

Comment 3 Vasiliy Glazov 2016-02-08 13:00:40 UTC
This is bug in DNF because in F23 Recommends present too
http://pkgs.fedoraproject.org/cgit/rpms/python-mne.git/tree/python-mne.spec?h=f23

Comment 4 Honza Silhan 2016-02-15 12:30:09 UTC
(In reply to Vasiliy Glazov from comment #3)
> This is bug in DNF because in F23 Recommends present too
> http://pkgs.fedoraproject.org/cgit/rpms/python-mne.git/tree/python-mne.
> spec?h=f23

The upstream spec contains Recommends but the package from this spec wasn't probably build for F23. Closing forever...

You can request the python-mne build for F23

Comment 5 Vasiliy Glazov 2016-02-15 12:56:34 UTC
Why do not you believe me?
See build log of this package https://kojipkgs.fedoraproject.org//packages/python-mne/0.10/5.fc23/data/logs/noarch/build.log

Recommends: python3-Traits python3-h5py python3-pandas python3-patsy python3-pillow python3-scikit-learn python3-statsmodels

Comment 6 Igor Gnatenko 2016-02-15 13:03:21 UTC
I think repo composes broken. And it does not contain required metadata.

 Can you check rpm itself? rpm -qp --recommends against local rpm file.

Comment 7 Vasiliy Glazov 2016-02-15 13:06:29 UTC
$ rpm -qp --recommends python3-mne-0.10-5.fc23.noarch.rpm
python3-Traits
python3-h5py
python3-pandas
python3-patsy
python3-pillow
python3-scikit-learn
python3-statsmodels

Comment 8 Igor Gnatenko 2016-02-15 13:11:51 UTC
Something broken in repo metadata. So its a bug, but not in DNF.

Jan, can u reassign this bug to right component? Probably createrepo_c?

Comment 9 Parag Nemade 2016-02-15 14:59:41 UTC
afaik, weak dependencies never worked in Fedora 23 packages built in koji. But if you do copr builds for fedora 23 and try for weak dependencies they will work.

Comment 10 Igor Gnatenko 2016-06-28 13:32:43 UTC
*** Bug 1329805 has been marked as a duplicate of this bug. ***

Comment 11 Dennis Gilmore 2016-08-29 18:32:15 UTC
reassigning to bodhi as its the tool used to make updates repos and is the thing that needs to change to resolve this

Comment 12 Till Maas 2016-09-19 20:08:36 UTC
AFAICS this is fixed now, please re-open the bug or file a new one, if it is not.