Hide Forgot
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.
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.
# 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.
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
(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
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
I think repo composes broken. And it does not contain required metadata. Can you check rpm itself? rpm -qp --recommends against local rpm file.
$ 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
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?
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.
*** Bug 1329805 has been marked as a duplicate of this bug. ***
reassigning to bodhi as its the tool used to make updates repos and is the thing that needs to change to resolve this
AFAICS this is fixed now, please re-open the bug or file a new one, if it is not.