| Summary: | pylint error message on start: pkg_resources.DistributionNotFound: The 'lazy_object_proxy==1.4.*' distribution was not found and is required by astroid | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Olav Vitters <olav> |
| Component: | RPM Packages | Assignee: | Shlomi Fish <shlomif> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | jani.valimaa |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/PyCQA/astroid/issues/800 | ||
| Whiteboard: | |||
| Source RPM: | python-astroid-2.4.1-1.mga8.src.rpm | CVE: | |
| Status comment: | |||
[The package name is python3-pylint] Thank you Olav for reporting this. Assigning to the active maintainer Shlomi. Assignee:
bugsquad =>
shlomif Fixed with python-astroid-2.4.2-1.mga8. See Also:
(none) =>
https://github.com/PyCQA/astroid/issues/800 Closing as FIXED. Feel free to reopen, if needed. Resolution:
(none) =>
FIXED |
Description of problem: Pylint doesn't want to start. Seems like a missing dependency? Could be something else. Version-Release number of selected component (if applicable): pylint-2.5.3-1.mga8.src.rpm How reproducible: Run pylint. It immediately gives an error message Steps to Reproduce: 1. Run: pylint Gives the following error message: > $ pylint > Traceback (most recent call last): > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master > ws.require(__requires__) > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require > needed = self.resolve(parse_requirements(requirements)) > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 792, in resolve > raise VersionConflict(dist, req).with_context(dependent_req) > pkg_resources.ContextualVersionConflict: (lazy-object-proxy 1.5.0 (/usr/lib64> /python3.8/site-packages), Requirement.parse('lazy_object_proxy==1.4.*'), {'astroid'}) > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/bin/pylint", line 6, in <module> > from pkg_resources import load_entry_point > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3253, in <module> > def _initialize_master_working_set(): > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3236, in _call_aside > f(*args, **kwargs) > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3265, in _initialize_master_working_set > working_set = WorkingSet._build_master() > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 586, in _build_master > return cls._build_from_requirements(__requires__) > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 599, in _build_from_requirements > dists = ws.resolve(reqs, Environment()) > File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve > raise DistributionNotFound(req, requirers) > pkg_resources.DistributionNotFound: The 'lazy_object_proxy==1.4.*' distribution was not found and is required by astroid