| From: | Magnus Hagander <magnus(at)hagander(dot)net> |
|---|---|
| To: | Tristan Partin <tristan(at)partin(dot)io> |
| Cc: | pgsql-www <pgsql-www(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Python Tooling |
| Date: | 2026-08-17 16:24:41 |
| Message-ID: | CABUevEzLcU3EiZXE5GYAZU44nd0KmRQnFS2ymmRgaan5Y4Bbhw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
On Mon, 17 Aug 2026 at 18:13, Tristan Partin <tristan(at)partin(dot)io> wrote:
> If I spent some time to improve the Python tooling for pgweb, would it
> be accepted? Thinks we could do:
>
> - Add Python typing and type checking
>
That would be very useful I think.
> - Add linter checks
>
That may or may not be useful depending on exactly what it is :) But
probably.
> - Use pyproject.toml
> - Update dependencies
>
> Additionally, I would like to understand how people actually develop
> this repo. `pip install -r requirements.txt` doesn't work for me because
> my Python 3.11 toolchain cannot compile the version of psycopg that we
> pin. Python 3.11 is what is recommended in the docs.
>
>
The basic answer is, "use whatever is in debian" because that's what it's
deployed on, and at this point that's trixie.
That also means we do *not* want to change the dependencies to anything
other than whatr's there.
But unfortunately, we (which mostly means me) are very bad at keeping them
up to date. Because for example Debian Trixie is on python 3.13, not 3.11.
And since our currently existing tests are literally just "passes
pycodestyle", it wouldn't catch that (and those tests pass on both 3.11 and
3.13).
//Magnus
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David E. Wheeler | 2026-08-17 17:56:11 | Planet Team: ClickHouse |
| Previous Message | Tristan Partin | 2026-08-17 16:13:26 | Python Tooling |