public inbox for [email protected]  
help / color / mirror / Atom feed
From: Khushboo Vashi <[email protected]>
To: Devrim Gündüz <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: 4.1 bytecompile error on RHEL 7
Date: Thu, 24 Jan 2019 10:24:25 +0530
Message-ID: <CAFOhELe3dD2rBAS9X3G3-sG1uhoyOu9qfi_AJKrmNHpGqz5rBA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Wed, Jan 23, 2019 at 10:38 PM Devrim Gündüz <[email protected]> wrote:

>
> Hi,
>
> I'm seeing this at the end of the RPM build process on RHEL 7. Please note
> that
> 3.6 passes here:
>
> ==============================================
> + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
> Bytecompiling .py files below /var/lib/pgsql/rpm11/BUILDROOT/pgadmin4-4.1-
> 1.rhel7.x86_64/usr/lib/python2.7 using /usr/bin/python2.7
> Compiling /var/lib/pgsql/rpm11/BUILDROOT/pgadmin4-4.1-
> 1.rhel7.x86_64/usr/lib/python2.7/site-packages/pgadmin4-
> web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py ...
>   File "/usr/lib/python2.7/site-packages/pgadmin4-
> web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py", line
> 79
>     file=sys.stderr, end=""
>         ^
> SyntaxError: invalid syntax
>
> ==============================================
>
Any ideas?
>
> This is the issue only on Python 2.7. Let me fix it in pgAdmin 4.

> Regards,
>
> --
> Devrim Gündüz
> EnterpriseDB: https://www.enterprisedb.com
> PostgreSQL Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>


view thread (4+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: 4.1 bytecompile error on RHEL 7
  In-Reply-To: <CAFOhELe3dD2rBAS9X3G3-sG1uhoyOu9qfi_AJKrmNHpGqz5rBA@mail.gmail.com>

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

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