bug: tarball doesn't contain scripts/ directory required for testing
envgap__agentclientprotocol__python-sdk-119
01 / FAILURE SIGNATURE
As reported upstream
[ 37s] E ModuleNotFoundError: No module named 'scripts'
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
3b3a5e35a2750110d65216fdb7c899ba4127e495- Manifest
pyproject.toml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
agentclientprotocol/python-sdk #119 · read the original issue
### Summary When running the test suite: ``` [ 36s] + pytest-3.14 --ignore=_build.python314 --ignore=_build.python313 -v -k 'not test_rpc' [ 37s] ============================= test session starts ============================== [ 37s] platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3.14 [ 37s] cachedir: .pytest_cache [ 37s] rootdir: /home/abuild/rpmbuild/BUILD/python-agent-client-protocol-0.11.0-build/agent_client_protocol-0.11.0 [ 37s] configfile: pyproject.toml [ 37s] testpaths: tests [ 37s] plugins: typeguard-4.5.2, asyncio-1.3.0 [ 37s] asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function [ 37s] collecting ... collected 117 items / 1 error / 23 deselected / 94 selected [ 37s] [ 37s] ==================================== ERRORS ==================================== [ 37s] ____________________ ERROR collecting tests/test_gen_all.py ____________________ [ 37s] ImportError while importing test module '/home/abuild/rpmbuild/BUILD/python-agent-client-protocol-0.11.0-build/agent_client_protocol-0.11.0/tests/test_gen_all.py'. [ 37s] Hint: make sure your test modules/packages have valid Python names. [ 37s] Traceback: [ 37s] tests/test_gen_all.py:1: in <module> [ 37s] from scripts.gen_all import resolve_ref, schema_source_paths [ 37s] E ModuleNotFoundError: No module named 'scripts' [ 37s] =========================== short test summary info ============================ [ 37s] ERROR tests/test_gen_all.py [ 37s] !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! [ 37s] ======================= 23 deselected, 1 error in 0.30s ======================== ``` ### Reproduction steps See above ### Expected result passing the test suite ### Actual result see above ### Versions / environment sdk 0.11.0, Python 3.13, Linux/openSUSE/Tumbleweed ### Logs & screenshots ```shell ``` ### Open to submitting a fix? - [x] I’m willing to open a PR for this bug.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]