Description of problem: when running rpmdeplint DeprecationWarning messages are shown, like: /usr/lib64/python3.8/site-packages/hawkey/__init__.py:348: DeprecationWarning: The class hawkey.Repo is deprecated. Please use dnf.repo.Repo instead. The class will be removed on 2019-12-31. warnings.warn(msg, DeprecationWarning) /usr/lib/python3.8/site-packages/rpmdeplint/__init__.py:249: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead logger.warn('Ignoring pre-existing repoclosure problem: %s', problem_msg) Version-Release number of selected component (if applicable): rpmdeplint-1.4-13.fc32.noarch How reproducible: 100% Steps to Reproduce: 1.Download rpms from some recent koji build: koji download-build --arch x86_64 --arch noarch --arch i686 --noprogress --debuginfo knot-2.9.4-1.fc32 2.Run rpmdeplint rpmdeplint check-repoclosure --repo Fedora-32-repo,https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-32/compose/Everything/x86_64/os --repo koji-f32-repo,https://kojipkgs.fedoraproject.org/repos/f32-build/latest/x86_64 --arch=x86_64 *.rpm Actual results: # rpmdeplint check-repoclosure --repo Fedora-32-repo,https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-32/compose/Everything/x86_64/os --repo koji-f32-repo,https://kojipkgs.fedoraproject.org/repos/f32-build/latest/x86_64 --arch=x86_64 *.rpm /usr/lib64/python3.8/site-packages/hawkey/__init__.py:348: DeprecationWarning: The class hawkey.Repo is deprecated. Please use dnf.repo.Repo instead. The class will be removed on 2019-12-31. warnings.warn(msg, DeprecationWarning) /usr/lib64/python3.8/site-packages/hawkey/__init__.py:348: DeprecationWarning: The class hawkey.Repo is deprecated. Please use dnf.repo.Repo instead. The class will be removed on 2019-12-31. warnings.warn(msg, DeprecationWarning) /usr/lib/python3.8/site-packages/rpmdeplint/__init__.py:249: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead logger.warn('Ignoring pre-existing repoclosure problem: %s', problem_msg) 2020-05-06 09:16:25,139 rpmdeplint WARNING Ignoring pre-existing repoclosure problem: nothing provides mvn(net.iharder:base64) needed by Java-WebSocket-1.3.8-4.fc31.noarch /usr/lib/python3.8/site-packages/rpmdeplint/__init__.py:249: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead logger.warn('Ignoring pre-existing repoclosure problem: %s', problem_msg) <snip> Expected results: no DeprecationWarning messages
rpmdeplint-1.4-14.fc32 should fix the issue. Available from: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c16323079b Bruno, can you verify and give karma if it works as you need?
Thanks, I did check rpmdeplint-1.4-14.fc32.noarch and the problem seem to be solved.