agentscope-ai / agentscope-ai/agentscope
[Bug]: Import statements in test cases look for pip-installed packages when running pytest
Open
stale-issue
- Dominant language
- Python
- Stars
- 31.6k
- Forks
- 3.5k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 103
Description
**Describe the bug**
The import statements in test cases look for pip-installed packages when running pytest. The classes and functions should be import from the src/ folder.
**To Reproduce**
1. Make sure the agentscoe package is not installed on this machine. (pip list|grep -i agentscoe should yield nothing)
2. Run git clone to download the repository to a dev machine.
3. Run pytest resulted in import failures.
Contributor guide
Assessment
This issue has not been assessed yet.