Skip to content

Update direct import list for keyring 23.11.0 and cryptography 38.0.4 on Linux

Matt Harbison requested to merge topic/default/ubuntu-2204-fix into branch/default

I hit this on Ubuntu 22.04 with Mercurial 6.3.1. No idea who is to blame. The list was determined using the usual technique[1], but I didn't bother trying to reduce the list.

Also of note is a bunch of Cryptodome modules not being loaded when demandimport is used. I wonder if it wouldn't be better to use hgdemandimport.deactivate() (a context manager that goes back to hg 3.5 in mid 2015) to wrap the import of keyring. The documentation in the py3 implementation explicitly says that disable() and then enable() may not work as expected on py3. OTOH, I tripped over a bug[2] in hg 6.3.1 doing this, so something might need to be monkeypatched.

[1] #76 (comment 154188) [2] mercurial-devel@48e38b179106

Merge request reports