public inbox for [email protected]  
help / color / mirror / Atom feed
From: Aaron Pavely <[email protected]>
To: PostgreSQL on Debian and Ubuntu <[email protected]>
Subject: Re: pg-activity updated to version 3.0.1-1.pgdg+1
Date: Thu, 10 Nov 2022 12:30:22 -0600
Message-ID: <CAGs4muVPttuu1Mw2awQ=LR3XxC68es9jbc4x6_+i5FFgQe79XA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Thu, Nov 10, 2022 at 8:28 AM apt.postgresql.org Repository Update <
[email protected]> 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 <[email protected]>
> Tue, 18 Oct 2022 14:37:27 +0000
>
> pg-activity (3.0.1-1) unstable; urgency=medium
>
>   * New upstream release
>
>  -- Emmanuel Bouthenot <[email protected]>  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


view thread (4+ messages)  latest in thread

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]
  Subject: Re: pg-activity updated to version 3.0.1-1.pgdg+1
  In-Reply-To: <CAGs4muVPttuu1Mw2awQ=LR3XxC68es9jbc4x6_+i5FFgQe79XA@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