[ckan-dev] ckan-dev Digest, Vol 69, Issue 4
Adrià Mercader
adria.mercader at okfn.org
Thu Jul 7 17:06:13 UTC 2016
Hi James,
The two lines that Ian highlighted are a construct that is not
supported on Python 2.6. They were incorrectly included in the CKAN
2.5.x branch as part of a backport.
I'll try to fix it asap, but if someone can provide a patch in the
meantime that would be great.
Adrià
On 6 July 2016 at 18:19, Espeland, James <james.espeland at montana.edu> wrote:
> Thank you all for your suggestions.
>
> Ian, the helpers.py file on github is a line-for-line match with my /usr/lib/ckan/default/src/ckan/ckan/tests/helpers.py file. I can see that two of the lines near the bottom of the github file have been highlighted. Please forgive my lack of understanding, but I'm not sure what I am supposed to do with those two lines. You mention converting them ... what do they need to be converted to?
>
> Thank you kindly,
>
> --- Jim Espeland
>
> -----Original Message-----
>> Message: 2
>> Date: Mon, 4 Jul 2016 16:10:04 -0400
>> From: Ian Ward <ian at excess.org>
>> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
>> Subject: Re: [ckan-dev] CKAN with Python 2.6.6
>> Message-ID:
>> <CAA3rUNeEG23zeC_nPpQe-cjYr6B3z2227NRsyUhVudFS3W2P-A at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> I just ran into this:
>> https://github.com/ckan/ckan/blob/release-v2.5.2/ckan/tests/helpers.py#L366-L367
>> but that should be easy to convert into a couple with statements.
>>
>>> On Fri, Jul 1, 2016 at 7:54 AM, Adri? Mercader <adria.mercader at okfn.org> wrote:
>>> Hi,
>>>
>>> AFAIK CKAN 2.5 should still work on Python 2.6 [1] although I read
>>> some other messages on the list that seemed to suggest otherwise. Have
>>> you found an issue while running on Python 2.6?
>>>
>>> Of course if possible at all you should try to use Python 2.7
>>>
>>>
>>> Adri?
>>>
>>>
>>> [1] https://lists.okfn.org/pipermail/ckan-dev/2016-January/009608.html
>>>
>>> On 1 July 2016 at 01:16, Julio Acu?a <julio.acuna.carrillo at gmail.com> wrote:
>>>> Hi Jim
>>>>
>>>>
>>>> A couple of weeks ago, we had a CKAN instance running on Python 2.6,
>>>> it was the version 2.3.
>>>>
>>>> If you're going to deploy a new instance I recommend you to use a
>>>> more recent version of CKAN and Python, this is subjective because I
>>>> didn't ran any benchmarks, but I think they perform better.
>>>>
>>>> Hope this helps.
>>>>
>>>> On Thu, Jun 30, 2016 at 12:41 PM, Espeland, James
>>>> <james.espeland at montana.edu> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>>
>>>>>
>>>>> Could someone please tell me the latest stable version of CKAN that
>>>>> works with Python 2.6.6?
>>>>>
>>>>>
>>>>>
>>>>> Thank you kindly in advance,
>>>>>
>>>>>
>>>>>
>>>>> --- Jim Espeland
>>>>>
>>>>> James.espeland at montana.edu
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
More information about the ckan-dev
mailing list