Skip to content

fix zstd decompression for python 3.13+ stdlib compression.zstd#821

Open
furlongm wants to merge 3 commits intomainfrom
zstd-compat
Open

fix zstd decompression for python 3.13+ stdlib compression.zstd#821
furlongm wants to merge 3 commits intomainfrom
zstd-compat

Conversation

@furlongm
Copy link
Copy Markdown
Owner

@furlongm furlongm commented May 1, 2026

compression.zstd uses decompress() directly, while python-zstandard uses ZstdDecompressor().stream_reader()

Use hasattr to pick the right api at call time.

fixes: #820

furlongm added 3 commits May 1, 2026 00:32
compression.zstd uses decompress() directly, while python-zstandard
uses ZstdDecompressor().stream_reader(). use hasattr to pick the
right api at call time.
EPEL 10.1 has errata with synopsis text exceeding 255 characters,
causing psycopg2.errors.StringDataRightTruncation crash in
get_or_create_erratum(). TextField removes the length constraint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue when processing RHEL10.1 EPEL mirrors (and some others?)

1 participant