#1053449 VisiData requires python3-pkg-resources

#1053449#5
Date:
2023-10-04 10:07:32 UTC
From:
To:
When I install visidata in a fresh debian:sid docker container, it crashes
when I try to start it:

  File "/usr/bin/vd", line 3, in <module>
    import visidata.main
  File "/usr/lib/python3/dist-packages/visidata/__init__.py", line 102, in
<module>
    import visidata.main
  File "/usr/lib/python3/dist-packages/visidata/main.py", line 19, in
<module>
    from pkg_resources import resource_filename
ModuleNotFoundError: No module named 'pkg_resources'

If I also install python3-pkg-resources, it does start. Is it a dependency?

I see that bullseye is not affected, but bookworm and trixie are.

#1053449#10
Date:
2023-12-16 04:18:58 UTC
From:
To:
Hi! Thank you for writing in!

We actually are going to address this in the next release:
https://github.com/saulpw/visidata/issues/1911. `pkg_resources` got removed
as a hidden dependency on our development branch.

v3.0 is slated for in the next 2-4 weeks. You discovered one workaround;
the other is to install `python3-setuptools`.

#1053449#15
Date:
2024-01-08 14:01:17 UTC
From:
To:
Dear Maintainer,
#1053449#20
Date:
2024-01-08 15:30:15 UTC
From:
To:
I am planning to package version 3 in the next week. When is the deadline
for Debian12?

#1053449#25
Date:
2024-01-08 16:20:03 UTC
From:
To:
Quoting Anja <anja.kefala@gmail.com>:

Debian 12.4 has been released on 2023-12-10 and I'm not aware of fixed date
for 12.5. Anyway, version 3 cannot go into Debian 12 ("bookworm"), it can
only target Debian 13 ("trixie").

For Debian 12, we can do two things:

1. Fix the missing dependency in a package 2.11-1+deb12u1 for Debian 12.5
    (or, if things go wrong badly, for 12.6)

2. Prepare a backport of version 3, as soon as the package is in Debian
    testing (typically five days after upload to unstable)

I can guide you through this jungle and later sponsor the uploads, np.
It's easier than it might sound!

Cheers, Martin

#1053449#30
Date:
2024-01-08 17:51:29 UTC
From:
To:
Yayyy! I'll be reaching out this weekend most likely. =))