Opened 19 years ago
Closed 19 years ago
#2077 closed defect (fixed)
webadmin plugin install fails b/c it refs setuptools 0.6a1 (which is not compatible with Trac 0.9x)
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | jeoffwilks@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If you check out the WebAdmin plugin using:
svn co http://svn.edgewall.com/repos/trac/branches/jonas-dev/webadmin/
…then a folder ez_setup/
is included using svn:externals (see [2085]), and the file webadmin/ez_setup/__init__.py
line 17 contains the following:
DEFAULT_VERSION = "0.6a1"
…which is not compatible with Trac 0.9. The incompatibility with setuptools 0.6x is documented on the TracPlugins wiki page, but I also confirmed this in my own attempts. You can build the plugin egg, but when Trac runs it fails to load the plugin. (The actual error is Object EggMetadata has no attribute 'metadata'
if I remember right).
Is there a way to override the DEFAULT_VERSION
and set it to 0.5a13
until the incompatibility between Trac 0.9x and setuptools 0.6x is resolved?
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
Cc: | removed |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Version: | 0.8.4 |
comment:2 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:3 by , 19 years ago
Status: | new → assigned |
---|
comment:4 by , 19 years ago
By the way, I was able to get around it by edting the DEFAULT_VERSION line to read:
DEFAULT_VERSION = "0.5a13"
After that, the bdist_egg result loads fine into Trac. However, this requires the person who downloads the webadmin plugin package to know that they need to manually make that change. So the better solution (until Trac supports setuptools 0.6x) would be to point the svn:externals property at a different URL that downloads the 0.5a13-configured ez_setup automatically.
From reading the revision history it looks like ez_setup rev 2088 is the last revision to support setuptools 0.5a13.
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
that was me