Package Details: dnf-plugins-core 4.10.0-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: GPL-2.0-or-later
Conflicts: dnf-plugins-extras
Submitter: larchunix
Maintainer: larchunix
Last Packager: larchunix
Votes: 4
Popularity: 0.000000
First Submitted: 2015-05-21 01:08 (UTC)
Last Updated: 2024-11-14 20:06 (UTC)

Dependencies (11)

Required by (1)

Sources (1)

Latest Comments

simona commented on 2024-01-26 10:36 (UTC)

https://pastebin.com/NqpgqcQY

simona commented on 2023-07-12 08:37 (UTC)

Traceback (most recent call last):
File "/home/simona/.cache/yay/dnf-plugins-core/src/dnf-plugins-core-4.4.1/tests/test_repoclosure.py", line 82, in test_pkg_option
self.assertEqual(context.exception.value, "no package matched: bar")
AssertionError: 'nessun pacchetto corrispondente: bar' != 'no package matched: bar'
- nessun pacchetto corrispondente: bar
+ no package matched: bar

larchunix commented on 2018-11-27 19:28 (UTC)

@killermoehre: added LC_ALL=en_US.UTF-8 in check(). should be ok now

killermoehre commented on 2018-11-27 07:41 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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