aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-03-28 23:41:05 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-03-28 23:49:18 +0300
commit323ccf76cc8d558a958ceb49d1d2645a6a00d654 (patch)
treea2082d18a1e78d0dc47a609665fe5bc250e69146 /contrib/python
parent69da0d084c7045f516e59ff13afeb15a3f313b5d (diff)
downloadydb-323ccf76cc8d558a958ceb49d1d2645a6a00d654.tar.gz
Update contrib/libs/zstd to 1.5.6
51b531524892e02b1d9bdf7382a855894c655310
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/zstandard/py2/zstd.c2
-rw-r--r--contrib/python/zstandard/py3/c-ext/backend_c.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/zstandard/py2/zstd.c b/contrib/python/zstandard/py2/zstd.c
index 3ab69a3113..f1d78dfdaf 100644
--- a/contrib/python/zstandard/py2/zstd.c
+++ b/contrib/python/zstandard/py2/zstd.c
@@ -210,7 +210,7 @@ void zstd_module_init(PyObject* m) {
We detect this mismatch here and refuse to load the module if this
scenario is detected.
*/
- if (ZSTD_VERSION_NUMBER != 10505 || ZSTD_versionNumber() != 10505) {
+ if (ZSTD_VERSION_NUMBER != 10506 || ZSTD_versionNumber() != 10506) {
PyErr_SetString(PyExc_ImportError, "zstd C API mismatch; Python bindings not compiled against expected zstd version");
return;
}
diff --git a/contrib/python/zstandard/py3/c-ext/backend_c.c b/contrib/python/zstandard/py3/c-ext/backend_c.c
index bf61f9c848..aabe30bc52 100644
--- a/contrib/python/zstandard/py3/c-ext/backend_c.c
+++ b/contrib/python/zstandard/py3/c-ext/backend_c.c
@@ -152,7 +152,7 @@ void zstd_module_init(PyObject *m) {
PyObject *features = NULL;
PyObject *feature = NULL;
unsigned zstd_ver_no = ZSTD_versionNumber();
- unsigned our_hardcoded_version = 10505;
+ unsigned our_hardcoded_version = 10506;
if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
zstd_ver_no != our_hardcoded_version) {
PyErr_Format(