Re: pgadmin4 for fedora 35

From: Mike Martin <redtux1(at)gmail(dot)com>
To: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: pgadmin4 for fedora 35
Date: 2021-11-18 17:11:00
Message-ID: CAOwYNKapnFqkG8sQrss=yfu4Xo9vAOXJwEto3x0-jWETxkC67A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Just for info, until the dependencies get updated this works

Install python3.9 package
Edit /etc/yum.repos.d/pgadmin4.repo

baseurl=
https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/fedora/fedora-34-$basearch
#baseurl=
https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/fedora/fedora-$releasever-$basearch

(change releasever to 34)

Just updated to 6.2 via this

On Mon, 15 Nov 2021 at 10:23, Dave Page <dave(dot)page(at)enterprisedb(dot)com> wrote:

> Hi
>
> On Sat, Nov 13, 2021 at 3:48 PM toni incog <toni(dot)incog(at)gmail(dot)com> wrote:
>
>> Lo and behold, I just upgraded a laptop to f35 with pgadmin4 still
>> installed and it was enough to install python9 to get a running
>> desktop version. So when upgrading don't rm pgadmin, disable the
>> pgadmin repo and afterwards install python9. Not sure if that will
>> work for the web version.
>>
>
> That's good to know - thanks for the info.
>
>
>>
>> On Tue, 9 Nov 2021 at 17:35, richard coleman
>> <rcoleman(dot)ascentgl(at)gmail(dot)com> wrote:
>> >
>> > Dave,
>> >
>> > Good to know,
>> >
>> > thanks,
>> > rik.
>> >
>> >
>> > On Tue, Nov 9, 2021 at 8:43 AM Dave Page <dave(dot)page(at)enterprisedb(dot)com>
>> wrote:
>> >>
>> >> Hi
>> >>
>> >> On Tue, Nov 9, 2021 at 12:41 PM richard coleman <
>> rcoleman(dot)ascentgl(at)gmail(dot)com> wrote:
>> >>>
>> >>> Dave,
>> >>>
>> >>> Have you ever considered using something like flatpak (
>> https://flatpak.org/ ) for the Linux versions of pgAdmin? It might;
>> make it easier to handle the many different distributions, and deal with
>> the different release schedules of the many dependencies that pgAdmin
>> relies upon.
>> >>
>> >>
>> >> Technologies like Flatpak make it significantly harder to maintain
>> applications like pgAdmin, and for system administrators to ensure their
>> systems are secure. This is primarily because they bundle third party
>> libraries within the application package, which means that every time there
>> is a security update to a library such as OpenSSL, we need to update the
>> package we distribute, and the system administrator can't simply do a yum
>> update or equivalent and be sure that their system is as secure as
>> possible. It also means end users need to install a separate package
>> management tool from the one that is native to their system.
>> >>
>> >> So, whilst (if we had the resources) I wouldn't object to supporting
>> Flatpak and similar, I would certainly not want them to replace the
>> standard native packages as the primary offering.
>> >>
>> >>>
>> >>>
>> >>> Just a thought.
>> >>>
>> >>> rik.
>> >>>
>> >>>
>> >>> On Tue, Nov 9, 2021 at 4:23 AM Dave Page <dave(dot)page(at)enterprisedb(dot)com>
>> wrote:
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Tue, Nov 9, 2021 at 8:11 AM toni incog <toni(dot)incog(at)gmail(dot)com>
>> wrote:
>> >>>>>
>> >>>>> fwiw That didn't work out. Symlinks where pointing to 3.9 though I
>> >>>>> stopped at Failed to exec Python script file
>> >>>>> '/usr/pgadmin4/web/pgAdmin4.wsgi'... ModuleNotFoundError: No module
>> >>>>> named 'flask'
>> >>>>
>> >>>>
>> >>>> :-(.
>> >>>>
>> >>>>>
>> >>>>> I guess I've to practice some patience.
>> >>>>
>> >>>>
>> >>>> Yeah, unfortunately. The issue is that one of the upstream libraries
>> we use doesn't have a release that supports Python 3.10 yet. We have all
>> the build system etc. setup and ready to go, but until they put out a new
>> release we're kinda stuck.
>> >>>>
>> >>>>>
>> >>>>>
>> >>>>> On Mon, 8 Nov 2021 at 10:01, toni incog <toni(dot)incog(at)gmail(dot)com>
>> wrote:
>> >>>>> >
>> >>>>> > Ok, then I give that a try, thx!
>> >>>>> >
>> >>>>> > On Mon, 8 Nov 2021 at 09:56, Dave Page <
>> dave(dot)page(at)enterprisedb(dot)com> wrote:
>> >>>>> > >
>> >>>>> > >
>> >>>>> > >
>> >>>>> > > On Mon, Nov 8, 2021 at 8:34 AM Aditya Toshniwal <
>> aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>> >>>>> > >>
>> >>>>> > >>
>> >>>>> > >>
>> >>>>> > >> On Mon, Nov 8, 2021 at 1:28 PM toni incog <
>> toni(dot)incog(at)gmail(dot)com> wrote:
>> >>>>> > >>>
>> >>>>> > >>> No easy way to fallback to python 3.9 in f35? 3.9 is
>> installable fwiw
>> >>>>> > >>
>> >>>>> > >> I'm not aware of any. @Dave do you have any ?
>> >>>>> > >
>> >>>>> > >
>> >>>>> > > The F34 packages might work if you have 3.9 installed (I
>> *think* the symlinks in our venv should still point to the correct
>> locations in that case). There may be other things that don't work though.
>> >>>>> > >
>> >>>>> > >>>
>> >>>>> > >>>
>> >>>>> > >>> On Mon, 8 Nov 2021 at 06:17, Aditya Toshniwal
>> >>>>> > >>> <aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>> >>>>> > >>> >
>> >>>>> > >>> > Hi Toni,
>> >>>>> > >>> >
>> >>>>> > >>> > All of the python packages used by pgAdmin are not yet
>> available for 3.10. We're continuously testing pgAdmin on v3.10 to make it
>> work.
>> >>>>> > >>> > Once pgAdmin works on v3.10, F35 builds can be made
>> available.
>> >>>>> > >>> >
>> >>>>> > >>> > On Sat, Nov 6, 2021 at 6:35 PM toni incog <
>> toni(dot)incog(at)gmail(dot)com> wrote:
>> >>>>> > >>> >>
>> >>>>> > >>> >> No yum repos for f35 yet. Using the 34 repos has troubles
>> with f35
>> >>>>> > >>> >> python3.10. Any fast solution for this? Is installing
>> python3.9 an
>> >>>>> > >>> >> option. I'm not familiar with this pyhton world but became
>> dependend
>> >>>>> > >>> >> on pgadmin4.
>> >>>>> > >>> >>
>> >>>>> > >>> >> thx
>> >>>>> > >>> >>
>> >>>>> > >>> >>
>> >>>>> > >>> >
>> >>>>> > >>> >
>> >>>>> > >>> > --
>> >>>>> > >>> > Thanks,
>> >>>>> > >>> > Aditya Toshniwal
>> >>>>> > >>> > pgAdmin Hacker | Software Architect | edbpostgres.com
>> >>>>> > >>> > "Don't Complain about Heat, Plant a TREE"
>> >>>>> > >>
>> >>>>> > >>
>> >>>>> > >>
>> >>>>> > >> --
>> >>>>> > >> Thanks,
>> >>>>> > >> Aditya Toshniwal
>> >>>>> > >> pgAdmin Hacker | Software Architect | edbpostgres.com
>> >>>>> > >> "Don't Complain about Heat, Plant a TREE"
>> >>>>> > >
>> >>>>> > >
>> >>>>> > >
>> >>>>> > > --
>> >>>>> > > Dave Page
>> >>>>> > > VP, Chief Architect, Database Infrastructure
>> >>>>> > > Blog: https://www.enterprisedb.com/dave-page
>> >>>>> > > Twitter: @pgsnake
>> >>>>> > >
>> >>>>> > > EDB: https://www.enterprisedb.com
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Dave Page
>> >>>> VP, Chief Architect, Database Infrastructure
>> >>>> Blog: https://www.enterprisedb.com/dave-page
>> >>>> Twitter: @pgsnake
>> >>>>
>> >>>> EDB: https://www.enterprisedb.com
>> >>
>> >>
>> >>
>> >> --
>> >> Dave Page
>> >> VP, Chief Architect, Database Infrastructure
>> >> Blog: https://www.enterprisedb.com/dave-page
>> >> Twitter: @pgsnake
>> >>
>> >> EDB: https://www.enterprisedb.com
>>
>
>
> --
> Dave Page
> VP, Chief Architect, Database Infrastructure
> Blog: https://www.enterprisedb.com/dave-page
> Twitter: @pgsnake
>
> EDB: https://www.enterprisedb.com
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2021-11-18 17:18:25 Re: pgadmin4 for fedora 35
Previous Message Mark Murawski 2021-11-18 16:03:35 Re: pgAdmin 4 v6.2 Released