espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cython came error


From: Jean-Noël Grad
Subject: Re: Cython came error
Date: Wed, 25 Oct 2023 11:52:13 +0200
User-agent: Mozilla Thunderbird

Hi,

Cython>=3.0 is planning to introduce backward-incompatible changes that will break the ESPResSo build workflow. More details about these changes and our plans to remove Cython from ESPResSo can be found in #4542 (https://github.com/espressomd/espresso/issues/4542).

The CMake error message was introduced to prevent users from building with a Cython version that currently outputs 2010 warnings in the terminal, and will fail to generate code in a few months.

Best,
JN

On 10/25/23 10:47, Ivan Cimrak wrote:
Hi guys,

I just tried to compile current python branch of mdespresso, I got the error that a lower version of cython (below 3.0) is required as I have on the system (macos) – see below.

Then I tried to compile older 4.2 release version and then everything was ok.

Is there any problem with new cython versions above 3.0?

Thanks,

Ivan

icimrak@Ivans-MacBook-Pro espresso-python % cmake ./

-- CMake version: 3.27.4

-- The CXX compiler identification is AppleClang 14.0.3.14030022

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- The C compiler identification is AppleClang 14.0.3.14030022

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Config file: /Users/icimrak/Downloads/espresso-python/src/config/myconfig-default.hpp

-- Performing Test result__PRETTY_FUNCTION__

-- Performing Test result__PRETTY_FUNCTION__ - Success

-- Found Python: /usr/local/bin/python3.11 (found suitable version "3.11.5", minimum required is "3.9") found components: Interpreter Development NumPy Development.Module Development.Embed

CMake Error at /usr/local/Cellar/cmake/3.27.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):

Could NOT find Cython: Found unsuitable version "3.0.2", required range is

"0.29.21...<3.0" (found /usr/local/bin/cython)

Call Stack (most recent call first):

/usr/local/Cellar/cmake/3.27.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598
 (_FPHSA_FAILURE_MESSAGE)

cmake/FindCython.cmake:82 (find_package_handle_standard_args)

CMakeLists.txt:250 (find_package)

-- Configuring incomplete, errors occurred!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]