Bug 1455456 - otopi uses deprecated dnf.Base.plugins() function
Summary: otopi uses deprecated dnf.Base.plugins() function
Keywords:
Status: CLOSED DUPLICATE of bug 1542529
Alias: None
Product: otopi
Classification: oVirt
Component: Plugins.packagers
Version: master
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.4.0
: ---
Assignee: Yedidyah Bar David
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On: 1542482 2047251 2121662
Blocks: ovirt-dnf-2.0-support
TreeView+ depends on / blocked
 
Reported: 2017-05-25 08:57 UTC by Yedidyah Bar David
Modified: 2022-08-26 07:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-09 06:53:21 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44556 0 None None None 2022-01-27 13:28:01 UTC
oVirt gerrit 92963 0 master ABANDONED minidnf: remove deprecated dnf.Base.plugins() call 2018-07-17 12:54:19 UTC

Description Yedidyah Bar David 2017-05-25 08:57:26 UTC
Description of problem:

$Summary. This function is removed in 2.0, we should find an alternative. This might be init_plugins [1], need to check.

[1] http://dnf.readthedocs.io/en/latest/api_base.html

Comment 1 Sandro Bonazzola 2017-06-30 06:45:39 UTC
(In reply to Yedidyah Bar David from comment #0)
> Description of problem:
> 
> $Summary. This function is removed in 2.0, we should find an alternative.
> This might be init_plugins [1], need to check.
> 
> [1] http://dnf.readthedocs.io/en/latest/api_base.html

checked with one of the dnf maintainers. In dnf.Base() there is:

def init_plugins(self, disabled_glob=(), enable_plugins=(), cli=None):
    # :api
    """Load plugins and run their __init__()."""
    if self.conf.plugins:
        self._plugins._load(self.conf, disabled_glob, enable_plugins)
    self._plugins._run_init(self, cli)

Comment 2 Sandro Bonazzola 2019-01-21 08:28:26 UTC
re-targeting to 4.3.1 since this BZ has not been proposed as blocker for 4.3.0.
If you think this bug should block 4.3.0 please re-target and set blocker flag.

Comment 3 Yedidyah Bar David 2019-09-09 06:53:21 UTC
Was handled as part of bug 1542529, closing.

*** This bug has been marked as a duplicate of bug 1542529 ***


Note You need to log in before you can comment on or make changes to this bug.