Re: More RHEL 6 build issues - Mailing list pgadmin-hackers

From Dave Page
Subject Re: More RHEL 6 build issues
Date
Msg-id CA+OCxoyP2OSxhxo8U2kB+BQ0JJpmGrHHxWyi7_UttTr2u5u5RQ@mail.gmail.com
Whole thread Raw
In response to Re: More RHEL 6 build issues  (Devrim Gündüz <devrim@gunduz.org>)
Responses Re: More RHEL 6 build issues
List pgadmin-hackers


On Tue, Jul 11, 2017 at 12:09 PM, Devrim Gündüz <devrim@gunduz.org> wrote:

Hi,

Sorry, I missed this part:

On Tue, 2017-07-11 at 11:44 +0100, Dave Page wrote:
> It was fixed in the code:
>
>      # HTMLMIN doesn't work with Python 2.6.
>     if not config.DEBUG and sys.version_info >= (2,7):
>         HTMLMIN(app)
>
> Though, we do have an unconditional import (both in
> web/pgadmin/__init__.py).
>
> Does the app run?

We even cannot build it.


I just tried it on CentOS 6 here, and the app runs, but the docs don't build. That's weird, considering https://jenkins.pgadmin.org/job/pgadmin4-master-python26/lastSuccessfulBuild/.

Anyway; the attached patch fixes the issue for me. I wonder if this is some CentOS weirdness...

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: More RHEL 6 build issues
Next
From: Murtuza Zabuawala
Date:
Subject: Re: [pgAdmin4][Patch] To fix the issue in privileges control