Your message dated Sun, 07 Apr 2024 15:37:50 +0000
with message-id <[email protected]>
and subject line Bug#1065120: fixed in pytables 3.9.2-2
has caused the Debian Bug report #1065120,
regarding python3-tables: includes Python package dependency on blosc2 in 
metadata
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1065120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065120
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-tables
Version: 3.9.2-1
Severity: normal
X-Debbugs-Cc: none, [email protected], David M. Cooke 
<[email protected]>

Dear Maintainer,

While attempting to run vitables, I get the following traceback:

Traceback (most recent call last):
  File "/usr/bin/vitables", line 33, in <module>
    sys.exit(load_entry_point('ViTables==3.0.2', 'gui_scripts', 
'vitables-run')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/vitables", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/share/vitables/vitables/start.py", line 31, in <module>
    from vitables.vtapp import VTApp
  File "/usr/share/vitables/vitables/vtapp.py", line 43, in <module>
    import vitables.preferences.pluginsloader as pluginsloader
  File "/usr/share/vitables/vitables/preferences/pluginsloader.py", line 26, in 
<module>
    import pkg_resources
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3327, 
in <module>
    @_call_aside
     ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3302, 
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3340, 
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 631, in 
_build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 968, in 
require
    needed = self.resolve(parse_requirements(requirements))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 829, in 
resolve
    dist = self._resolve_dist(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 870, in 
_resolve_dist
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'blosc2>=2.3.0' distribution was not 
found and is required by tables

(Reported as Bug#1065117)

Ultimately, I believe the problem to be that
/usr/lib/python3/dist-packages/tables-3.9.2.dist-info/METADATA
includes a line 'Requires-Dist: blosc2 >=2.3.0' (unless that information
is somewhere elso also; I couldn't find it elsewhere).  However, the
blosc2 Python package isn't installed (nor, for that matter, packaged
for Debian).  When vitables starts to look for plugins, the
pkg_resources module attempts to resolve vitables' Python dependencies.

>From what I can tell, the Python bindings in the blosc2 package aren't
used, and it's only listed for the blosc2 library and headers it
includes -- python3-tables is built against the libblosc2-2 Debian
package instead.

I think removing the offending line from METADATA should be a
sufficient fix.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-tables depends on:
ii  python-tables-data  3.9.2-1
ii  python3             3.11.6-1
ii  python3-cpuinfo     9.0.0-1
ii  python3-numexpr     2.9.0-1
ii  python3-numpy       1:1.24.2-2
ii  python3-packaging   23.2-1
ii  python3-tables-lib  3.9.2-1

python3-tables recommends no packages.

Versions of packages python3-tables suggests:
pn  python-tables-doc  <none>
ii  python3-netcdf4    1.6.5-1+b1
ii  vitables           3.0.2-4

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pytables
Source-Version: 3.9.2-2
Done: Antonio Valentino <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pytables, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Valentino <[email protected]> (supplier of updated pytables 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 07 Apr 2024 06:58:48 +0000
Source: pytables
Architecture: source
Version: 3.9.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Closes: 1065120
Changes:
 pytables (3.9.2-2) unstable; urgency=medium
 .
   * debian/patches:
     - New 0005-No-python-blosc2.patch (Closes: #1065120).
   * Update dates in d/copyright.
   * Set upstream metadata fields: Security-Contact.
Checksums-Sha1:
 25e2bafc050ffd1207c6fa1391ea37f21d2fed8d 4021 pytables_3.9.2-2.dsc
 8b04593d4a32882d1f7a08b1fc94560dc52bff23 19420 pytables_3.9.2-2.debian.tar.xz
 321a9dc379eff23e8ca0341467b67a8b14a3d2dd 12106 pytables_3.9.2-2_amd64.buildinfo
Checksums-Sha256:
 a71d8e3db367a8a5f63fb01f97d7349627aac905fb78cd0cb71c65eabf2e8447 4021 
pytables_3.9.2-2.dsc
 ec29361a7fd0cba08d2a6176ee119fe60e159cf051d69ce28cee402b2e28af73 19420 
pytables_3.9.2-2.debian.tar.xz
 3b9d41196a89703cd6ce7af82571e9098e32c3a5454c934c52ca278ff40d713f 12106 
pytables_3.9.2-2_amd64.buildinfo
Files:
 9dfa9bb0473e381a64f3719ea9e84ea8 4021 python optional pytables_3.9.2-2.dsc
 9b8b5d8886df3766be9d75dbb1e107b8 19420 python optional 
pytables_3.9.2-2.debian.tar.xz
 18c78220bc089290d640957a441597c3 12106 python optional 
pytables_3.9.2-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmYSZSkdHGFudG9uaW8u
dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBLpmg/8DzhnyYYpW4/Yf4ZV
ThiCt6qzjrxm9nl6cHJqWCHcYMMw+0rHEeCak5oRC78BSK3JdtUSI1O0iEU6ZtKb
ELMICd7ObZNA0SBxdqGqhuw7avGaDLQa5ZpdgFOxDMnSLWLIpqWcFdyNGnwdBQTN
E7ExbuJWmyRnIZUDq2tBGLiz8/O+vy2CdQYfm3jLjCC5DmEKJHsxG1ahJSC8wkEn
9w8HQFltIaTr2Je3egm5QyvcZLOONskeSCyRw+/SLEDKzSm6EMkuN8h3PuhR0QDJ
/jQIEWpNYLfMw5w90+w8Wen/NmO1MLh6QXA1KO6Yb1yRKLcYxB/Ohi2OiWE4aJP+
MlBFbY7lqCb59LLUhX7vzK8wFuDl8THdppvCTOGmB9wUI61IF5wYNaduFHHlQng5
rafoX4iQruzOXqg7FuhUXZ/BConHAQp71JQtx5MbNrsMxl4rU2XGsMcXdZ8HxLUO
Qzy4O3t1jnoV7J15wMdYWhXn6GIob16+V+1t0RSCwj5pOPzy7K840qxAgjb8MlDF
uOSeHB5nE1AU4lJx0N1m8+X4lgrYLckHefaiusBu45FJWHAkCEfW/k4IrOxZWLH4
TWnwkbuhKP1JCKtqOykYJWgbM3DI6FVCItdq4G3iEggbh9MF0oi/ld5gn6Obtb2R
hyHP4+HZK4LuCbivLjsHtXIz9Iw=
=GDtf
-----END PGP SIGNATURE-----

Attachment: pgprP3Mi9qr4s.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to