excessively verbose warning about IrrationalVersionError #2733

Open
opened 2016-02-16 17:57:29 +00:00 by daira · 3 comments
daira commented 2016-02-16 17:57:29 +00:00
Owner
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](wiki/PackagingError): could not
parse '219' due to [IrrationalVersionError](wiki/IrrationalVersionError): 219

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

``` 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](wiki/PackagingError): could not parse '219' due to [IrrationalVersionError](wiki/IrrationalVersionError): 219 ``` This is after installing the 1582.setuptools-delenda-est.1 branch using `pip install -e .`.
tahoe-lafs added the
packaging
minor
defect
1.10.2
labels 2016-02-16 17:57:29 +00:00
tahoe-lafs added this to the 1.11.0 milestone 2016-02-16 17:57:29 +00:00
Daira Hopwood <daira@jacaranda.org> commented 2016-03-15 17:54:23 +00:00
Author
Owner

In 8ddfc3d/trunk:

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

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
In [8ddfc3d/trunk](/tahoe-lafs/trac-2024-07-25/commit/8ddfc3def0fa123183d9f77e63f44a67df6eac01): ``` Tolerate IrrationalVersionError when parsing version numbers of dependencies, without a warning. fixes ticket:2733 Signed-off-by: Daira Hopwood <daira@jacaranda.org> ```
tahoe-lafs added the
fixed
label 2016-03-15 17:54:23 +00:00

Milestone renamed

Milestone renamed
warner modified the milestone from 1.11.0 to 1.12.0 2016-03-22 05:02:52 +00:00
daira commented 2016-03-25 20:02:57 +00:00
Author
Owner

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
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 ```
tahoe-lafs added
normal
and removed
minor
fixed
labels 2016-03-25 20:02:57 +00:00
tahoe-lafs modified the milestone from 1.12.0 to 1.11.0 2016-03-25 20:02:57 +00:00
warner modified the milestone from 1.11.0 to soon 2016-03-30 09:37:12 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2733
No description provided.