-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Running pytest on Charcoal-SE/Smokedetector under scalene fails #863
Comments
possibly related: #82 |
... and what makes me think so, is the error from scalene:
|
Can you try putting |
@emeryberger still reproduces with the following: |
just in case I needed to put
|
Describe the bug
Pytest cannot run due to below error(s):
To Reproduce
Steps to reproduce the behavior:
(tested in WSL2) - Setup a conda env with scalene, clone github.com:charcoal-se/smokedetector.git, pip install -r requirements.txt, and run the following command (modified from a CI yaml)
scalene --profile-all -m pytest -W default::Warning --cov=chatcommunicate --cov=findspam --cov=globalvars --cov=spamhandling --cov=datahandling --cov=chatcommands --cov=helpers -n 3 --dist loadgroup --timeout=300 test
Please include a minimum working example if at all possible.
Expected behavior
Runs like as if I'd replaced
scalene --profile-all
with justpython
.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
If you have not yet tried with the repository version (
python3 -m pip install git+https://github.com/plasma-umass/scalene
), please try that before reporting.(sidenote this may be more helpful at the top of the issue template) - replicates with latest.
Additional context
SmokeDetector can take a while to clone (not too long), so if you think that this might be solvable without cloning it, I'd certainly recommend investigating that way.
The text was updated successfully, but these errors were encountered: