Opened 3 years ago

Closed 3 years ago

#64832 closed defect (fixed)

py-pylint @2.12.2 conflicts with py-flake8-mccabe @0.7.0

Reported by: saj (Saj Goonatilleke) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: py-pylint py-flake8-mccabe

Description

Output generated by pylint (py310-pylint @2.12.2_0). A simple --help should trigger the failure.

% pylint --help       
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 579, in _build_master
    ws.require(__requires__)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 897, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 788, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (mccabe 0.7.0 (/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages), Requirement.parse('mccabe<0.7,>=0.6'), {'pylint'})
% port echo installed | grep -E 'pylint|mccabe'
py310-flake8-mccabe            @0.7.0_0 
py310-pylint                   @2.12.2_0 
pylint_select                  @0.1_1 

Recent commits:

% git log --oneline --date=short --pretty=format:"%h %ad %s" '@{2 weeks ago}..' | grep -F py- | grep -E 'lint|mccabe'
fd51767177f 2022-03-08 py-flake8-mccabe: update to 0.7.0
78d90d4e85d 2022-02-11 py-clint: add python 310
f60802b62d5 2022-01-18 py-clint: remove py27 and py3{5,6} subports

Change History (1)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In a2a199a6c9a0840ee49efec6c4e1490803bff206/macports-ports (master):

py-pylint: allow latest py-flake8-mccabe

Closes: #64832

Note: See TracTickets for help on using tickets.