Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#54584 closed defect (fixed)

py36-flake8 3.3.0_1: requirement on pyflakes <1.6.0 >=1.5.0 not noted in port dependencies

Reported by: obriencj (Christopher O'Brien) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: yan12125 (Chih-Hsuan Yen), radarhere (Andrew Murray), kurthindenburg (Kurt Hindenburg)
Port: py-flake8

Description

After an update to pyflakes, flake8 no longer functions as it has a pkg_resources dependency on pyflakes 1.5

Running flake8 results in a traceback, with the pertinent line being

pkg_resources.DistributionNotFound: The 'pyflakes<1.6.0,>=1.5.0' distribution was not found and is required by flake8

However, this dependency is not reflected in the port, as the upgrade of pyflakes happened without complaint.

Relevant installed ports

  py36-flake8 @3.3.0_1 (active)
  py36-pyflakes @1.6.0_0 (active)
  flake8_select @0.1_0 (active)
  pyflakes_select @0.1_0 (active)

Change History (7)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Port: py-flake8 py-pyflakes added; py36-flake8 py36-pyflakes removed

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Cc: petrrr stromnov removed
Owner: set to petrrr
Port: py-pyflakes removed
Status: newassigned

comment:3 Changed 7 years ago by yan12125 (Chih-Hsuan Yen)

Cc: yan12125 added

comment:4 Changed 7 years ago by radarhere (Andrew Murray)

Cc: radarhere added

comment:5 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

comment:6 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: assignedclosed

In 076023fc94be9c84afe8128c19c8b6af72bf9347/macports-ports:

py-flake8: update to 3.4.1; add patch to handle py-pyflakes version

Add patch from py-flake8 git master that increases version range
pyflakes >= 1.5.0, < 1.7.0

closes #54584
closes #54659

comment:7 Changed 7 years ago by radarhere (Andrew Murray)

Thanks!

Note: See TracTickets for help on using tickets.