Thanks for the link.

I will have to eventually make some time to upgrade TG. But given the fact 
that I was both new to Python *and* TG at the time I wrote it (and it's not 
a small app either) that task is complex enough that it will take a 
considerable amount of effort.

Every time I open the code-base I get the "Oh my god, what have I *done?*" 
feeling... :)

On Saturday, 1 February 2014 12:50:24 UTC+1, Alessandro Molina wrote:
>
> You can find the PEAK-Rules modules on the TurboGears2 private index, as 
> TG2.0 was still relying on it for TurboJSON. 
> Recent TG versions removed the dependency, but the package is still 
> available on the older private index: 
> http://www.turbogears.org/2.0/downloads/current/index/PEAK-Rules/index.html
>
> Just notice that I had a similar issue with a TG2.0beta3 application and 
> the PEAK module seems not to correctly work with Python2.7 anymore (Due to 
> changes in the Abstract Syntax Tree).
> Downgrading Python to 2.6 or lower was required. 
> As I didn't want to downgrade the system Python I ended up backporting the 
> JSON encoder module from TG2.3 so that I could remove the TurboJSON 
> dependency and PEAK-Rules dependency. But this is probably not feasible on 
> TG1.5, so you might be required to install an old python version,
>
>
> On Sat, Feb 1, 2014 at 12:36 PM, Michel Albert <exh...@gmail.com<javascript:>
> > wrote:
>
>> I'll try to write this objectively, but I want to add the disclaimer that 
>> I am beginning to be annoyed. So read the rest with a grain of salt... :)
>>
>> I apologise in advance for the rant. I had a bad weekend, and this is the 
>> proverbial last straw. I'm sorry.
>>
>>
>> A looooong time ago I started an application on TurboGears 0.7. The 
>> application was finished around the time when TG1.0 came out. It was still 
>> on 0.7 at that time I think. But I still maintain that application in my 
>> free time. I don't have issues often. But from time to time there's a small 
>> feature request, or small change to be made.
>>
>> But as you may imagine, ever since then I changed computers/laptops a few 
>> times in the mean-time. So from time to time I need to set up a new 
>> development environment. But I also learned a lot since I began that 
>> project. Since I started with it, we were blessed with wsgi, fabric and 
>> virtualenv. Because of that, I took the leap and upgraded to TG1.5, and 
>> properly documented, and automated the development process. I ran into 
>> trouble with (iirc) RuleDispatch with I needed to patch manually. Also, I 
>> remember having problems with pip and a requirements.txt. Additionally, you 
>> cannot run setup.py without having TG installed first which is annoying. So 
>> my first step is always "env/bin/pip install <pinned-tg-version>"
>>
>> Recently I had a disk-crash and need to rebuild my development 
>> environment today. And that last step failed... This is the error message I 
>> get:
>>  
>>
>>> Downloading/unpacking PEAK-Rules>=0.5a1.dev-r2555 (from 
>>> turbogears==1.5.1)
>>>   Could not find any downloads that satisfy the requirement 
>>> PEAK-Rules>=0.5a1.dev-r2555 (from turbogears==1.5.1)
>>>   Some externally hosted files were ignored (use --allow-external 
>>> PEAK-Rules to allow).
>>> Cleaning up...
>>> No distributions at all found for PEAK-Rules>=0.5a1.dev-r2555 (from 
>>> turbogears==1.5.1)
>>
>>
>> I tried with "--allow-external PEAK-Rules" without any luck. It seems 
>> PEAK has removed that package?
>>
>> What would you suggest to make this easier? I will likely manage somehow 
>> to get this fixed. But I am fed up with battling the development 
>> environment every time I want to come back and do some work on that 
>> project. I want to focus on the code, not play tug-of-war with the TG 
>> dependencies... I want to be able to simply "pip install" things. Even with 
>> older versions...
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TurboGears" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to turbogears+...@googlegroups.com <javascript:>.
>> To post to this group, send email to turbo...@googlegroups.com<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/turbogears.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to turbogears+unsubscr...@googlegroups.com.
To post to this group, send email to turbogears@googlegroups.com.
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to