[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2499: Poor error reporting when verlib.suggest_normalized_version returns None

Tahoe-LAFS trac at tahoe-lafs.org
Fri Sep 4 09:16:26 UTC 2015


#2499: Poor error reporting when verlib.suggest_normalized_version returns None
---------------------------+---------------------------------------------
     Reporter:  daira      |      Owner:  daira
         Type:  defect     |     Status:  assigned
     Priority:  normal     |  Milestone:  1.11.0
    Component:  packaging  |    Version:  1.10.1
   Resolution:             |   Keywords:  error versions verlib packaging
Launchpad Bug:             |
---------------------------+---------------------------------------------

Comment (by daira):

 For once, a packaging error that isn't directly setuptools' fault. (The
 need for the version checks in the first place is setuptools' fault.)

 It's not correct to refuse to run here, because the purported version from
 ``pkg_resources`` was exactly equal to the imported version, so
 normalisation was unnecessary. Will fix.

 I'll also fix the error reporting in the case where the versions aren't
 exactly equal and can't be normalised.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2499#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list