public inbox for [email protected]  
help / color / mirror / Atom feed
From: Magnus Hagander <[email protected]>
To: Paul A Jungwirth <[email protected]>
Cc: [email protected]
Subject: Re: Upgrade some pgweb python dependencies
Date: Thu, 12 Feb 2026 13:02:46 +0100
Message-ID: <CABUevEyYnW63ai80m+X5884LADi6K4=VDeEpuVRC1N4cfe94Lg@mail.gmail.com> (raw)
In-Reply-To: <CA+renyW-Fc0m3+dp0kGwhHPuhuNbk4x2YZSSx5b8KTfbBbc45w@mail.gmail.com>
References: <CA+renyW-Fc0m3+dp0kGwhHPuhuNbk4x2YZSSx5b8KTfbBbc45w@mail.gmail.com>

On Wed, 11 Feb 2026 at 23:40, Paul A Jungwirth <[email protected]>
wrote:

> I submitted a patch to pgarchive recently, which led me to setting up
> pgweb, based on the instructions in docs/dev_install.rst.[0]
>
> Using debian 13 and python 3.9, I ran into several errors running `pip
> install -r requirements.txt`. The versions pinned there look quite
> old. The latest allowed version of pycryptodomex even seems to use
> python2 syntax, so I don't understand how it works for anyone else.
>

These requirements files are, ahem, badly maintained. I assume nobody
really uses them :/

FWIW, since you're on debian, the easiest is to just use the debian
packaged versions of basically everything. Our production is on debian
bookworm and testing is on debian trixie, so either of those should work.
The only thing you need to install from pip at this point is Django itself
and cvss (if you want the security pages).

Doesn't mean the requirements.txt shouldn't be better maintained, so we
should look at that, but as a quick-fix for your current situation and to
make sure you're running something that matches what's actually used in
production.

//Magnus


view thread (2+ messages)

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], [email protected], [email protected]
  Subject: Re: Upgrade some pgweb python dependencies
  In-Reply-To: <CABUevEyYnW63ai80m+X5884LADi6K4=VDeEpuVRC1N4cfe94Lg@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