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

Dev Request: "Which versions am I running?" script #41

Open
ZLLentz opened this issue Sep 4, 2020 · 1 comment
Open

Dev Request: "Which versions am I running?" script #41

ZLLentz opened this issue Sep 4, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ZLLentz
Copy link
Member

ZLLentz commented Sep 4, 2020

Feature Request

I want a configurable method I can run to show me the following information about all the modules I pass into it:

  1. version number
  2. path, if not in my conda install

E.g. if I am running xcs3, and I call get_versions(), and I have configured it to show me the pcdsdevices and pcdsdaq version numbers, the output may look something like:
pcdsdaq: v1.0.0, installed
pcdsdevices: v1.2.0+12asdf, /reg/g/pcds/pyps/apps/hutch-python/xcs/dev/devpath/pcdsdevices

Existing Alternatives

Lots of legwork

Context

This would help us figure out which versions we are running during debug and have helpful output to paste into a bug report.

@ZLLentz ZLLentz added enhancement New feature or request good first issue Good for newcomers labels Sep 4, 2020
@ZLLentz
Copy link
Member Author

ZLLentz commented Sep 11, 2020

Rediscovered https://github.com/pcdshub/hutch-python/blob/master/hutch_python/bug.py today, might be a good starting point/already be enough, not investigating fully right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant