[MacPorts] #64832: py-pylint @2.12.2 conflicts with py-flake8-mccabe @0.7.0

MacPorts noreply at macports.org
Wed Mar 16 01:31:39 UTC 2022


#64832: py-pylint @2.12.2 conflicts with py-flake8-mccabe @0.7.0
--------------------+----------------------------------------
 Reporter:  saj     |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.2
 Keywords:          |       Port:  py-pylint py-flake8-mccabe
--------------------+----------------------------------------
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64832>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list