-
Notifications
You must be signed in to change notification settings - Fork 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
Move ui helpers to cli subpackage #6727
Move ui helpers to cli subpackage #6727
Conversation
tests/unit/test_utils.py
Outdated
@@ -38,7 +38,7 @@ | |||
) | |||
from pip._internal.utils.setuptools_build import make_setuptools_shim_args | |||
from pip._internal.utils.temp_dir import AdjacentTempDirectory, TempDirectory | |||
from pip._internal.utils.ui import SpinnerInterface | |||
from pip._internal.cli.spinners import SpinnerInterface |
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.
Tests for this should probably move into a test_cli_spinners.py
file. :)
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.
Sure will do that.
@sinscary could you update this PR (merge or rebase)? |
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
c3253ad
to
e3a4d5d
Compare
e3a4d5d
to
9cb49c8
Compare
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
9cb49c8
to
59c1108
Compare
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
Hi @sinscary would you mind clean up the commits a bit, and rebase it onto master so this can be merged? The changes themselves LGTM so a cleanup would be all that’s needed for this to be merged. |
@uranusjr @pradyunsg Man I got busy with some work and forgot about this PR. Sure I will clean this up during the weekend. |
59c1108
to
ffd8274
Compare
ffd8274
to
9956ee0
Compare
@sinscary If you have any questions / need help here, please let us know. :) |
@pradyunsg Apart from linter errors(that I will take care of) there is this one test case(test_pep517_and_build_options) which is continously failing. A little help will really speed up the things. :) |
@pradyunsg This time integration tests passed for all the platforms and versions except python27 windows. As I can see this is failing for most who have created PR today or yesterday. |
Yea, looks like something's up -- I'll take a closer look. :) |
See #7662 (comment) |
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
@pradyunsg mypy check is failing for InterruptibleMixin inside progeress_bars.py, which led me to this issue . All the mixins are having this issue. Not really sure how to approach this. |
This reverts commit d1ca99ccc05075d8d4ae101a3f10b003086ebeda.
71f9b28
to
182b73b
Compare
182b73b
to
30933a0
Compare
@pradyunsg I have marked mixins to be ignored for now. Can you once review PR. |
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.
@sinscary Thanks for the ping (and your patience here!). I like the way you've made your commits which made it super easy to review this PR!
Overall, this LGTM. I'm OK to merge this as is, albeit with a tracking issue for dropping the # type: ignore
comments.
We should drop the # type: ignore
comments and instead add something like the following to the top of the file:
# The following comment should be removed at some point in the future.
# mypy: strict-optional=False
AFAICT, that should fix almost all the mypy issues you're facing here. If you want to try that and fix any remaining mypy issues, lemme know. Otherwise, I'll be happy to pick things up from here, if you don't want to deal with mypy issues. :)
@pradyunsg Currently the issues I am facing with mixins won't be fixed by disabling strict optional checking, I tried that and mypy check failing with same errors. I really wanna pickup something new. |
Sure thing @sinscary! Thanks again for the PR! Lemme know if you'd like me to suggest another issue for you to work on. :) |
@pradyunsg Sure. |
Closes #6531