Skip to content

Commit da276d8

Browse files
author
Sergey Dryabzhinsky
committed
Version 1.5.2.1: Quick fix for build via pypy3.9
1 parent 2a43d80 commit da276d8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

PKG-INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Metadata-Version: 1.1
22
Name: zstd
3-
Version: 1.5.2.0
3+
Version: 1.5.2.1
44
Summary: Simple python bindings to Yann Collet ZSTD compression library
55
Home-page: https://github.com/sergey-dryabzhinsky/python-zstd
66
Author: Sergey Dryabzhinsky
77
Author-email: [email protected]
88
License: BSD
9-
Download-URL: https://github.com/sergey-dryabzhinsky/python-zstd/archive/v1.5.2.0.tar.gz
9+
Download-URL: https://github.com/sergey-dryabzhinsky/python-zstd/archive/v1.5.2.1.tar.gz
1010
Description: Simple ZSTandarD bindings for Python
1111
Keywords: zstd,zstandard,compression
1212
Platform: POSIX

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Package version
1515
PKG_VERSION = VERSION
1616
# Minor versions
17-
PKG_VERSION += ("0",)
17+
PKG_VERSION += ("1",)
1818
PKG_VERSION_STR = ".".join([str(x) for x in PKG_VERSION])
1919

2020
###

src/pythoncapi_compat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ _Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size)
153153
#endif
154154

155155

156-
// bpo-40421 added PyFrame_GetCode() to Python 3.9.0b1
157-
#if PY_VERSION_HEX < 0x030900B1
156+
// bpo-40421 added PyFrame_GetCode() to Python 3.9.0b1 // pypy not implemented this
157+
#if PY_VERSION_HEX < 0x030900B1 || defined(PYPY_VERSION)
158158
static inline PyCodeObject*
159159
PyFrame_GetCode(PyFrameObject *frame)
160160
{

0 commit comments

Comments
 (0)