Edgewall Software

Opened 9 years ago

Last modified 9 years ago

#11993 closed defect

Mercurial plugin not loaded with setuptools>=8 — at Initial Version

Reported by: Peter Suter Owned by:
Priority: normal Milestone: 0.12.7
Component: general Version:
Severity: normal Keywords: setuptools tag_svn_revision
Cc: Dirk Stöcker Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Trac[loader] ERROR: Skipping "TracMercurial 1.0.0.6.dev0": (version conflict "ContextualVersionConflict: (trac 1.1.3dev-r13332, Requirement.parse('Trac>=1.0dev'), set(['TracMercurial']))"

The mercurial plugin requires Trac >=1.0dev.

But it seems setuptools 8 has changed version parsing:

from pkg_resources import parse_version
parse_version('1.1.3dev-r13332') > parse_version('1.1dev')

In setuptools 7 and below this was True. In setuptools 8 and above this is False.

It seems one of these versions must be changed to be compliant with PEP:0440?

Change History (0)

Note: See TracTickets for help on using tickets.