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
[WIP] Handle editable namespace packages properly #4576
[WIP] Handle editable namespace packages properly #4576
Conversation
I am unable to reproduce a /ping @jaraco Could you help me out? |
tests/functional/test_uninstall.py
Outdated
path.endswith('-nspkg.pth') | ||
for path in result.files_created | ||
) | ||
assert nspkg_created_count == 1, result.files_created.keys() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's only a single .egg-link
file being created.
I think the issue is that you're not declaring |
Thanks @jaraco! ^.^ I had missed that. I'll give it a shot. :) |
75abc94
to
8f459a3
Compare
Status - the test for nspkg is now working (as in it checks behaviour; currently failing since that's not implemented). Same for the pkgutil-namespaces. |
@jonparrott The files you had contributed have your License header; I think that'll need to be removed. Further, it's actually possible to simplify the setup.py to not have anything except the bare minimum needed (i.e. remove your information from it, description & long_description and the license). Just confirming -- are you fine with that? :) Note to self - the relevant change is stashed as "remove @jonparrott's license and simplify". |
I am not a lawyer, but I think in general license headers should stay (as to not obscure or relicense the code). I personally don't care either way. |
Same. I dunno if those headers can stay there tho. My intuition says that a file with a header like that shouldn't live in pip's codebase. But my intuition may not be legally sound. 🤷♂️ I'll wait for @dstufft or @pfmoore or anyone else really tell me what the right thing to do here would be. |
@pradyunsg I see you recently un-assigned this from yourself, are you planning to continue work on this issue, or is it pick-up-able? |
15275aa
to
f45caeb
Compare
@di I've squashed all the stuff into a single commit; I think that'll be cleaner if you (or anyone) takes it forward. :) |
(maybe the tests should use |
Closing this. If anyone wants to take #4176 forward, you can use the test from here. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Would eventually fix #4176