From 63173778f02f73f2a2c68461f739f7f1abb7c756 Mon Sep 17 00:00:00 2001 From: stubsabot <> Date: Wed, 22 Jul 2026 00:29:13 +0000 Subject: [PATCH 1/2] [stubsabot] Bump zstd to ~=1.5.7.2 Release: https://pypi.org/pypi/zstd/1.5.7.2 Homepage: https://github.com/sergey-dryabzhinsky/python-zstd Repository: https://github.com/sergey-dryabzhinsky/python-zstd Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/zstd :warning: Review this PR manually, as stubtest is skipped in CI for zstd! Also check whether stubtest can be reenabled. :warning: --- stubs/zstd/METADATA.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/zstd/METADATA.toml b/stubs/zstd/METADATA.toml index a8c83583b850..cc0d59f08440 100644 --- a/stubs/zstd/METADATA.toml +++ b/stubs/zstd/METADATA.toml @@ -1,4 +1,4 @@ -version = "~=1.5.7.3" +version = "~=1.5.7.2" upstream-repository = "https://github.com/sergey-dryabzhinsky/python-zstd" [tool.stubtest] From f2848781cbf642d6abd85c78ab7663524d77b758 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Tue, 22 Sep 2026 18:56:41 -0700 Subject: [PATCH 2/2] Fix zstd stubs for upstream update --- stubs/zstd/METADATA.toml | 5 ----- stubs/zstd/zstd.pyi | 6 ------ 2 files changed, 11 deletions(-) diff --git a/stubs/zstd/METADATA.toml b/stubs/zstd/METADATA.toml index cc0d59f08440..dee9f7410aaa 100644 --- a/stubs/zstd/METADATA.toml +++ b/stubs/zstd/METADATA.toml @@ -1,7 +1,2 @@ version = "~=1.5.7.2" upstream-repository = "https://github.com/sergey-dryabzhinsky/python-zstd" - -[tool.stubtest] -# Temporarily disabled until release 1.5.7.3 returns to PyPI -# https://github.com/python/typeshed/pull/16057 -skip = true diff --git a/stubs/zstd/zstd.pyi b/stubs/zstd/zstd.pyi index 86ffbcf5a589..ad09e87ea22c 100644 --- a/stubs/zstd/zstd.pyi +++ b/stubs/zstd/zstd.pyi @@ -4,9 +4,7 @@ class Error(Exception): ... def ZSTD_compress(data: ReadableBuffer, level: int = ..., threads: int = ..., /) -> bytes: ... -compress_old = ZSTD_compress compress = ZSTD_compress -compress2 = ZSTD_compress compress_real_mt = ZSTD_compress dumps = ZSTD_compress encode = ZSTD_compress @@ -24,8 +22,6 @@ loads = ZSTD_uncompress decode = ZSTD_uncompress def ZSTD_version() -> str: ... -def ZSTD_version_compiled() -> str: ... -def ZSTD_version_loaded() -> str: ... def ZSTD_version_number() -> int: ... def ZSTD_threads_count() -> int: ... def ZSTD_max_threads_count() -> int: ... @@ -40,6 +36,4 @@ def ZSTD_is_debug_enabled() -> int: ... def ZSTD_is_debug_error_enabled() -> int: ... def ZSTD_is_debug_info_enabled() -> int: ... def ZSTD_is_debug_notice_enabled() -> int: ... -def ZSTD_setCpuCoresCacheTTL(ttl: int, /) -> int: ... -def ZSTD_stopCpuCoresCache() -> int: ... def version() -> str: ...