agentscope-ai / agentscope-ai/agentscope

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

オープン
#1,521 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
stale-issue
主要言語
Python
スター
31.5k
フォーク
3.5k
平均マージ
1日 23時間
マージ済み PR(30日)
95

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。