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

Log all installed packages #3289

Merged

Conversation

WilliamHPNielsen
Copy link
Contributor

Towards reproducible experiments! A small step is that we log the versions of installed packages in the environment where QCoDeS runs.

Changes proposed in this pull request:

  • Add function to get a list (well, dict) of all installed packages and their versions
  • Log this information upon import

I did a quick and dirty comparison of import times before and after these changes, and there is no significant overhead.

@QCoDeS/core

@codecov
Copy link

codecov bot commented Aug 23, 2021

Codecov Report

Merging #3289 (5562316) into master (ecb6bef) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3289   +/-   ##
=======================================
  Coverage   66.16%   66.17%           
=======================================
  Files         220      220           
  Lines       29209    29216    +7     
=======================================
+ Hits        19327    19334    +7     
  Misses       9882     9882           

@WilliamHPNielsen WilliamHPNielsen merged commit 80a1e93 into microsoft:master Aug 23, 2021
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