Open vytas7 opened 2 years ago
Thanks for following up on this @vytas7 :)
For clarity, and from the referenced issue and upstream notes, the key elements are:
@koobs we beg to differ on (3) -- we will enable compilation by default, but just as now, you will be able to pass an envvar to disable compilation. We do want to cover cases where a wheel is unavailable, and I think these guidelines precede the advent of PEP 517 where you can control which Cython version is installed. Moreover, if we ship .c
files, the point with using a wrong Cython version is moot.
No need to beg to differ @vytas7 i was just copying the relevant bits from external references into this issue to ease understanding for readers (present and future). You are of course free to do as you please :)
As suggested by @koobs in https://github.com/falconry/falcon/issues/1281, it seems we closed that issue without a decision on this part.
This would let us drop
cython
from the PEP 517 build requirements. While not a very big/common issue, we are currently unable to fall back to pure Python ifcython
installation itself fails as part of the PEP 517 build process.We don't want to have
.c
files in the source tree, but we want to produce them in the CI gate responsible for uploadingsdist
.