-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k

Description
setuptool's setup_requires
's easy_install sandboxing appears to break Cython/.pxd
cimport targets by how it loads or unloads modules.
Sadly, build-system.requires
is not a good alternative for Cython build deps specifically because using it for this can slow down metadata analysis incredibly, as I explained here: #1742 (comment) which is why setup_requires was also suggested to me as possibly better option here: https://discuss.python.org/t/support-for-build-and-run-time-dependencies/1513/61?u=jtt
The Cython ticket where the unfortunate easy_install interaction was observed is here: cython/cython#2730 (comment)
In overall this greatly affects my build time negatively which just adds up over a while, so it would be nice if there could be found some way to address this. I'd also be happy to migrate to some alternative to setup_requires
, in fact right now I am using build-system.requires
, but right now there doesn't really appear to be a good one for the reasons explained/referenced above which is why I'm hoping for a fix