Your message dated Mon, 17 Jun 2024 17:50:01 +0000
with message-id <[email protected]>
and subject line Bug#1073362: fixed in python-zstandard 0.22.0+git20240526-1
has caused the Debian Bug report #1073362,
regarding python-zstandard: FTBFS: ImportError: zstd C API versions mismatch; 
Python bindings were not compiled/linked against expected zstd version (10506 
returned by the lib, 10506 hardcoded in zstd headers, 10505 hardcoded in the 
cext)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1073362: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073362
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-zstandard
Version: 0.22.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd docs; LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build -bhtml . _build/html    
> Running Sphinx v7.2.6
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 15 source files that are out of date
> updating environment: [new config] 15 added, 0 changed, 0 removed
> reading sources... [  7%] api_usage
> reading sources... [ 13%] buffer
> reading sources... [ 20%] compression_parameters
> reading sources... [ 27%] compressor
> reading sources... [ 33%] concepts
> reading sources... [ 40%] contributing
> reading sources... [ 47%] decompressor
> reading sources... [ 53%] dictionaries
> reading sources... [ 60%] index
> reading sources... [ 67%] installing
> reading sources... [ 73%] misc_apis
> reading sources... [ 80%] missing_features
> reading sources... [ 87%] multithreaded
> reading sources... [ 93%] news
> reading sources... [100%] projectinfo
> 
> WARNING: autodoc: failed to import class 'BufferSegment' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'BufferSegments' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'BufferWithSegments' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'BufferWithSegmentsCollection' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionParameters' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressor' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionWriter' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionReader' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionObj' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionChunker' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdDecompressor' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdDecompressionWriter' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdDecompressionReader' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdDecompressionObj' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionDict' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'train_dictionary' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'get_frame_parameters' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'frame_header_size' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'frame_content_size' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'FrameParameters' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 
> 'estimate_decompression_context_size' from module 'zstandard'; the following 
> exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'open' from module 'zstandard'; 
> the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'compress' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'decompress' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... copying static files... done
> copying extra files... done
> done
> writing output... [  7%] api_usage
> writing output... [ 13%] buffer
> writing output... [ 20%] compression_parameters
> writing output... [ 27%] compressor
> writing output... [ 33%] concepts
> writing output... [ 40%] contributing
> writing output... [ 47%] decompressor
> writing output... [ 53%] dictionaries
> writing output... [ 60%] index
> writing output... [ 67%] installing
> writing output... [ 73%] misc_apis
> writing output... [ 80%] missing_features
> writing output... [ 87%] multithreaded
> writing output... [ 93%] news
> writing output... [100%] projectinfo
> 
> generating indices... genindex done
> writing additional pages... search done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 24 warnings.
> 
> The HTML pages are in _build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py test 
> /<<PKGBUILDDIR>>/setup.py:37: DeprecationWarning: distutils Version classes 
> are deprecated. Use packaging.version instead.
>   cffi_version = LooseVersion(cffi.__version__)
> /<<PKGBUILDDIR>>/setup.py:38: DeprecationWarning: distutils Version classes 
> are deprecated. Use packaging.version instead.
>   if cffi_version < LooseVersion(MINIMUM_CFFI_VERSION):
> not modified: 'build/zstandard/_cffi.c'
> generating build/zstandard/_cffi.c
> (already up-to-date)
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> creating zstandard.egg-info
> writing zstandard.egg-info/PKG-INFO
> writing dependency_links to zstandard.egg-info/dependency_links.txt
> writing requirements to zstandard.egg-info/requires.txt
> writing top-level names to zstandard.egg-info/top_level.txt
> writing manifest file 'zstandard.egg-info/SOURCES.txt'
> reading manifest file 'zstandard.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'zstandard.egg-info/SOURCES.txt'
> running build_ext
> building 'zstandard.backend_c' extension
> x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 
> -Wall -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ic-ext -I/usr/include/python3.12 -c 
> c-ext/backend_c.c -o build/temp.linux-x86_64-cpython-312/c-ext/backend_c.o 
> -DZSTD_MULTITHREAD -I/usr/include
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
> -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-cpython-312/c-ext/backend_c.o 
> -L/usr/lib/x86_64-linux-gnu -lzstd -o 
> /<<PKGBUILDDIR>>/zstandard/backend_c.cpython-312-x86_64-linux-gnu.so
> building 'zstandard._cffi' extension
> x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 
> -Wall -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/zstd 
> -I/usr/include/python3.12 -c build/zstandard/_cffi.c -o 
> build/temp.linux-x86_64-cpython-312/build/zstandard/_cffi.o
> x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 
> -Wall -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/zstd 
> -I/usr/include/python3.12 -c zstd/zstd.c -o 
> build/temp.linux-x86_64-cpython-312/zstd/zstd.o
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
> -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-cpython-312/build/zstandard/_cffi.o 
> build/temp.linux-x86_64-cpython-312/zstd/zstd.o -L/usr/lib/x86_64-linux-gnu 
> -o /<<PKGBUILDDIR>>/zstandard/_cffi.cpython-312-x86_64-linux-gnu.so
> test_compressor_copy_stream 
> (unittest.loader._FailedTest.test_compressor_copy_stream) ... ERROR
> test_decompressor_copy_stream 
> (unittest.loader._FailedTest.test_decompressor_copy_stream) ... ERROR
> test_data_structures (unittest.loader._FailedTest.test_data_structures) ... 
> ERROR
> test_decompressor_content_dict_chain 
> (unittest.loader._FailedTest.test_decompressor_content_dict_chain) ... ERROR
> test_estimate_sizes (unittest.loader._FailedTest.test_estimate_sizes) ... 
> ERROR
> test_compressor_compressobj 
> (unittest.loader._FailedTest.test_compressor_compressobj) ... ERROR
> test_decompressor_stream_writer 
> (unittest.loader._FailedTest.test_decompressor_stream_writer) ... ERROR
> test_decompressor_fuzzing 
> (unittest.loader._FailedTest.test_decompressor_fuzzing) ... ERROR
> test_module_attributes (unittest.loader._FailedTest.test_module_attributes) 
> ... ERROR
> test_decompressor_read_to_iter 
> (unittest.loader._FailedTest.test_decompressor_read_to_iter) ... ERROR
> test_decompressor_decompress 
> (unittest.loader._FailedTest.test_decompressor_decompress) ... ERROR
> test_compressor_compress 
> (unittest.loader._FailedTest.test_compressor_compress) ... ERROR
> test_compressor_multi_compress_to_buffer 
> (unittest.loader._FailedTest.test_compressor_multi_compress_to_buffer) ... 
> ERROR
> test_compressor_stream_reader 
> (unittest.loader._FailedTest.test_compressor_stream_reader) ... ERROR
> test_decompressor (unittest.loader._FailedTest.test_decompressor) ... ERROR
> test_compressor (unittest.loader._FailedTest.test_compressor) ... ERROR
> test_compressor_fuzzing (unittest.loader._FailedTest.test_compressor_fuzzing) 
> ... ERROR
> test_decompressor_decompressobj 
> (unittest.loader._FailedTest.test_decompressor_decompressobj) ... ERROR
> test_open (unittest.loader._FailedTest.test_open) ... ERROR
> test_buffer_util (unittest.loader._FailedTest.test_buffer_util) ... ERROR
> test_compressor_chunker (unittest.loader._FailedTest.test_compressor_chunker) 
> ... ERROR
> test_compressor_stream_writer 
> (unittest.loader._FailedTest.test_compressor_stream_writer) ... ERROR
> test_decompressor_stream_reader 
> (unittest.loader._FailedTest.test_decompressor_stream_reader) ... ERROR
> test_compressor_read_to_iter 
> (unittest.loader._FailedTest.test_compressor_read_to_iter) ... ERROR
> test_utility (unittest.loader._FailedTest.test_utility) ... ERROR
> test_train_dictionary (unittest.loader._FailedTest.test_train_dictionary) ... 
> ERROR
> test_data_structures_fuzzing 
> (unittest.loader._FailedTest.test_data_structures_fuzzing) ... ERROR
> test_decompressor_multi_decompress_to_buffer 
> (unittest.loader._FailedTest.test_decompressor_multi_decompress_to_buffer) 
> ... ERROR
> 
> ======================================================================
> ERROR: test_compressor_copy_stream 
> (unittest.loader._FailedTest.test_compressor_copy_stream)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_copy_stream
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_copy_stream.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_copy_stream 
> (unittest.loader._FailedTest.test_decompressor_copy_stream)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_copy_stream
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_copy_stream.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_data_structures (unittest.loader._FailedTest.test_data_structures)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_data_structures
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_data_structures.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_content_dict_chain 
> (unittest.loader._FailedTest.test_decompressor_content_dict_chain)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_decompressor_content_dict_chain
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_content_dict_chain.py", line 
> 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_estimate_sizes (unittest.loader._FailedTest.test_estimate_sizes)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_estimate_sizes
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_estimate_sizes.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_compressobj 
> (unittest.loader._FailedTest.test_compressor_compressobj)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_compressobj
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_compressobj.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_stream_writer 
> (unittest.loader._FailedTest.test_decompressor_stream_writer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_stream_writer
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_stream_writer.py", line 7, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_fuzzing 
> (unittest.loader._FailedTest.test_decompressor_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_fuzzing.py", line 11, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_module_attributes 
> (unittest.loader._FailedTest.test_module_attributes)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_module_attributes
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_module_attributes.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_read_to_iter 
> (unittest.loader._FailedTest.test_decompressor_read_to_iter)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_read_to_iter
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_read_to_iter.py", line 7, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_decompress 
> (unittest.loader._FailedTest.test_decompressor_decompress)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_decompress
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_decompress.py", line 3, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_compress 
> (unittest.loader._FailedTest.test_compressor_compress)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_compress
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_compress.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_multi_compress_to_buffer 
> (unittest.loader._FailedTest.test_compressor_multi_compress_to_buffer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_compressor_multi_compress_to_buffer
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_multi_compress_to_buffer.py", 
> line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_stream_reader 
> (unittest.loader._FailedTest.test_compressor_stream_reader)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_stream_reader
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_stream_reader.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor (unittest.loader._FailedTest.test_decompressor)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor (unittest.loader._FailedTest.test_compressor)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_fuzzing 
> (unittest.loader._FailedTest.test_compressor_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_fuzzing.py", line 11, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_decompressobj 
> (unittest.loader._FailedTest.test_decompressor_decompressobj)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_decompressobj
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_decompressobj.py", line 3, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_open (unittest.loader._FailedTest.test_open)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_open
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_open.py", line 6, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_buffer_util (unittest.loader._FailedTest.test_buffer_util)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_buffer_util
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_buffer_util.py", line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_chunker 
> (unittest.loader._FailedTest.test_compressor_chunker)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_chunker
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_chunker.py", line 3, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_stream_writer 
> (unittest.loader._FailedTest.test_compressor_stream_writer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_stream_writer
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_stream_writer.py", line 8, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_stream_reader 
> (unittest.loader._FailedTest.test_decompressor_stream_reader)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_stream_reader
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_stream_reader.py", line 5, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_read_to_iter 
> (unittest.loader._FailedTest.test_compressor_read_to_iter)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_read_to_iter
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_read_to_iter.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_utility (unittest.loader._FailedTest.test_utility)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_utility
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_utility.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_train_dictionary 
> (unittest.loader._FailedTest.test_train_dictionary)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_train_dictionary
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_train_dictionary.py", line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_data_structures_fuzzing 
> (unittest.loader._FailedTest.test_data_structures_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_data_structures_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_data_structures_fuzzing.py", line 10, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_multi_decompress_to_buffer 
> (unittest.loader._FailedTest.test_decompressor_multi_decompress_to_buffer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_decompressor_multi_decompress_to_buffer
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/tests/test_decompressor_multi_decompress_to_buffer.py", 
> line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ----------------------------------------------------------------------
> Ran 28 tests in 0.002s
> 
> FAILED (errors=28)
> Test failed: <unittest.runner.TextTestResult run=28 errors=28 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=28 errors=28 
> failures=0>
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: 
> python3.12 setup.py test 
> I: pybuild base:311: python3.11 setup.py test 
> /<<PKGBUILDDIR>>/setup.py:37: DeprecationWarning: distutils Version classes 
> are deprecated. Use packaging.version instead.
>   cffi_version = LooseVersion(cffi.__version__)
> /<<PKGBUILDDIR>>/setup.py:38: DeprecationWarning: distutils Version classes 
> are deprecated. Use packaging.version instead.
>   if cffi_version < LooseVersion(MINIMUM_CFFI_VERSION):
> not modified: 'build/zstandard/_cffi.c'
> generating build/zstandard/_cffi.c
> (already up-to-date)
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing zstandard.egg-info/PKG-INFO
> writing dependency_links to zstandard.egg-info/dependency_links.txt
> writing requirements to zstandard.egg-info/requires.txt
> writing top-level names to zstandard.egg-info/top_level.txt
> reading manifest file 'zstandard.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'zstandard.egg-info/SOURCES.txt'
> running build_ext
> building 'zstandard.backend_c' extension
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g 
> -Werror=implicit-function-declaration -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ic-ext -I/usr/include/python3.11 -c 
> c-ext/backend_c.c -o build/temp.linux-x86_64-cpython-311/c-ext/backend_c.o 
> -DZSTD_MULTITHREAD -I/usr/include
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro 
> -Wl,-z,now -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-cpython-311/c-ext/backend_c.o 
> -L/usr/lib/x86_64-linux-gnu -lzstd -o 
> /<<PKGBUILDDIR>>/zstandard/backend_c.cpython-311-x86_64-linux-gnu.so
> building 'zstandard._cffi' extension
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g 
> -Werror=implicit-function-declaration -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/zstd 
> -I/usr/include/python3.11 -c build/zstandard/_cffi.c -o 
> build/temp.linux-x86_64-cpython-311/build/zstandard/_cffi.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g 
> -Werror=implicit-function-declaration -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/zstd 
> -I/usr/include/python3.11 -c zstd/zstd.c -o 
> build/temp.linux-x86_64-cpython-311/zstd/zstd.o
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro 
> -Wl,-z,now -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-cpython-311/build/zstandard/_cffi.o 
> build/temp.linux-x86_64-cpython-311/zstd/zstd.o -L/usr/lib/x86_64-linux-gnu 
> -o /<<PKGBUILDDIR>>/zstandard/_cffi.cpython-311-x86_64-linux-gnu.so
> test_compressor_copy_stream 
> (unittest.loader._FailedTest.test_compressor_copy_stream) ... ERROR
> test_decompressor_copy_stream 
> (unittest.loader._FailedTest.test_decompressor_copy_stream) ... ERROR
> test_data_structures (unittest.loader._FailedTest.test_data_structures) ... 
> ERROR
> test_decompressor_content_dict_chain 
> (unittest.loader._FailedTest.test_decompressor_content_dict_chain) ... ERROR
> test_estimate_sizes (unittest.loader._FailedTest.test_estimate_sizes) ... 
> ERROR
> test_compressor_compressobj 
> (unittest.loader._FailedTest.test_compressor_compressobj) ... ERROR
> test_decompressor_stream_writer 
> (unittest.loader._FailedTest.test_decompressor_stream_writer) ... ERROR
> test_decompressor_fuzzing 
> (unittest.loader._FailedTest.test_decompressor_fuzzing) ... ERROR
> test_module_attributes (unittest.loader._FailedTest.test_module_attributes) 
> ... ERROR
> test_decompressor_read_to_iter 
> (unittest.loader._FailedTest.test_decompressor_read_to_iter) ... ERROR
> test_decompressor_decompress 
> (unittest.loader._FailedTest.test_decompressor_decompress) ... ERROR
> test_compressor_compress 
> (unittest.loader._FailedTest.test_compressor_compress) ... ERROR
> test_compressor_multi_compress_to_buffer 
> (unittest.loader._FailedTest.test_compressor_multi_compress_to_buffer) ... 
> ERROR
> test_compressor_stream_reader 
> (unittest.loader._FailedTest.test_compressor_stream_reader) ... ERROR
> test_decompressor (unittest.loader._FailedTest.test_decompressor) ... ERROR
> test_compressor (unittest.loader._FailedTest.test_compressor) ... ERROR
> test_compressor_fuzzing (unittest.loader._FailedTest.test_compressor_fuzzing) 
> ... ERROR
> test_decompressor_decompressobj 
> (unittest.loader._FailedTest.test_decompressor_decompressobj) ... ERROR
> test_open (unittest.loader._FailedTest.test_open) ... ERROR
> test_buffer_util (unittest.loader._FailedTest.test_buffer_util) ... ERROR
> test_compressor_chunker (unittest.loader._FailedTest.test_compressor_chunker) 
> ... ERROR
> test_compressor_stream_writer 
> (unittest.loader._FailedTest.test_compressor_stream_writer) ... ERROR
> test_decompressor_stream_reader 
> (unittest.loader._FailedTest.test_decompressor_stream_reader) ... ERROR
> test_compressor_read_to_iter 
> (unittest.loader._FailedTest.test_compressor_read_to_iter) ... ERROR
> test_utility (unittest.loader._FailedTest.test_utility) ... ERROR
> test_train_dictionary (unittest.loader._FailedTest.test_train_dictionary) ... 
> ERROR
> test_data_structures_fuzzing 
> (unittest.loader._FailedTest.test_data_structures_fuzzing) ... ERROR
> test_decompressor_multi_decompress_to_buffer 
> (unittest.loader._FailedTest.test_decompressor_multi_decompress_to_buffer) 
> ... ERROR
> 
> ======================================================================
> ERROR: test_compressor_copy_stream 
> (unittest.loader._FailedTest.test_compressor_copy_stream)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_copy_stream
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_copy_stream.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_copy_stream 
> (unittest.loader._FailedTest.test_decompressor_copy_stream)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_copy_stream
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_copy_stream.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_data_structures (unittest.loader._FailedTest.test_data_structures)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_data_structures
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_data_structures.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_content_dict_chain 
> (unittest.loader._FailedTest.test_decompressor_content_dict_chain)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_decompressor_content_dict_chain
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_content_dict_chain.py", line 
> 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_estimate_sizes (unittest.loader._FailedTest.test_estimate_sizes)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_estimate_sizes
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_estimate_sizes.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_compressobj 
> (unittest.loader._FailedTest.test_compressor_compressobj)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_compressobj
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_compressobj.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_stream_writer 
> (unittest.loader._FailedTest.test_decompressor_stream_writer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_stream_writer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_stream_writer.py", line 7, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_fuzzing 
> (unittest.loader._FailedTest.test_decompressor_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_fuzzing.py", line 11, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_module_attributes 
> (unittest.loader._FailedTest.test_module_attributes)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_module_attributes
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_module_attributes.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_read_to_iter 
> (unittest.loader._FailedTest.test_decompressor_read_to_iter)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_read_to_iter
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_read_to_iter.py", line 7, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_decompress 
> (unittest.loader._FailedTest.test_decompressor_decompress)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_decompress
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_decompress.py", line 3, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_compress 
> (unittest.loader._FailedTest.test_compressor_compress)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_compress
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_compress.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_multi_compress_to_buffer 
> (unittest.loader._FailedTest.test_compressor_multi_compress_to_buffer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_compressor_multi_compress_to_buffer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_multi_compress_to_buffer.py", 
> line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_stream_reader 
> (unittest.loader._FailedTest.test_compressor_stream_reader)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_stream_reader
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_stream_reader.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor (unittest.loader._FailedTest.test_decompressor)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor (unittest.loader._FailedTest.test_compressor)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_fuzzing 
> (unittest.loader._FailedTest.test_compressor_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_fuzzing.py", line 11, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_decompressobj 
> (unittest.loader._FailedTest.test_decompressor_decompressobj)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_decompressobj
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_decompressobj.py", line 3, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_open (unittest.loader._FailedTest.test_open)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_open
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_open.py", line 6, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_buffer_util (unittest.loader._FailedTest.test_buffer_util)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_buffer_util
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_buffer_util.py", line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_chunker 
> (unittest.loader._FailedTest.test_compressor_chunker)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_chunker
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_chunker.py", line 3, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_stream_writer 
> (unittest.loader._FailedTest.test_compressor_stream_writer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_stream_writer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_stream_writer.py", line 8, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_stream_reader 
> (unittest.loader._FailedTest.test_decompressor_stream_reader)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_stream_reader
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_stream_reader.py", line 5, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_read_to_iter 
> (unittest.loader._FailedTest.test_compressor_read_to_iter)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_read_to_iter
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_read_to_iter.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_utility (unittest.loader._FailedTest.test_utility)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_utility
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_utility.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_train_dictionary 
> (unittest.loader._FailedTest.test_train_dictionary)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_train_dictionary
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_train_dictionary.py", line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_data_structures_fuzzing 
> (unittest.loader._FailedTest.test_data_structures_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_data_structures_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_data_structures_fuzzing.py", line 10, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_multi_decompress_to_buffer 
> (unittest.loader._FailedTest.test_decompressor_multi_decompress_to_buffer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_decompressor_multi_decompress_to_buffer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 162, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/tests/test_decompressor_multi_decompress_to_buffer.py", 
> line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10506 returned by the lib, 
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
> 
> 
> ----------------------------------------------------------------------
> Ran 28 tests in 0.002s
> 
> FAILED (errors=28)
> Test failed: <unittest.runner.TextTestResult run=28 errors=28 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=28 errors=28 
> failures=0>
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: 
> python3.11 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/python-zstandard_0.22.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: python-zstandard
Source-Version: 0.22.0+git20240526-1
Done: Boyuan Yang <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-zstandard, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <[email protected]> (supplier of updated python-zstandard package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 17 Jun 2024 13:15:06 -0400
Source: python-zstandard
Architecture: source
Version: 0.22.0+git20240526-1
Distribution: unstable
Urgency: high
Maintainer: Debian Python Team <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Closes: 1073362
Changes:
 python-zstandard (0.22.0+git20240526-1) unstable; urgency=high
 .
   * New upstream snapshot.
     + Add compatibility with libzstd 1.5.6. (Closes: #1073362)
   * debian/control: Update build-dependency and dependency version
     requirement according to upstream instruction.
Checksums-Sha1:
 3f1a153e4ccafe50083187feea93b9d211bc7560 2413 
python-zstandard_0.22.0+git20240526-1.dsc
 7a48b46dd7d8a27bbfae1b04067dc67d0f8b58bd 732356 
python-zstandard_0.22.0+git20240526.orig.tar.gz
 832d85403ace8d939ea908cb9de97916b58ca0c7 5056 
python-zstandard_0.22.0+git20240526-1.debian.tar.xz
 9efa109176a99d5a1c42561411b718c4f0468f69 8935 
python-zstandard_0.22.0+git20240526-1_amd64.buildinfo
Checksums-Sha256:
 c48582f29cc2ee9186fde74b87f5631bd2b68e866fdc6795dc8247cd141e9eb3 2413 
python-zstandard_0.22.0+git20240526-1.dsc
 589e086a7de5b1074d8dd75289fb7590ed1d1892c277bf3d9ef99adf42f72c39 732356 
python-zstandard_0.22.0+git20240526.orig.tar.gz
 bba6433da45accd807625516d12b333d487bba6265e696854813cea9268c21ea 5056 
python-zstandard_0.22.0+git20240526-1.debian.tar.xz
 edd56824e39ee3f5fc3a6539ded6110b56f89a0e77292808860c9623dc1a9687 8935 
python-zstandard_0.22.0+git20240526-1_amd64.buildinfo
Files:
 bf8bc9088ae95f2bb33856683e8bbf18 2413 python optional 
python-zstandard_0.22.0+git20240526-1.dsc
 fa9fe7c5406516382d371697d5418000 732356 python optional 
python-zstandard_0.22.0+git20240526.orig.tar.gz
 85919259a333e7c972c64d941a5dbed5 5056 python optional 
python-zstandard_0.22.0+git20240526-1.debian.tar.xz
 69bf8d85e613f418f090e9ee7d94fc05 8935 python optional 
python-zstandard_0.22.0+git20240526-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmZwc1IACgkQwpPntGGC
Ws50KRAAsoYlR4nol73EzSSDElv3fCWJIiqKLrwjMk2O9C7m3zaZSLPy4z679m6U
ugUsghQ9hnglys2ZUQg2ify/2mOZxpHcXp/I5dxvBYu7dg6c1Ca5GoLDkdqfCCWz
tEWLawjmXEv1JyiYc+MjEbtiaUyvB7XcDonAbXPhFv2IaNq9+s894CM/nlqQ7tGF
L86teEfsaOYIvyA6Fx7tjTT9T+JUotDGcy9IZ8LNeU/NFGlELHymRNsJguTHpewL
pmWwGG40O8pxFlkWC2i8VcrVGMmGmIB0pyUkTQ3fUcZ9YuTkBLCg+XxxXKhN88us
1pMzFRgUpPlkxPAbthDF9kVDZAmz6LcO7hQcOlc74JAw/0pp4mulD8GW/j8B5xgP
t7xgAgq/rLkhyOhf6XVo5XTvkr12smA0DoKtUDPMeWog082ulvon5/P+bbYm3dZl
TCXEy43uxQiNbq7OvKgaA4p2OweKfyzLzh672moIlF+77KP4FlQk+kCe3lirJXEW
3s1QmpmRCEORxuPjqgdbc2GsBXIVzfo/0u8CJhOe+2hGuxIocGxuBc73AmH02+lV
30//hNPpSc9Ed8EzHopqz/TKnKNKNLEHkgWyW5M4oAbtlJb7WGrfHx+mYyrMjz6o
xzi1l12W1lDA6GmOVwGh/FsgNzjsMzniXY6EYpzWJM+h3a/dxGA=
=VK67
-----END PGP SIGNATURE-----

Attachment: pgpYP3bGKv3tW.pgp
Description: PGP signature


--- End Message ---

Reply via email to