Closed r4881t closed 1 month ago
So it seems like I needed to do pip install pytest-cov pytest-xdist
, after which the errors were gone and I was able to run the tests.
So, my expectation is that this additional dependency should be auto installed when using devcontainers.
So it seems like I needed to do
pip install pytest-cov pytest-xdist
, after which the errors were gone and I was able to run the tests.So, my expectation is that this additional dependency should be auto installed when using devcontainers.
I was looking at the same fix. let me add the packages.
@r4881t can you help us review the PR #56
Describe the bug
Hi, I tried to run tests in devcontainer, but failed for all the 3 types of devcontainers
I tried following:
pytest -n auto
and I get error as followspytest -n auto
and I get error as followspytest -n auto
and I notice that for some reason it is unable to build devcontainer. It fails in the lineRUN pip install autogen[teachable,lmm,retrievechat,mathchat,blendsearch] autogenra
even after multiple attemptes. below is the complete logs attached.remoteContainers-2024-10-05T06-25-12.620Z.log
pytest -n auto
, I get the following errorSteps to reproduce
Open the autogen repo in Visual Studio Code and then open it in devcontainers. It will show you three options and pick any of the options and you will notice the issue.
Model Used
No response
Expected Behavior
For 1 & 2, It should run the
pytest
without any errors. For 3 It should build the container and then run thepytest
Screenshots and logs
No response
Additional Information
No response