Comments

151 Comments

There's a work-around for the problem, so pushing to stable. Thank you for the feedback and the bug 2143069

Thank you!

Thank you for the report. Can you temporarily setup cleanup_on_success=True (the Mock default) in your EL6 configs till we provide a fix? Forwarded upstream: https://github.com/rpm-software-management/mock/issues/953

There already exists issue against python-astroid: https://bugzilla.redhat.com/show_bug.cgi?id=2069189

This breaks pylint:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 573, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 891, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 782, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (wrapt 1.14.0 (/usr/lib64/python3.10/site-packages), Requirement.parse('wrapt<1.14,>=1.11'), {'astroid'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/pylint", line 33, in <module>
    sys.exit(load_entry_point('pylint==2.12.2', 'console_scripts', 'pylint')())
  File "/usr/lib/python3.10/site-packages/pylint/__init__.py", line 21, in run_pylint
    from pylint.lint import Run as PylintRun
  File "/usr/lib/python3.10/site-packages/pylint/lint/__init__.py", line 76, in <module>
    from pylint.lint.parallel import check_parallel
  File "/usr/lib/python3.10/site-packages/pylint/lint/parallel.py", line 8, in <module>
    from pylint import reporters
  File "/usr/lib/python3.10/site-packages/pylint/reporters/__init__.py", line 27, in <module>
    from pylint import utils
  File "/usr/lib/python3.10/site-packages/pylint/utils/__init__.py", line 47, in <module>
    from pylint.utils.ast_walker import ASTWalker
  File "/usr/lib/python3.10/site-packages/pylint/utils/ast_walker.py", line 7, in <module>
    from astroid import nodes
  File "/usr/lib/python3.10/site-packages/astroid/__init__.py", line 51, in <module>
    from astroid.nodes import node_classes, scoped_nodes
  File "/usr/lib/python3.10/site-packages/astroid/nodes/__init__.py", line 27, in <module>
    from astroid.nodes.node_classes import (  # pylint: disable=redefined-builtin (Ellipsis)
  File "/usr/lib/python3.10/site-packages/astroid/nodes/node_classes.py", line 50, in <module>
    from astroid.bases import Instance, _infer_stmts
  File "/usr/lib/python3.10/site-packages/astroid/bases.py", line 551, in <module>
    class Generator(BaseInstance):
  File "/usr/lib/python3.10/site-packages/astroid/bases.py", line 557, in Generator
    special_attributes = lazy_descriptor(objectmodel.GeneratorModel)
  File "/usr/lib/python3.10/site-packages/astroid/util.py", line 29, in <lambda>
    lambda: importlib.import_module("." + module_name, "astroid")
  File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3.10/site-packages/astroid/interpreter/objectmodel.py", line 44, in <module>
    from astroid.manager import AstroidManager
  File "/usr/lib/python3.10/site-packages/astroid/manager.py", line 38, in <module>
    from astroid.interpreter._import import spec
  File "/usr/lib/python3.10/site-packages/astroid/interpreter/_import/spec.py", line 27, in <module>
    from . import util
  File "/usr/lib/python3.10/site-packages/astroid/interpreter/_import/util.py", line 7, in <module>
    import pkg_resources
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3267, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3241, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3279, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 575, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 588, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'wrapt<1.14,>=1.11' distribution was not found and is required by astroid
karma

Thank you!

The default.cfg should be fixed.

Please report such issues upstream, I forwarded it now: https://github.com/rpm-software-management/mock/issues/859

Updated mock-core-configs and distribution-gpg-keys. Be careful, karma is reset - and new karma 3 moves this to stable. This IMO makes a complete sense NOW, as the previous epel-8 configs don't work anymore (centos 8 mirrors are off already).

Updated mock-core-configs and distribution-gpg-keys. Be careful, karma is reset - and new karma 3 moves this to stable. This IMO makes a complete sense NOW, as the previous epel-8 configs don't work anymore (centos 8 mirrors are off already).

Updated mock-core-configs and distribution-gpg-keys. Be careful, karma is reset - and new karma 3 moves this to stable. This IMO makes a complete sense NOW, as the previous epel-8 configs don't work anymore (centos 8 mirrors are off already).

Updated mock-core-configs and distribution-gpg-keys. Be careful, karma is reset - and karma 3 moves this to stable. This IMO makes complete sense, as the previous epel-8 don't work anyways (centos 8 mirrors are off already).

@ktdreyer: Follow the e.g. the instructions from mock -r epel-8-x86_64 --shell (create one symlink, e.g. ~/.config/mock/epel-8-x86_64).

I am running this for some time.

Not a regression, or reason to block this update.

There are no regressions, and #2026571 is AFAIK fixed.

I don't think it makes sense to block this update. This is not a bug in mock, and the incompatibility with fedpkg will take some time (note there's a simple work-around).