On Apr 22, 2007, at 12:24 PM, Florent Aide wrote:

> Hello all,
>
> following yesterday's discussion about PEAK and RuleDispatch et. al.
> here is a new subject to take into account:
>
> I have updated my PyProtocols version to rev 2305 and now TurboGears
> spits Deprecation warnings at me:
>
> /home/faide/progs/turbogears-1.0/turbogears/decorator.py:75:
> DeprecationWarning: protocols.advice.add_assignment_advisor is
> deprecated
>
> Is is possible to remove these deprecation warnings by applying the
> provided patch but it is important to note that this patch adds an
> important dependency to TG: PEAK.
>
> But at the same time this seems inevitable because PyProtocols does
> not provide the necessary functions anymore. For the moment they are
> _just_ deprecated but they will surely be removed in future versions.
>
> We have the same problem with ToscaWidgets and I already sent a patch
> to Alberto on the tw list.

Thanks :) I'll apply that now...

>
> We should now choose either to stay with an old PyProtocols version
> and make sure it works for everyone in every situation (platforms,
> python version...) or to upgrade to the latest PyProtocols and add
> PEAK as a dependency of TG.
>
> Any thoughs ?

No need to depend on PEAK. peak.util.decorators belongs to the  
DecoratorTools package, not PEAK. It's a namespace package [1], hence  
the confusion.
I think you can safely commit that patch since RuleDispatch has been  
updated to latest from SVN, which in turn depends on latest  
PyProtocols, which in turn depends on DecoratorTools (phew!).  
However, since we're directly importing symbols from  
peak.util.decorators we should probably list DecoratorTools as a TG  
dependency directly.

Alberto

[1] http://tinyurl.com/yoxo3o
  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to