New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/49606#issuecomment-2028488184 Comment: Thanks @unspecd I'm a bit unsure about the vendored zstd. Have you tried it with the system 1.5.6? What do you think about the following patch: ``` --- a/c-ext/backend_c.c 2023-11-01 02:58:34.000000000 -0300 +++ b/c-ext/backend_c.c 2024-03-29 21:32:40.694372789 -0300 @@ -152,7 +152,7 @@ PyObject *features = NULL; PyObject *feature = NULL; unsigned zstd_ver_no = ZSTD_versionNumber(); - unsigned our_hardcoded_version = 10505; + unsigned our_hardcoded_version = ZSTD_VERSION_NUMBER; if (ZSTD_VERSION_NUMBER != our_hardcoded_version || zstd_ver_no != our_hardcoded_version) { PyErr_Format( ``` This eliminates the hardcoded version; it will still check that the build-time version matches the runtime version, so if zstd is updated then python3-zstandard will need to be rebuilt (and @leahneukirchen placed a note in zstd template to that effect).