Re: pg-activity updated to version 3.0.1-1.pgdg+1 - Mailing list pgsql-pkg-debian

From Aaron Pavely
Subject Re: pg-activity updated to version 3.0.1-1.pgdg+1
Date
Msg-id CAGs4muVPttuu1Mw2awQ=LR3XxC68es9jbc4x6_+i5FFgQe79XA@mail.gmail.com
Whole thread Raw
In response to pg-activity updated to version 3.0.1-1.pgdg+1  (apt.postgresql.org Repository Update <noreply@postgresql.org>)
Responses Re: pg-activity updated to version 3.0.1-1.pgdg+1  (Christoph Berg <myon@debian.org>)
List pgsql-pkg-debian
On Thu, Nov 10, 2022 at 8:28 AM apt.postgresql.org Repository Update <noreply@postgresql.org> wrote:
The package pg-activity was updated on apt.postgresql.org.

apt-listchanges: Changelogs
---------------------------

pg-activity (3.0.1-1.pgdg+1) sid-pgdg; urgency=medium

  * Rebuild for sid-pgdg.
  * No source changes.

 -- PostgreSQL on Debian and Ubuntu <pgsql-pkg-debian@lists.postgresql.org>  Tue, 18 Oct 2022 14:37:27 +0000

pg-activity (3.0.1-1) unstable; urgency=medium

  * New upstream release

 -- Emmanuel Bouthenot <kolter@debian.org>  Tue, 18 Oct 2022 14:37:27 +0000

New version 3.0.1-1.pgdg+1:

pg-activity  |  3.0.1-1.pgdg+1       |  sid-pgdg       |  amd64,  arm64,  i386,     ppc64el,  source
pg-activity  |  3.0.1-1.pgdg120+1    |  bookworm-pgdg  |  amd64,  arm64,  ppc64el,  source   
pg-activity  |  3.0.1-1.pgdg110+1    |  bullseye-pgdg  |  amd64,  arm64,  ppc64el,  source   
pg-activity  |  3.0.1-1.pgdg100+1    |  buster-pgdg    |  amd64,  arm64,  i386,     ppc64el,  source
pg-activity  |  3.0.1-1.pgdg22.10+1  |  kinetic-pgdg   |  amd64,  source                     
pg-activity  |  3.0.1-1.pgdg22.04+1  |  jammy-pgdg     |  amd64,  arm64,  ppc64el,  source   
pg-activity  |  3.0.1-1.pgdg20.04+1  |  focal-pgdg     |  amd64,  arm64,  ppc64el,  source   
pg-activity  |  3.0.1-1.pgdg18.04+1  |  bionic-pgdg    |  amd64,  arm64,  i386,     ppc64el,  source

The public mirrors serving apt.postgresql.org are synced hourly,
the updated packages will be available there shortly.

This is broken on buster / focal and earlier due to the missing python 'humanize' dependency of >=2.6.0.

root@focaltest:/# sudo -u postgres pg_activity
Traceback (most recent call last):
  File "/usr/bin/pg_activity", line 11, in <module>
    load_entry_point('pg-activity==3.0.1', 'console_scripts', 'pg_activity')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/pgactivity/cli.py", line 13, in <module>
    from . import __version__, data, types, ui
  File "/usr/lib/python3/dist-packages/pgactivity/data.py", line 24, in <module>
    from .types import (
  File "/usr/lib/python3/dist-packages/pgactivity/types.py", line 25, in <module>
    from . import compat, colors, utils
  File "/usr/lib/python3/dist-packages/pgactivity/colors.py", line 1, in <module>
    from . import utils
  File "/usr/lib/python3/dist-packages/pgactivity/utils.py", line 12, in <module>
    humanize.precisedelta,
AttributeError: module 'humanize' has no attribute 'precisedelta'


-- Aaron
 

pgsql-pkg-debian by date:

Previous
From: apt.postgresql.org Repository Update
Date:
Subject: postgresql-common updated to version 246.pgdg+1
Next
From: Christoph Berg
Date:
Subject: Re: pg-activity updated to version 3.0.1-1.pgdg+1