pcdshub / pcdshub/hutch-python
Add a test that runs a bluesky plan inside of an ipython shell
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 18
- Avg merge
- 7d 9h
- Merged PRs (30d)
- 1
Description
Expected Behavior
Inside of the loaded environment, we need to run at least one plan, and probably do a few other operations too.
We need to catch some common use cases to make sure they still work inside the installed version of IPython.
Current Behavior
No such test exists. We do load IPython but we don't run any tests inside of it.
Possible Solution
Pipe in some run engine commands into the tstpython tests?
Context
IPython 7.30.0 has some compatibility issues with bluesky on account of breaking the asyncio handling
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the tstpython tests and the existing code that loads IPython. Add coverage that runs at least one Bluesky plan and other common operations inside the loaded shell, then verify the tests exercise the installed IPython version and its asyncio handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100