Re: Dependencies, and upcoming changes to pip - Mailing list pgadmin-support

From Akshay Joshi
Subject Re: Dependencies, and upcoming changes to pip
Date
Msg-id CANxoLDe0REqfdUi9V5WXhqJ_fB8RsjVGLHvbOLJga3B90tzewQ@mail.gmail.com
Whole thread Raw
In response to Dependencies, and upcoming changes to pip  (Shaheed Haque <shaheedhaque@gmail.com>)
Responses Re: Dependencies, and upcoming changes to pip  (Shaheed Haque <shaheedhaque@gmail.com>)
List pgadmin-support
Thanks, Shaheed for pointing it out, we will definitely look into it. 

On Tue, Sep 29, 2020 at 6:08 PM Shaheed Haque <shaheedhaque@gmail.com> wrote:
Hi,

I've long wondered why pgAdmin4 seems to hard pin its dependencies; specifically these two which do seem rather outdated:

pgadmin4 4.26 requires pytz==2018.9, but you'll have pytz 2020.1 which is incompatible.
pgadmin4 4.26 requires sqlparse==0.2.4, but you'll have sqlparse 0.3.1 which is incompatible.

So far, I've just ignored this , and as far as I know, I have not encountered any obvious issues. But, with the upcoming changes to pip's resolver, I suspect this is going to become a hard error for me as I believe the new resolver will simply abort the install in such cases:

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves
dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

So, I'd like to request that any unneeded constraints are either removed, or relaxed, or at least updated to something close to current.

Thanks, Shaheed

P.S. We understand about venvs, but we have a whole bunch of dependencies beyond pgAdmin and having to set up multiple venvs to isolate everything is a deployment-time overhead we prefer to avoid.


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB Postgres
Mobile: +91 976-788-8246

pgadmin-support by date:

Previous
From: Jack Royal-Gordon
Date:
Subject: Re: Problem when double-clicking to auto-size column in query window
Next
From: Bo Guo
Date:
Subject: Re: pgAdmin4 presents blank screen after login