-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
Install fresh virtualenv on AppVeyor #984
Conversation
Codecov Report
@@ Coverage Diff @@
## master #984 +/- ##
======================================
Coverage 99.1% 99.1%
======================================
Files 34 34
Lines 2350 2350
Branches 305 305
======================================
Hits 2329 2329
Misses 11 11
Partials 10 10 Continue to review full report at Codecov.
|
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.
I have but one tiny concern, technically it's fine though.
.appveyor.yml
Outdated
@@ -102,6 +102,7 @@ matrix: | |||
|
|||
install: | |||
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | |||
- pip install -U virtualenv |
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 not install virtualenv and tox within one line?
I'd prefer you use --update
, since it's more human readable.
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.
It's a workaround and easy to git-blame. Plus tox doesn't need to be upgraded.
Maybe we should better put there a comment about why do we really need to upgrade virtualenv
?
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.
Actual, I prefer long-options too, especially in tests when we run something like invoke(cli, ["--upgrade-package", "foo"])
, cause I always forget what does -P
mean.
These pip -e -r -U
options are so famous and I type them because of a muscle memory 😅 We could normalize all options here and in the other configs in a separate PR. What do you think?
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.
Also, we can remove this workaround after tox releases a new version, where virtualenv has bumped to >=16.0.0.
@codingjoe thanks for reviewing this! |
Fixes #983. See #983 (comment).