Your message dated Sat, 02 May 2020 13:18:31 +0000
with message-id <[email protected]>
and subject line Bug#958641: fixed in liblinear 2.3.0+dfsg-4
has caused the Debian Bug report #958641,
regarding can not use because commonutil can not be imported
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.)


-- 
958641: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958641
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-libsvm
Version: 3.24+ds-3
Severity: important

Hi!

The libsvm package has changed interface and can not be used anymore. With the 
python3-libsvm package from sid the following happens:

python3 -c 'import svmutil'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/svmutil.py", line 8, in <module>
    from commonutil import *
ModuleNotFoundError: No module named 'commonutil'

I think that python3-libsvm should use the same Python package structure as 
upstream. The Debian package pushes svm.py and svmutil.py directly into 
/usr/lib/python3/dist-packages . In the Debian package the file commonutil.py 
is 
missing (it is available in the source package):

$ ls libsvm-3.24+ds/python
Makefile  README  commonutil.py  svm.py  svmutil.py

Putting commonutil.py directly under /usr/lib/python3/dist-packages would be 
a bad idea, I think, because of possible name clashes. Upstream is actually 
creating a libsvm namespace. When installing libsvm using pip, the package 
layout is the following:

libsvm
├── __init__.py
├── commonutil.py
├── svm.py
└── svmutil.py

As it stands now, I think the python3-libsvm package is unusable...

Thanks for your work!
Tiziano


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

Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FORCED_MODULE, TAINT_USER, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-libsvm depends on:
ii  libsvm3  3.24+ds-3
ii  python3  3.8.2-3

python3-libsvm recommends no packages.

python3-libsvm suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: liblinear
Source-Version: 2.3.0+dfsg-4
Done: Christian Kastner <[email protected]>

We believe that the bug you reported is fixed in the latest version of
liblinear, 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.
Christian Kastner <[email protected]> (supplier of updated liblinear 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: Sat, 02 May 2020 10:10:18 +0200
Source: liblinear
Architecture: source
Version: 2.3.0+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Christian Kastner <[email protected]>
Closes: 958641
Changes:
 liblinear (2.3.0+dfsg-4) unstable; urgency=medium
 .
   * Add autopkgtest for Python package
   * Add patch Merge-commonutil.py-into-liblinearutil.py.patch (Closes: #958641)
     - Add python3-liblinear.README.Debian documenting the merge
   * Bump Standards-Version to 4.5.0 (no changes needed)
Checksums-Sha1:
 b707e374becfd16c8ab7b6e8769705657ca42768 2297 liblinear_2.3.0+dfsg-4.dsc
 26c000cd171ccc76259347dca9e2abc77cd2e380 16632 
liblinear_2.3.0+dfsg-4.debian.tar.xz
 84e34468b354e9a3c73a9619be4bab59cc6959f6 5365 
liblinear_2.3.0+dfsg-4_source.buildinfo
Checksums-Sha256:
 4ff47f2b4b100153bc5848569b197db4f95e897f7f9fabf9f35a8c12920df75c 2297 
liblinear_2.3.0+dfsg-4.dsc
 80e51b7897ea4ea891670fda564dc6f8ae0cf5d0507dc8c80b4a2f0a37a2ef10 16632 
liblinear_2.3.0+dfsg-4.debian.tar.xz
 f0831dca971d918c75778828836d3cbdba20de506114c600796dd59121dd4048 5365 
liblinear_2.3.0+dfsg-4_source.buildinfo
Files:
 343b33020fd412ee61988111a03fbcd1 2297 libs optional liblinear_2.3.0+dfsg-4.dsc
 a214d3efb478695c455d2ab117b855ee 16632 libs optional 
liblinear_2.3.0+dfsg-4.debian.tar.xz
 63e736c64c0923bdd7dc2150df3d704c 5365 libs optional 
liblinear_2.3.0+dfsg-4_source.buildinfo

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

iQIzBAEBCgAdFiEEQZ9+mkfDq5UZ8bCjOZU6N95Os2sFAl6tbQ4ACgkQOZU6N95O
s2tF/w//WEhmD66Gmy/8azsMYcr+7+gaObJ/W2+293x7I1VEPJoyoJaoLzYFvPUF
1H0YnpkUArIox30NCFDXHLK7Bwmese4j7I1tYRlvPuNGbRMa/mpG4AJR+RVMzsSL
LP7qbTH3xw9mcf7K4U+rkdtYqd7f9rd1yUqHNdTf+UTwwD3fCuBiIeLZPDgbjrW7
bIumzh4CUScY4eiKuXHOwzU25uf7aelvIF2rKQda6Zm7UA2LmCmakYhjSeyVts0g
m+wdZLuK40NF4zR+5DEzj9LkDdzYvWYg9/9n4zPacV8DkpMXKyISmDa2qJHMSToZ
tRKyXAWZRd6jRwmBCgZb4OKEHT2ga0lrjvBLEuU4BwTIfcdcUtaYiNsIRxbUVoxC
LLoibSHk+rhNEiARclCyIzTpIMf3l7hkpnH0nQgx4YpFolYSTiMQu22M0t2Hicl8
G0GDvIugtl2JypCS0zUO+35uplV6Dpdk2o+GNGktc0RSHijYckMZmlf/ZSkpkvqo
cvsLWxbAr+5ky64WrKIqbUz9cn8t3dDkMml/lZF1LkaSyn04rpSdCq20S+hT550z
XjjM4LzIumDQl0H11l8AzO9k94XuclIQOPGhUakCOJs/uXAo6PS6z5nbDZNlcxKC
hh6DAYVyCIuKMNpdDTEUXAEpIvVC68YWPd+u5aO9barNH6ydcWU=
=i9zd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to