Skip to content
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

Run pip with --no-index in installation_info #1847

Merged
merged 3 commits into from
Nov 28, 2019

Conversation

mgunyho
Copy link
Contributor

@mgunyho mgunyho commented Nov 28, 2019

We're running Qcodes on a lab computer with no internet access. Running pip list looks online for the package index. This takes 20 seconds to time out, which makes start_all_logging() annoyingly slow. This fixes that.

@codecov
Copy link

codecov bot commented Nov 28, 2019

Codecov Report

Merging #1847 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1847      +/-   ##
==========================================
+ Coverage   70.37%   70.38%   +<.01%     
==========================================
  Files         152      152              
  Lines       18852    18852              
==========================================
+ Hits        13268    13269       +1     
+ Misses       5584     5583       -1

Copy link
Collaborator

@jenshnielsen jenshnielsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot reproduce the issue with pip 19.3.1 but in any case it seems like the fix is harmless if not required

@jenshnielsen
Copy link
Collaborator

but please fix the style issue pointed out by codacy

@mgunyho
Copy link
Contributor Author

mgunyho commented Nov 28, 2019

Done. I made it True instead of the default False to catch errors more clearly.

E: I actually missed the style issue you were referring to, fixed now. Should I revert cf61ecf or is it okay?

@jenshnielsen
Copy link
Collaborator

Thanks, I think check=True is good no need to revert anything

@jenshnielsen jenshnielsen merged commit bc0118c into microsoft:master Nov 28, 2019
Dominik-Vogel pushed a commit that referenced this pull request Nov 28, 2019
Run pip with --no-index in installation_info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants