From e7f86dc5d544bbfaf70bfae825829057122ef2c8 Mon Sep 17 00:00:00 2001 From: Elephant Liu Date: Thu, 14 Aug 2025 18:09:58 +0800 Subject: [PATCH] remove version limit of Cython --- libmc/__init__.py | 4 ++-- setup.py | 7 +------ src/version.go | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/libmc/__init__.py b/libmc/__init__.py index 7af38169..dbe87c89 100644 --- a/libmc/__init__.py +++ b/libmc/__init__.py @@ -33,8 +33,8 @@ __file__ as _libmc_so_file ) -__VERSION__ = "1.4.12" -__version__ = "1.4.12" +__VERSION__ = "1.4.13" +__version__ = "1.4.13" __author__ = "mckelvin" __email__ = "mckelvin@users.noreply.github.com" __date__ = "Fri Jun 7 06:16:00 2024 +0800" diff --git a/setup.py b/setup.py index 90cc6fe6..3f9cf2f7 100644 --- a/setup.py +++ b/setup.py @@ -101,12 +101,7 @@ def find_version(*file_paths): ], setup_requires=[ # Support for the basestring type is new in Cython 0.20. - 'Cython >= 0.20 ; implementation_name != "pypy"', - 'Cython >= 0.20 ; implementation_name == "pypy" and python_version > "3.8"', - - # compile error in PyPy 3.8 with Cython 3.1.2 - # error: 'PyDescr_NewMember' was not declared in this scope - 'Cython >= 0.20, < 3.1; implementation_name == "pypy" and python_version <= "3.8"', + 'Cython >= 0.20', ], ext_modules=[ Extension( diff --git a/src/version.go b/src/version.go index e0d081f7..b6af33c1 100644 --- a/src/version.go +++ b/src/version.go @@ -1,6 +1,6 @@ package golibmc -const _Version = "1.4.12" +const _Version = "1.4.13" const _Author = "mckelvin" const _Email = "mckelvin@users.noreply.github.com" const _Date = "Fri Jun 7 06:16:00 2024 +0800"