From: | Shaheed Haque <shaheedhaque(at)gmail(dot)com> |
---|---|
To: | pgAdmin Support <pgadmin-support(at)postgresql(dot)org> |
Subject: | Possible packaging problem with gssapi |
Date: | 2021-03-03 14:32:43 |
Message-ID: | CAHAc2jcgAV+a1upkGM1Hj+8gzmdg6JwW2xhtKmJjmtgO6CrPYw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi,
I *think* there is something not quite right with the pgAdmin4 packaging as
regards gssapi, which I assume is related to the new Kerberos support in
4.30. When I try to deploy our software, which has a dependency on
pgAdmin4, I see something like this:
$ sudo pip install ...blah...our stuff...blah...
...
Collecting pgadmin4
Downloading pgadmin4-5.0-py3-none-any.whl (97.3 MB)
...
Collecting gssapi==1.6.*
Downloading gssapi-1.6.12.tar.gz (1.1 MB)
ERROR: Command errored out with exit status 1:
...
/bin/sh: 1: krb5-config: not found
In distributed package, building from C files...
...
subprocess.CalledProcessError: Command 'krb5-config --libs gssapi'
returned non-zero exit status 127.
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/c2/77/7cba9c5945d4d42d54ed1fb2a0bd8095d629548743198fa47ed6c1167846/gssapi-1.6.12.tar.gz#sha256=16ed3b5d7fc37683be27f34a2a6
5062cb11d815d019bb2e89ffeb395576e51c8 (from https://pypi.org/simple/gssapi/)
(requires-python:>=3.6.*). Command errored out with exit status 1: python
setup.py egg_info Check the logs for full command output.
Downloading gssapi-1.6.11.tar.gz (1.1 MB)
...same error..
Downloading gssapi-1.6.10.tar.gz (1.1 MB)
...same error..
Downloading gssapi-1.6.9.tar.gz (1.1 MB)
...same error..
Downloading gssapi-1.6.5.tar.gz (1.1 MB)
...same error..
Downloading gssapi-1.6.2.tar.gz (1.1 MB)
...same error..
Downloading gssapi-1.6.1.tar.gz (1.1 MB)
...same error..
Downloading gssapi-1.6.0.tar.gz (1.1 MB)
...same error..
Collecting pgadmin4
Downloading pgadmin4-4.30-py3-none-any.whl (92.7 MB)
At some level, this is a dependency issue for gsslib, not pgadmin4, but
OTOH, I'm not using Kerberos so it is kind of annoying.
[What is worse is that, because - I think - of the dependency pinning
approach that pgAdmin4 uses, the above downgrade to pgadmin4.30 is not the
end of the story: I actually end up all the way back on pgadmin4.25, which
is even more annoying, if not downright dangerous].
I'm not sure if there is a way to make the gsslib dependency
optional/failsafe?
Thanks, Shaheed
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2021-03-03 14:41:54 | Re: Possible packaging problem with gssapi |
Previous Message | Redoute | 2021-03-03 11:06:53 | Re: PGadmin Support |