Path: csiph.com!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Andrey Rakhmatullin Newsgroups: linux.debian.maint.python Subject: Re: hashlib and sha384 Date: Sun, 31 May 2026 16:40:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Sun May 31 14:35:39 2026 Old-Return-Path: X-Amavis-Spam-Status: No, score=-10 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, SUBENDNUM=2] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bodDKlNHat2NDfU1" Content-Disposition: inline X-Mailing-List: archive/latest/23797 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/ahxHKXn4OfbG_L2P@belkar.wrar.name Approved: robomod@news.nic.it Lines: 56 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 31 May 2026 19:35:21 +0500 X-Original-Message-ID: X-Original-References: <2fed898a-280d-4f88-b6f8-c2bbbdb53e83@debian.org> Xref: csiph.com linux.debian.maint.python:17513 --bodDKlNHat2NDfU1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I can now repdocue and somewhat minimize it but I didn't find the reason. How to reproduce it:=20 1. Get python-xmlsec 1.3.17-2 (currently in incoming). 2. Add B-D: libxmlsec1-dev (=3D 1.3.11-1) (currently in experimental, so=20 adjust your build command accordingly). 3. Add B-D: python3-pytest-arraydiff. 4. Build. None of python3-pytest-arraydiff is actually needed for this, you can=20 replace all of /usr/lib/python3/dist-packages/pytest_arraydiff/plugin.py=20 with "import hashlib". And the failing test is test_init_shutdown_module in tests/test_xmlsec.py= =20 which does "xmlsec.init(); xmlsec.shutdown()" which (especially the=20 comment in it) sounds like it *could* be problematic, whatever that=20 actually does, if you want to use OpenSSL after it. So it looks like three things are required: libxmlsec1-dev from experimenta= l, importing hashlib early enough, and running that test. This doesn't answer= =20 what to do though. --=20 WBR, wRAR --bodDKlNHat2NDfU1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEtf6ieDcfC1EgtGkao+OWn23e7IYFAmocRyktFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEKPjlp9t3uyG AwIP/2BDJaAVoV4scMC2DaMFghBiyd2o3KeRy3h+t9h3f7M0eYFQJYStGhpiDEL6 gpfEzHqrDtvi4231/P2R+t5qwFrL93ZnINjwfumtT1x147qUdcvUjzpMEdufyg1V PsUH/ifKOxuq8wf4CIfhgstWakV4bsSDSxbOyrOfctOlgFXupwmt/8PYGWWwtBmN Ez/CEs5a4WrY7Ob2sSPzHAAZ6WRkoKoHc6HCEOYSNmcZbsxGd3j19UsAkQkHIzeK P+Mg7yGjImWYE/9zMoNABTsKus4kAGqAIoWCOZ7rhls/YfFGXTdfKJom0DQ1nDF+ WCM3iftQKybG3OhpCf3jSp4E2pdpiu0XQfcPlbaoM1/MENWDeCMWcyVnxFgWGTBO oh+VB/xMCY1fAMQDHYCjCWebK9P8JwJTrgAP/PSr151dFLkVkiKH4PoGj+AsOWM8 eKe15+AlSGNiPVGOQAuKYYwk6Ig5rAaXdf7aL9ZtK3Bm95lM8CjWet+n+eC1XZ+t htts8RKXOirIgpMbtZ34iN/5s3cN9Z/mPd2hhmUpqt6a4DDll3VTauXbDbjWelF1 8HPAkikSATclIo3gEqYuIPB/ZcyuoAEqFmB6+kqLIS4wZdvOHlp24VF/Xx8RLkuR fNtDuaBfU290N185aA3C0oxZqAr4a8GHNnq3+w4kTQzwibml =LgJS -----END PGP SIGNATURE----- --bodDKlNHat2NDfU1--