Thread: pg-activity updated to version 3.0.1-1.pgdg+1

pg-activity updated to version 3.0.1-1.pgdg+1

From
apt.postgresql.org Repository Update
Date:
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.




Re: pg-activity updated to version 3.0.1-1.pgdg+1

From
Aaron Pavely
Date:
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
 

Re: pg-activity updated to version 3.0.1-1.pgdg+1

From
Christoph Berg
Date:
Re: Aaron Pavely
> This is broken on buster / focal and earlier due to the missing python
> 'humanize' dependency of >=2.6.0.

Thanks... that's about the one package that doesn't have tests.
I guess that's a message ;)

Will fix that tomorrow.

Christoph



Re: pg-activity updated to version 3.0.1-1.pgdg+1

From
Christoph Berg
Date:
Re: To Aaron Pavely
> Re: Aaron Pavely
> > This is broken on buster / focal and earlier due to the missing python
> > 'humanize' dependency of >=2.6.0.
> 
> Thanks... that's about the one package that doesn't have tests.
> I guess that's a message ;)
> 
> Will fix that tomorrow.

It took a bit longer than that, sorry.

I manually downgraded the pg-activity packages in buster/bionic/focal
to 2.3.1. If you have the 3.0 package installed, do this:

apt install pg-activity/buster-pgdg

Christoph