-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Deprecate installing packages w/o install-record.txt #7702
Deprecate installing packages w/o install-record.txt #7702
Conversation
+1 on the general principle of deprecating (and ultimately rejecting) misbehaving packages. Being able to rely on some basic assumptions will make it a lot easier to reason about the code. |
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.
Very minor comment, otherwise this looks good to me.
@@ -73,7 +73,16 @@ def install( | |||
) | |||
|
|||
if not os.path.exists(record_filename): | |||
logger.debug('Record file %s not found', record_filename) | |||
logger.warning('Record file %s not found', record_filename) |
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.
We should also mention the name of the package.
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.
The record filename should include that. :P
You're right -- explicitly mentioning the pacakge name will more directly surface relevant info to the user. :)
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.
Unless I'm missing something it's just in a temporary directory with a generic name.
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 |
Good bot. |
Toward #7450
Does this sound reasonable?