agentscope-ai / agentscope-ai/agentscope

[Bug]: Import statements in test cases look for pip-installed packages when running pytest

Open
#1,521 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.