-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add system-site-packages setting (rebased) #2686
Conversation
3141d25
to
f2d4101
Compare
@wyl8899 assuming @kam1sh has not responded please see #1982 (comment) |
Sure, I will take a stab. |
f2d4101
to
833d5da
Compare
@abn Done! Could you please take a look? I don't quite like the fact that |
833d5da
to
287c405
Compare
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.
One minor change; otherwise looking good.
I agree we should make sure that we keep the defaults DRY when testing. Maybe another PR to do just that? :)
7028a5e
to
9d2b951
Compare
Suggestions applied and squashed. Thanks! |
This will need a rebase since a new boolean config was added in |
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.
Changes look good. Rebase required.
9d2b951
to
ce550be
Compare
Any updates on this, looks sooo close :) ? This would be a much loved feature vs. scripting changes to the |
Oops, totally forgot about this. (I use script to change Let me do another rebase. |
ce550be
to
8b26bd5
Compare
8b26bd5
to
f0fc9c2
Compare
@abn Could you please take a look? |
Not sure if this is related to poetry specifically but thought I'd mention it here to make sure it is accounted for. When you have a package in the virtual env and that same package in your system site packages,
This specifically happened for the regex dependency of black for me. So it doesn't look like it tries to overwrite the system packages all the time, because black itself successfully updated. Manually edited the Not sure if this could be accounted for in the way poetry is updating packages with this option enabled. If so, great, if not, the docs should mention running this option might cause issues on poetry update. Again, I'm not sure this is a poetry issue, but just wanted to get this out here. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR is a rebase of #1982 by @kam1sh , making necessary changes to make the tests pass.
Please let me know if things are missing or need to be done. Thank you!
Pull Request Check List
Resolves: #1393