Ticket #10882 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

ProjectPlanPlugin does not support Trac 1.0

Reported by: adam.dorsey@noaa.gov Assigned to: makadev
Priority: normal Component: ProjectPlanPlugin
Severity: normal Keywords: setuptools
Cc: Trac Release: 1.0

Description

2013-02-19 16:45:18,266 Trac[loader] DEBUG: Loading projectplan from /usr/lib/python2.6/site-packages/ProjectPlan-0.93.2-py2.6.egg
2013-02-19 16:45:18,266 Trac[loader] ERROR: Skipping "projectplan = projectplan.projectplan": (version conflict "VersionConflict: (Trac 1.0.1 (/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg), Requirement.parse('Trac>=0.11,<0.13'))")

I don't know if there are any underlying changes in Trac 1.0 that would prevent the plugin from working as-is. I'll try hacking the version field around and see what breaks horribly.

Attachments

Change History

02/19/13 18:10:56 changed by adam.dorsey@noaa.gov

OK, so I modified the install_requires line in setup.py to the following:

install_requires = ( u'Trac >=0.11, <=1.0.1' ),

and the plugin loads without crashing Trac.

It seems to work well, the only issue I've found so far is that the popup description for the dependencies links in a ticket is blank. I will keep experimenting and see what else I can break.

02/20/13 00:15:04 changed by rjollos

  • keywords set to setuptools.

02/20/13 00:16:14 changed by rjollos

Is this plugin being actively developed? I'd be happy to push the change to the repository if needed.

(follow-up: ↓ 7 ) 02/20/13 15:52:10 changed by adam.dorsey@noaa.gov

Honestly I don't know if it's being actively developed or not, we just use it for an internal Trac that serves as document repository and issue tracker. The dependency hover preview is still broken, but other than that it all seems to work. If you want, go ahead and push this change and I can open another ticket for the dependency preview issue.

02/20/13 17:57:37 changed by adam.dorsey@noaa.gov

Might be better to do

install_requires = ( u'Trac >=0.11, <1.1' ),

instead

02/20/13 22:50:43 changed by rjollos

I'll have to wait for a response from the maintainer, or at least 2 weeks before making the change. Unless we know it is broken in later versions of Trac, I'd suggest we just drop the upper-bound on the version check.

(in reply to: ↑ 4 ) 02/20/13 22:52:11 changed by rjollos

  • release set to 1.0.

Replying to adam.dorsey@noaa.gov:

... I can open another ticket for the dependency preview issue.

Yes, please do that if a ticket doesn't already exist. Even better if you have a patch for the issue!

02/21/13 17:29:46 changed by adam.dorsey@noaa.gov

See #10888, mouseover popup issue resolved.

02/21/13 17:31:49 changed by asdorsey

And I agree, just drop the upper bound and we'll see what happens lol.

03/13/13 19:25:42 changed by rjollos

  • status changed from new to closed.
  • resolution set to fixed.

Issue seems to have been fixed in [12688].


Add/Change #10882 (ProjectPlanPlugin does not support Trac 1.0)




Change Properties
Action