GH-132983: Remove zstd version check in the header file#133502
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Argh! |
Sorry, something went wrong.
|
cc @encukou @vstinner I'm confused by this error as the struct has existed with the members that we need since v0.7 (2016) of libzstd. Do you have any suggestions? A |
Sorry, something went wrong.
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Is it worth setting the |
Sorry, something went wrong.
|
IMO, the |
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
|
For reference, v1.4.4 and earlier guarded the symbol behind a define. It was stabilised (facebook/zstd#2111) in v1.4.5. |
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
free-threaded tsan failure is spurious: |
Sorry, something went wrong.
|
|
Sorry, something went wrong.
|
The buildbots don't seem to have scheduled |
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Same thing happened at #133497 (comment). Trying again worked. |
Sorry, something went wrong.
|
I'm still not seeing e.g. 'AMD64 RHEL8 LTO PR' in the pending checks list? |
Sorry, something went wrong.
|
buildbot/PPC64LE RHEL8 Refleaks PR failures are the leaks: |
Sorry, something went wrong.
|
|
Sorry, something went wrong.
|
Looking good so far, let's merge. Thanks both! |
Sorry, something went wrong.
f869190
into
python:main
May 6, 2025
We now have better version detection in autoconf, including detecting the most recent symbol we used. A hard version check in the header file can lead to spurious failures when using zstd versions between 1.1.3 (symbol added) and 1.4.5 (symbol stabilised).
xref:
_zstdbindings module #133027 (added the check)A