Your message dated Sat, 02 May 2020 14:39:35 +0000
with message-id <[email protected]>
and subject line Bug#958114: fixed in libsvm 3.24+ds-4
has caused the Debian Bug report #958114,
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.)


-- 
958114: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958114
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: libsvm
Source-Version: 3.24+ds-4
Done: Christian Kastner <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libsvm, 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 libsvm 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:12:38 +0200
Source: libsvm
Architecture: source
Version: 3.24+ds-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Christian Kastner <[email protected]>
Closes: 958114
Changes:
 libsvm (3.24+ds-4) unstable; urgency=medium
 .
   * Add autopkgtest for Python package
   * Add patch Merge-commonutil.py-into-svmutil.py.patch (Closes: #958114)
     - Add python3-libsvm.README.Debian documenting the merge
Checksums-Sha1:
 0b770a47d7a82df52b21770d61aba9d3233ac1f1 2348 libsvm_3.24+ds-4.dsc
 180f715acab4c4aa8ed501d01790b385eef630dc 16912 libsvm_3.24+ds-4.debian.tar.xz
 ce9dc8a4552be075e5573b33f280ac76ff08d014 5802 libsvm_3.24+ds-4_source.buildinfo
Checksums-Sha256:
 7c9b9f09f729201e5bfe4504b0ca9cef3ad0c091750430562fc9d3a3ec69322d 2348 
libsvm_3.24+ds-4.dsc
 826bd85512e3df2c15dc6c644c73d2c6ff2317b58df24790263940d68a669cf0 16912 
libsvm_3.24+ds-4.debian.tar.xz
 1b6b58744fecbb167cf69f5cfe4f8f6de2e505de2a8842583345fdf065f3ae81 5802 
libsvm_3.24+ds-4_source.buildinfo
Files:
 bf8ac692aa3f21794a766a89b5bacc3b 2348 devel optional libsvm_3.24+ds-4.dsc
 3686bf36649aad5bc8ad4d8baaf75433 16912 devel optional 
libsvm_3.24+ds-4.debian.tar.xz
 ea3803b2a3c1bf034acca6ce48849a7d 5802 devel optional 
libsvm_3.24+ds-4_source.buildinfo

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

iQIzBAEBCgAdFiEEQZ9+mkfDq5UZ8bCjOZU6N95Os2sFAl6tfDUACgkQOZU6N95O
s2vgcg/+IjLrcyUEX1FMCxiYSn739UM6RYHbK3/Ls4jeDxRpB0OQj1vRDuiMODRL
aDx1PSRHQGu+QXoiDbaqMo3upYSVYd4pR+nJisnob4f2gw2Kdk3KiiaGikBRajnj
I6eQYJgzG9LOHHKE2SHTYFNEmX4DCv1OvGWJhLd7wYlyIyr0FmHhl832GSBZGpSD
AZBQz2eQWh6+oOmsFvXKcvHzrAxWyNbNDCH4v47hTs2NYsaDJ3MCS2eavwi4//y7
/d3lnKskwinlS69leZVpfe7VYbWFD8Oe0YOHSx/ncmbeZ+Mh5yRdzTv5aNaM95n3
vkybZtmAxus4lq3ijkrljYXdYIF6DWAnOJdZag0a9HbKeHwa96THZzOh5ZrP9nWC
WLyPQlCmZ/NP7VXVx6PXUJ5GQyMu0EssLiFwZFuKfMgvISLZ3Jx/oEwtoPUMupgp
cI4oHhIN2BQjUvqXwsGViuiubH2EM55vSLXBqTj9Y3W/iSXxIvoeGiTeCsv/kMsM
MXKVnYBX+J0DqhoyNfvRCt+cN28Tw1NmbUHUrSuc3evNtvGTV77HAxptuJJq19Lh
J/+J35C2Mt3PtXTxfqyTVAViGYeL+V4Gw29hbNN5i6lzh0OFiYKwbGwxQI9RBEqZ
xDAxWR1jfjOyMEifolgM5xYdgjJA1ptdBJBcaksy0la2NdTO5XY=
=FQDC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to