pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Paul Förster <paul.foerster@gmail.com>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: pg_upgrade Python version issue on openSUSE
Date: Sat, 26 Sep 2020 08:43:24 -0700
Message-ID: <986342fa-7e75-bb99-6fe1-06ec2b5bb74e@aklaver.com> (raw)
In-Reply-To: <4FACE8A1-4581-47F8-B24D-82FBEFB920C5@gmail.com>
References: <553A044A-D0E3-475D-8DC0-5845381CB086@gmail.com>
	<fd75407e-5c4d-e2bb-d48c-28723a751f21@aklaver.com>
	<4FACE8A1-4581-47F8-B24D-82FBEFB920C5@gmail.com>

On 9/26/20 8:26 AM, Paul Förster wrote:
> Hi Adrian,
> 
>> On 26. Sep, 2020, at 17:17, Adrian Klaver <adrian.klaver@aklaver.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.klaver@aklaver.com





view thread (28+ messages)  latest in thread

Message-ID: <986342fa-7e75-bb99-6fe1-06ec2b5bb74e@aklaver.com>
Permalink:  ../986342fa-7e75-bb99-6fe1-06ec2b5bb74e@aklaver.com/
Also on:    postgresql.org/message-id/986342fa-7e75-bb99-6fe1-06ec2b5bb74e@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, paul.foerster@gmail.com
  Subject: Re: pg_upgrade Python version issue on openSUSE
  In-Reply-To: <986342fa-7e75-bb99-6fe1-06ec2b5bb74e@aklaver.com>
  References: <553A044A-D0E3-475D-8DC0-5845381CB086@gmail.com> <fd75407e-5c4d-e2bb-d48c-28723a751f21@aklaver.com> <4FACE8A1-4581-47F8-B24D-82FBEFB920C5@gmail.com> <986342fa-7e75-bb99-6fe1-06ec2b5bb74e@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox