public inbox for [email protected]
help / color / mirror / Atom feedFrom: Magnus Hagander <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: Relax version dependency on psycopg2
Date: Tue, 9 May 2017 13:28:17 +0200
Message-ID: <CABUevEwBHYr5AaUw4tjC-_HfffLLD5yEp1RT3gTTz7PQRBP-Hg@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
Right now psycopg2 is required to be exactly version 2.6.2, which makes it
mostly impossible to install pgadmin4 without having the postgresql C
development packages installed (since you need to rebuild psycopg2 from
source to make that work, given that few platforms ship *exactly* that
version).
I suggest just saying "2.6 or greater", which should make it work on many
more platforms.
AFAIK there aren't any other packages with similar compile requirements, so
the rest seem OK.
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/;
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/;
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
Attachments:
[text/x-patch] psycopg2_version.patch (321B, 3-psycopg2_version.patch)
download | inline diff:
diff --git a/requirements.txt b/requirements.txt
index 90ed057..deb8bde 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -27,7 +27,7 @@ MarkupSafe==0.23
ordereddict; python_version < '2.7'
passlib==1.6.2
pbr==1.9.1
-psycopg2==2.6.2
+psycopg2>=2.6.2
pycrypto==2.6.1
pyrsistent==0.11.13
python-dateutil==2.5.0
view thread (2+ 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]
Subject: Re: Relax version dependency on psycopg2
In-Reply-To: <CABUevEwBHYr5AaUw4tjC-_HfffLLD5yEp1RT3gTTz7PQRBP-Hg@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