#1148664 snmpsim: doest not work at all on Trixie

#1148664#5
Date:
2026-09-21 18:32:57 UTC
From:
To:

package tries to import "six.py"-esque 'pyasn1.compat' that was
dropped from more recent pyasn1 versions.

For Forky I will package the last upstream version.

For Trixie I will vendor these one-liners over 0.4.5-1.1

Greetings

Alexandre
--------------------

$ snmpsimd --help
Traceback (most recent call last):
  File "/usr/bin/snmpsimd", line 21, in <module>
    from pyasn1.compat.octets import str2octs
ModuleNotFoundError: No module named 'pyasn1.compat.octets'
$ snmpsim-datafile --help
Traceback (most recent call last):
  File "/usr/bin/snmpsim-datafile", line 14, in <module>
    from snmpsim.record.search.file import getRecord
  File "/usr/lib/python3/dist-packages/snmpsim/record/search/file.py", line 7, in <module>
    from pyasn1.compat.octets import str2octs
ModuleNotFoundError: No module named 'pyasn1.compat.octets'

#1148664#10
Date:
2026-09-21 19:37:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
snmpsim, 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 1148664@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated snmpsim 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 21 Sep 2026 21:15:21 +0200
Source: snmpsim
Architecture: source
Version: 1.2.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1087089 1148664
Changes:
 snmpsim (1.2.2-1) unstable; urgency=medium
 .
   * Import package into DPT with Vincent's consent
   * Switch to debhelper-compat 13
   * Use dh-sequence-python3
   * Add debian/salsa-ci.yml
   * Rewrite d/watch in v5 format
   * Bump Standards-Version to 4.7.4, drop Priority: tag
   * Rename files under debian/ for future debhelper 14 compatibility
   * Use secure URL in Homepage field & copyright format URI
   * Set upstream metadata fields: Archive, Bug-Database, Repository-Browse.
 .
   * New upstream version 1.2.2 (Closes: #1087089, #1148664)
   * Replace Setuptools build with Hatchling
   * Drop dependency on transitional python3-pysnmp4
Checksums-Sha1:
 30be542aac1c9a7f5a29f980e55dcd426317a6a8 2041 snmpsim_1.2.2-1.dsc
 01eddc4e734395e490aaeefa309f4c9b5f96a090 244988 snmpsim_1.2.2.orig.tar.gz
 e6e2d0b2602e299a17e25fdd275f7f20c72d6fbc 4040 snmpsim_1.2.2-1.debian.tar.xz
 44e3d7dd42c3999b9ac5d1fa5810baac263096c9 6335 snmpsim_1.2.2-1_amd64.buildinfo
Checksums-Sha256:
 6cca89b5ecedaa2e75b72e87f67c14a3034d069b667db060ab071ca372b3006b 2041 snmpsim_1.2.2-1.dsc
 392ff37e29f788ec54669d5bd7d091b0d7100fd865428a6dde904176ea68d2d9 244988 snmpsim_1.2.2.orig.tar.gz
 e3845c0154bb8331d738680b202fde260eececf703adb91c02f2b5ca6fde8fc8 4040 snmpsim_1.2.2-1.debian.tar.xz
 2be827e5da5bd8365a25812ec64955c0e6e9349545e0c05f396a60a3f4b6b9ef 6335 snmpsim_1.2.2-1_amd64.buildinfo
Files:
 e07530f3363f45a34fdd5ddfb51269c7 2041 net optional snmpsim_1.2.2-1.dsc
 63a64425e9db70e3fbc38750b829a9f2 244988 net optional snmpsim_1.2.2.orig.tar.gz
 8c08c4b990d8643cee0c5505656b2e04 4040 net optional snmpsim_1.2.2-1.debian.tar.xz
 8490a0c8ac87fd206f369a4af1b6a65d 6335 net optional snmpsim_1.2.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqxg3kRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBoqiw//WMiRphhDtdQ9AOVhEcSQAkr/jkDR+5Uh
Mf9cugDxLmaC8xSI20XHUf8OZhnWsQ6pWhpLb9BS2xLRL6Z7NDQPptxNPFWhzxZV
Y7evopzJNeBoy69P2S27gQ3HZ8uGpMBU6K8GQmgJv16pvL/8R9Ev2VhIYeOywOVM
95x2vE6G2DQXED10SBmQWY8NhmWuHcysWyfWt+Zpaf2xRwroIiuyUqUqPFcHTkhz
1InjdwFgp4xt7IAFY1Wcv8q56FO90zzw2qUViKxXzhIlRUTrlKXe5/Slry9qZHbF
zsbaGCPOt45eeeAMvNIdSk1HHfBb59EI+2zzcPYP5seoLtQ7ibG4Llj2+mh8fm8W
O9MTkoBAAifBQCON7ql1aJWoSkIcMYZcGFxaXjPDspGkeD6IUH4efy4CfkKMh6hm
hHBivyDYOtoCUWgb98CkLl75LGS63rW1Rsn/lvkvIAq7ZN1Dcy7qI83W7IbSChix
HLn+HTytfxvAc7lNLOO8cN6KMPjt1YKiaCxVW2yRvYihwFG89CcW/YwfCcW2iMeg
zxW/EwRvUDKKjWLeNuwTuLo9sM0A9XDNH5BH0R4gxb+7aFlvtY9He6DGXxTx7qUi
unV8g7ujZH2ojBdR+l1dCo58M2C+JORhdgUjcWTxi1O4DY/GenThiPbxXul5ZTCn
jLeMRbZYBno=
=QfUG
-----END PGP SIGNATURE-----