-
-
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
Development environments using nix-shell no longer work #2612
Comments
In the referenced commit, I've created a test that captures the reported failure. I'm still not certain it's a use-case that Setuptools should support, but it at least provides a means to evaluate more easily. |
…available on PYTHONPATH. Fixes #2612.
In this latest commit, in the test, I illustrate how it's possible to inject a My instinct here is it would be best for nix to own this behavior, rather than Setuptools. @limeytexan or @cript0nauta, would you comment on how feasible it would be for nix to adopt the technique in the illustrative test? Such a workaround would provide compatibility for existing builds of Setuptools as well. |
Thanks for proposing a solution! I made a proof of concept that adds a similar |
That’s great news. In that case, I’ll merge the related Setuptools PR with the test. Keep us apprised here with the response in Nix. |
The change in #2165 broke development environments using nix-shell, which offers a feature similar to running
setup.py develop
. If I manually copy thesite.py
generated by older versions of setuptools into the new environment I can fix it, but this is clearly a hack.I'm not sure how to proceed to properly fix this issue when using nix-shell. @jaraco would you be able to help recommending workarounds to solve this problem?
Originally posted by @cript0nauta in #2165 (comment)
The text was updated successfully, but these errors were encountered: