Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vqVPT-00C4NV-0Z for pgsql-www@arkaria.postgresql.org; Thu, 12 Feb 2026 12:03:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vqVPS-008LzI-16 for pgsql-www@arkaria.postgresql.org; Thu, 12 Feb 2026 12:03:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vqVPS-008Lz5-0W for pgsql-www@lists.postgresql.org; Thu, 12 Feb 2026 12:03:02 +0000 Received: from mail-yx1-xb134.google.com ([2607:f8b0:4864:20::b134]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vqVPR-00000000JEX-02Je for pgsql-www@lists.postgresql.org; Thu, 12 Feb 2026 12:03:02 +0000 Received: by mail-yx1-xb134.google.com with SMTP id 956f58d0204a3-64a28af2f4cso2983005d50.1 for ; Thu, 12 Feb 2026 04:03:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770897779; cv=none; d=google.com; s=arc-20240605; b=jMA+VCFfrIpGyUehtO1jrGipds8pjsVbP1jdNlkOIbcWFRfagBuGSusVzM/bgEvQYY wqWb6Y0m7zbsREXcXxSfEGLtdB7jiauFobnMonkxdpl+WOO2OtckF6pL+mm+Aj6JrGZF RQHne5afLNmUhsn4BDz/dQ39wZXoSGicVMLf6WchmLRKS1nH2nL1A9Xx+5GF3ka9/9Km fBV6QSmKZibUnL/QlJXdc7mpaoDGjL3AmWznNtJwUd8wGZ/fVh3esOt+4oT+L02gfpcQ 499b+jcjAamjXYLkBzTk4mim/j04iQfFO0rgfsbIsi3fWaV1eJrgD7HyObGvJbmOzIsX TD4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=6nAZ+9oa1gATtLdfsg2h8FT5pWVZVdOLAT1fQk/pOIE=; fh=JAKQa2OwQOljTKa8WSmu9LmtaUivNlrRJma2zH0J4fk=; b=PJJnZ8QoqVFSZkZ4lx6cCjSsjD3dPY6UbUOonYDinFQHsu80fN9N1nUo27QO8PVUhZ g8am1WlP2ZxxCHVcUccdnDJO0Fhu7Hx5igIZmf9rzazno2F+bLQzQHZ+O0uFawGbAFZz T9NgeEGqRqF513qd0fyMxMbofLMeW8dBRHOB+l7PmhmUYcXTMep+FOc+fNWhd1gcbvJK 0vjGjeBm0epBqIdPnUM58XLJxnT5RusQpwxtzMo6lhSRAFr3P+eXpLOG/Jsd8rkaVVvX cQkCGX+d1nm18Vr6GodkKbrR7P4oFiSTbwCD7OxSP0d+P74Odn+43taq1DjVSc0PJhSj rNGw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander.net; s=mail; t=1770897779; x=1771502579; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6nAZ+9oa1gATtLdfsg2h8FT5pWVZVdOLAT1fQk/pOIE=; b=HGfvMY85WjCASyEUtJEUka3npQZ47j438GafS6JMdRTPHWTtWG8iXcZguc44lH4l/t nwuH8T6kbXHYPZgzz39y4aZQWeXb+rIdqCxYrUvTKgzrzWbr5yD8TXi9mxMD0EACWkfZ Ic4zkX7C7n5fzXupR4NajXXMnnUXE+s8nwsEFunGs1sdYXX5TeWXFb2+p9GnV0APOcCV o4Yhas7+nMUGqkS+S9sF1/Woem3/7Ljs+DaU/9lo0oO+17V6iHyOQSolMtmAGiveiLtI Qo8mbaP8bzTVRF4aetdkf1f2w8HBweT1TSJ0TPZHumQRMHLN2M0UIzxZr4o/6tWBw0XU 8tNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770897779; x=1771502579; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6nAZ+9oa1gATtLdfsg2h8FT5pWVZVdOLAT1fQk/pOIE=; b=cxBEeP4bB1xI3QKj9Rr8eOCgESRkYRve8WtsTNKO8dUKe17n/MvzG78J3FvOZ1YU2P KNwmzxamUStN8HOM67UHdapw6MRmnX7ft7PIWybWDpRCunQkFaFrpNaOJLQaJDkcyaan gELtj7iU3H+Wjf0IgEfiKIcrlUGEYV07mqBLOmJH13L6DzqygTrhlpPbO8L99t1PHo3o P1P68RHI4XgAJBYcn9xow+lRQKAf6MiLz9C2ZL/EescRnEklD2kUnCVP6r5bL+Apb5CQ 4FK2UobydRviacAeslxNkg9Sy6FpMTmGnD5/0d5MdGJ0hcAPYNZE4nGRfSTsUJUgaL5L DJ5Q== X-Gm-Message-State: AOJu0Yzw4Ny0c1w5tc6krbaKe6blGFtVOnWgoqPtEiu3jFqEPSY7sgzj +bD0LmSk3VYnp1/BXY4KFXC1Jn40LkwAthAJvN9Ho8gk8qLTo/KMlYwUlOgnKMZCO5/17kFd2Fw iAk1HqmgK54AU19BMuWgB5PwNPOSMlOYrmsJvMN+HMIdvgHWwMqA= X-Gm-Gg: AZuq6aJ4UnDkeT0stzTwIhPwPn+G0mwOtIZXiAQO4x/fiw6UdDra25JWLVCjvlymi8G 4Jx7IKDUZWPHjd3dCOJd8H2ZQQ3Dcxl6xH3oq7joPosz14M4qaOkWSBwI949vgFyzV1EhK+43RQ kP2cQKuFdhsyQsn1nN3n961Q50uBOycXUe832yg9dsFHIqS5z5XlY3w64ZVPLqnLKWr0KVJ+Pfn vv9UBdL2R6j9SFXdI3hSuuzQ3eQc/9KZVcOL11KaizjMKSXInOTshnC1lMlULBgP/L7Tz0YtMhT OeSc94o= X-Received: by 2002:a05:690e:144b:b0:64a:e678:69ba with SMTP id 956f58d0204a3-64bdf318bcdmr1566837d50.19.1770897778829; Thu, 12 Feb 2026 04:02:58 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Magnus Hagander Date: Thu, 12 Feb 2026 13:02:46 +0100 X-Gm-Features: AZwV_QisYoZLOuCHkHwpAcFUWTCr7__at_EwCYmnVgoRUN-UOLu1YVPms5-3uEI Message-ID: Subject: Re: Upgrade some pgweb python dependencies To: Paul A Jungwirth Cc: pgsql-www@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000000a9405064a9f45cb" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000000a9405064a9f45cb Content-Type: text/plain; charset="UTF-8" On Wed, 11 Feb 2026 at 23:40, Paul A Jungwirth 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 --0000000000000a9405064a9f45cb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 11 Feb 2026 at 23:40, Paul A Jung= wirth <pj@illuminatedcomp= uting.com> wrote:
I submitted a patch t= o 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 :/

FW= IW, since you're on debian, the easiest is to just use the debian packa= ged versions of basically everything. Our production is on debian bookworm = and testing is on debian trixie, so either of those should work. The only t= hing you need to install from pip at this point is Django itself and cvss (= if you want the security pages).=C2=A0

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 su= re you're running something that matches what's actually used in pr= oduction.

//Magnus

--0000000000000a9405064a9f45cb--