-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setuptool's setup_requires sandboxing breaks Cython #1784
Comments
This is blocked on #1742, since it does not make sense to improve upon deprecated functionality. I say let's determine further action there and then come to this issue. (obviously defering to setuptools maintainers if they prefer some other approach) |
We're probably not going to be making any improvements to I think that |
@pganssle |
As mentioned above, we won't be investing effort in advancing easy-install-based functionality. Please see #2823 where that functionality is being removed. |
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=jttThe 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 usingbuild-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 fixThe text was updated successfully, but these errors were encountered: