[Cython] finding the Cython version

Stefan Behnel stefan_ml at behnel.de
Thu Sep 11 19:49:44 CEST 2014


Alex K schrieb am 11.09.2014 um 14:28:
> I am a user that can not install tables 3.0.0 with cython 0.21. Tables can 
> be installed with cython up to 0.20.2. Can you please consider to add 
> Cython.Compiler.Main.Version back so that users of old tables could still 
> use latest cython?

Normally, users should not have to use (or have) Cython themselves when
they want to install a Cython implemented package. Instead, the package
should ship the generated C sources and do a normal extension module build
by default, without running Cython at all. That avoids a build dependency
and makes sure that users really get exactly what the code maintainers
wanted to release and what they have properly tested before doing so.

That being said, we try to keep things working for users, unless there's an
actual reason to break something. I've definitely seen way worse
compatibility hacks than an unused import.

https://github.com/cython/cython/commit/43342ab90704f5f850733544288485048160003d

Stefan



More information about the cython-devel mailing list