[Distutils] version conflict

Ben Finney ben+python at benfinney.id.au
Fri Feb 5 13:38:55 EST 2016


Robin Becker <robin at reportlab.com> writes:

> pkg_resources.VersionConflict: (certifi 2015.11.20.1
> (/Library/Python/2.7/site-packages),
> Requirement.parse('certifi==2015.11.20'))

This is the hazard of specifying a strict no-earlier-no-later version
requirement. Presumably ‘certifi’ at version “2015.11.20.1” would serve
just fine, but the strict requirement on “certifi==2015.11.20” rejects
that.

> the full traceback is visible here
> https://bitbucket.org/rptlab/reportlab/issues/73/versionconflict

Sadly, Setuptools (in this case the ‘pkg_resources’ library) gives no
help to identify where the failed requirement is specified. This is IMO
worth a bug report on Setuptools: it should catch that exception and
give a graceful error message with useful information, not a traceback
dump.

-- 
 \      “I tell you the truth: this generation will certainly not pass |
  `\           away until all these things [the end of the world] have |
_o__)          happened.” —Jesus, c. 30 CE, as quoted in Matthew 24:34 |
Ben Finney



More information about the Distutils-SIG mailing list