Re: pg_upgrade Python version issue on openSUSE

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_upgrade Python version issue on openSUSE
Date: 2020-09-26 15:43:24
Message-ID: 986342fa-7e75-bb99-6fe1-06ec2b5bb74e@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/26/20 8:26 AM, Paul Förster wrote:
> Hi Adrian,
>
>> On 26. Sep, 2020, at 17:17, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:
>>
>> On 9/26/20 2:33 AM, Paul Förster wrote:
>>> Hi,
>>> the OS here is openSUSE Leap 15.2. I downloaded the PostgreSQL 13.0 source and built it without issues like so:
>>
>>> openSUSE has no python2 anymore, only python3. The source database does not even have plpython installed:
>>
>> Actually it does:
>>
>> https://software.opensuse.org/package/python?search_term=%22python%22
>
> well, actually, it does not. There are still Python2 packages in the repo which I can happily install here at home but not in the company. So I will run into trouble if I install something here to make something else work, and then take it to the company where it does not work. So, to maintain the highest level of compatibility to the machines at work, I don't install extra packages.

I suppose getting them to install Python 2 is out of the question? It is
an official package.

>
> But yes, that would be the second most proper solution. The first and utmost proper solution would be for Python to finally stop that versioning crap after years have gone by now.

Well there is always going to be versioning. If you mean the
incompatibility split, then for 2/3 that is not going away. There will
be a Python 4, but the core developers have said they learned their
lesson and it will just be an incremental upgrade.

>
> Cheers,
> Paul
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Förster 2020-09-26 15:54:31 Re: pg_upgrade Python version issue on openSUSE
Previous Message Paul Förster 2020-09-26 15:26:58 Re: pg_upgrade Python version issue on openSUSE