Search Criteria
Package Details: dnf-plugins-core 4.0.19-1
Git Clone URL: | https://aur.archlinux.org/dnf-plugins-core.git (read-only, click to copy) |
---|---|
Package Base: | dnf-plugins-core |
Description: | Core DNF Plugins |
Upstream URL: | https://github.com/rpm-software-management/dnf-plugins-core |
Licenses: | |
Submitter: | larchunix |
Maintainer: | larchunix |
Last Packager: | larchunix |
Votes: | 4 |
Popularity: | 0.000000 |
First Submitted: | 2015-05-21 01:08 |
Last Updated: | 2021-01-29 17:21 |
Dependencies (8)
- python (python-dbg)
- dnf>=4.2.22
- python-nose (check)
- python-sphinx (python-sphinx-git, python-sphinx-2) (make)
- cmake>=3.13 (cmake-git) (make)
- createrepo_c (optional) – for local plugin
- python-dateutil (optional) – for changelog plugin
- python-dbus (optional) – for needs-restarting plugin
Required by (1)
- mock (optional)
Latest Comments
larchunix commented on 2018-11-27 19:28
@killermoehre: added LC_ALL=en_US.UTF-8 in check(). should be ok now
killermoehre commented on 2018-11-27 07:41
Hi,
the tests fail if used in a non-english locale. Here is the example wih LANG=de_DE.UTF-8:
==> Beginne check()... .................F................ ====================================================================== FAIL: test_pkg_option (tests.test_repoclosure.TestRepoClosureFunctions)
Traceback (most recent call last): File "/home/knizek/packages/dnf-plugins-core/src/dnf-plugins-core-4.0.2/tests/test_repoclosure.py", line 82, in test_pkg_option self.assertEqual(context.exception.value, "no package matched: bar") AssertionError: 'Kein passendes Paket: bar' != 'no package matched: bar' - Kein passendes Paket: bar + no package matched: bar
Ran 34 tests in 0.132s
FAILED (failures=1) ==> FEHLER: Ein Fehler geschah in check(). Breche ab...
»Kein passendes Paket:« is literally the translation for »no package matched:«
larchunix commented on 2016-06-25 09:22
I can't reproduce. rpm python module is provided by the rpm-org package.
Do you have an ImportError with this command ?
$ python3 -c 'import rpm'
mbunkus commented on 2016-06-25 08:53
I get the following error when I try to install this package v0.1.21.1-1 (dnf v1.1.9.1-1, rpm-org v4.12.0.1-3 are installed):
==> Starting check()...
EEEEEEEE
======================================================================
ERROR: Failure: ImportError (No module named 'rpm')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3.5/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3.5/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3.5/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib/python3.5/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 693, in _load
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 662, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/tmp/yaourt-tmp-mosu/aur-dnf-plugins-core/src/dnf-plugins-core-0.1.21.1/tests/dnfpluginscore/test_lib.py", line 21, in <module>
from tests.support import mock
File "/tmp/yaourt-tmp-mosu/aur-dnf-plugins-core/src/dnf-plugins-core-0.1.21.1/tests/support.py", line 21, in <module>
import dnf
File "/usr/lib/python3.5/site-packages/dnf/__init__.py", line 31, in <module>
import dnf.base
File "/usr/lib/python3.5/site-packages/dnf/base.py", line 30, in <module>
from dnf.yum import history
File "/usr/lib/python3.5/site-packages/dnf/yum/history.py", line 31, in <module>
import dnf.rpm.miscutils
File "/usr/lib/python3.5/site-packages/dnf/rpm/__init__.py", line 22, in <module>
from . import transaction
File "/usr/lib/python3.5/site-packages/dnf/rpm/transaction.py", line 14, in <module>
import rpm
ImportError: No module named 'rpm'
larchunix commented on 2015-07-30 01:37
It was probably due to dnf (https://github.com/rpm-software-management/dnf/commit/c515826716b69ed603c9175bcc937b95e5fe315d).
I have updated dnf to the latest release, this problem should be fixed.
pnorcks commented on 2015-07-29 18:25
larchunix: Are you seeing test failures for this package? I'm running into 6 failed tests, all with backtraces ending with:
File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 932
def is_better_version((pkg1, pkg2)):
^
SyntaxError: invalid syntax