This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository python-efl.

View the commit online.

commit c8d7bddb47ff8ab2c56e8540f5188b584aeef2b6
Author: Dave Andreoli <d...@gurumeditation.it>
AuthorDate: Sun Nov 26 08:36:10 2023 +0100

    Do not try to build with Cython3
    
    Thanks goes @rafspiny for pointing this out
---
 setup.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index f5353d4..53e3f34 100755
--- a/setup.py
+++ b/setup.py
@@ -16,6 +16,7 @@ script_path = os.path.dirname(os.path.abspath(__file__))
 # dependencies
 EFL_MIN_VER = '1.26.0'
 CYTHON_MIN_VERSION = '0.29.34'
+CYTHON_MAX_VERSION = '0.99.99'
 CYTHON_BLACKLIST = ()
 
 
@@ -146,9 +147,14 @@ if {'build', 'build_ext', 'install', 'bdist', 'bdist_wheel', 'sdist'} & set(sys.
 
         # check min version
         if Version(Cython.__version__) < Version(CYTHON_MIN_VERSION):
-            raise SystemExit('too old! Found %s  Needed %s' % (
+            raise SystemExit('too old! Found %s (need at least %s)' % (
                              Cython.__version__, CYTHON_MIN_VERSION))
 
+        # check max version
+        if Version(Cython.__version__) > Version(CYTHON_MAX_VERSION):
+            raise SystemExit('too new! Found %s (need at most %s)' % (
+                             Cython.__version__, CYTHON_MAX_VERSION))
+
         # check black-listed releases
         if Cython.__version__.startswith(CYTHON_BLACKLIST):
             raise SystemExit('found %s, its broken! Need another release' %

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to