#2733 reopened defect

excessively verbose warning about IrrationalVersionError

Reported by: daira Owned by: daira
Priority: normal Milestone: soon
Component: packaging Version: 1.10.2
Keywords: setuptools error pywin32 windows Cc:
Launchpad Bug:

Description

Warning: version number '219' found for dependency 'pypiwin32' by pkg_resources could not be parsed. The versi
on found by import was 'unknown' from 'd:\\tahoe\\git\\delenda\\lib\\site-packages'. pkg_resources thought it
should be found at 'd:\\tahoe\\git\\delenda\\lib\\site-packages'. The exception was PackagingError: could not
parse '219' due to IrrationalVersionError: 219

This is after installing the 1582.setuptools-delenda-est.1 branch using pip install -e ..

Change History (4)

comment:1 Changed at 2016-03-15T17:54:23Z by Daira Hopwood <daira@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 8ddfc3d/trunk:

Tolerate IrrationalVersionError? when parsing version numbers of dependencies,
without a warning. fixes ticket:2733

Signed-off-by: Daira Hopwood <daira@…>

comment:2 Changed at 2016-03-22T05:02:52Z by warner

  • Milestone changed from 1.11.0 to 1.12.0

Milestone renamed

comment:3 Changed at 2016-03-25T20:02:57Z by daira

  • Milestone changed from 1.12.0 to 1.11.0
  • Priority changed from minor to normal
  • Resolution fixed deleted
  • Status changed from closed to reopened

I'm still getting this error on Windows for current master:

Warning: version number '219' found for dependency 'pypiwin32' by pkg_resources could not be parsed.
The version found by import was 'unknown' from 'd:\\tahoe\\git\\trunk\\tahoe\\lib\\site-packages'.
pkg_resources thought it should be found at 'd:\\tahoe\\git\\trunk\\tahoe\\lib\\site-packages'.
The exception was PackagingError: could not parse '219' due to IrrationalVersionError: 219

comment:4 Changed at 2016-03-30T09:37:12Z by warner

  • Milestone changed from 1.11.0 to soon
Note: See TracTickets for help on using tickets.