indygreg / python-zstandard

Python bindings to the Zstandard (zstd) compression library
BSD 3-Clause "New" or "Revised" License
512 stars 90 forks source link

Decompression suddenly failing on Github Workflow actions #195

Closed genzgd closed 1 year ago

genzgd commented 1 year ago

I maintain the Python library for the ClickHouse database, and just yesterday my tests in Github workflows started failing with the error zstd.ZstdError: zstd decompressor error: Unknown frame descriptor. These tests work on several other platforms I tested, so I'm wondering if there has been some change in the zstd library that Github uses for their runners.

Same failures on zstandard 0.21.0 and 0.19.0.

I wanted to try to bind to the OS library using --system-zstd, but I cannot figure out how to get that option to work with new versions of pip, which no longer have the --install-option

genzgd commented 1 year ago

This was a side effect of the urllib3 upgrade to 2.0.

I still don't know how to install with --system-zstd using newer pip versions though.