py4web 1.20220725.1 and (IMPORTANT) pool logic fix

83 views
Skip to first unread message

Massimo

unread,
Jul 25, 2022, 6:34:02 AM7/25/22
to py4web
I just deployed a new pydal and a new py4web version.

They fix a long standing issue with connection pooling. Thanks for reporting this issue and your help debug it. Please check it out and confirm it resolves your issues.

Massimo

Alex Glaros

unread,
Jul 25, 2022, 9:38:27 PM7/25/22
to py4web
beginner question. When I run this:

python3 -m pip install --upgrade py4web --no-cache-dir

it replaces it with same version, so no new version is installed.  Am I getting new version from the right place?

xgp.l...@gmail.com

unread,
Jul 26, 2022, 7:27:19 AM7/26/22
to py4web
Excellent.

Question: will pydal works using psycopg3?


Thanks Massimo

Massimo

unread,
Jul 26, 2022, 7:50:25 AM7/26/22
to py4web
No because in pydal/adapters/postgres.py is not listed as a supported driver. You can try add it and it should work. Is it stable enough that we should support it?

xgp.l...@gmail.com

unread,
Jul 26, 2022, 8:12:36 AM7/26/22
to py4web
I cant tell if its stable enough.
Im interested in having async capabilities so I can use pydal in simple deployments.

I will try it in py4web.


Regards,

Nico Zanferrari

unread,
Jul 26, 2022, 2:10:11 PM7/26/22
to Alex Glaros, py4web
Hi,

upgrading py4web using pip will upgrade it to the latest pip version, as listed on https://pypi.org/project/py4web/#history . This latest pip version could be older than the full source version.

Note that this will not force an upgrade of the needed libraries (pydal included) unless it's stated in the source. And it will surely not upgrade the included apps, dashboard included...

Nico

--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/71503b7a-3adc-4c23-8121-1e2df3d5dc9bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages