-
Notifications
You must be signed in to change notification settings - Fork 44
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
Provide the --freeze parameter. Fixes #385 #392
Conversation
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.
Only a typo. then I think it's ready to merge
README.rst
Outdated
|
||
However, this has a bad side. If it happens that a dependency of your | ||
project released a revision between the moment you run the tests and the | ||
mement your project is deployed to the server, it may happen that you |
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.
mement
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.
Gotcha
"""Dump venv contents to the indicated filepath.""" | ||
logger.debug("running freeze to store in %r", filepath) | ||
stdout = helpers.logged_exec([self.pip_exe, "freeze", "--all", "--local"]) | ||
with open(filepath, "wt", encoding='utf8') as fh: |
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.
why are you adding t
here? That's just the default
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.
Explicit better than implicit :).
Now seriously, I always write 't' or 'b' there, as the difference is getting bytes or unicode chars, which may be critical in the following handling of the file handler.
No description provided.