fix(copaw-worker): bump copaw dep to >=1.0.2 to resolve agentscope pre-release conflict#606
Open
kerwin612 wants to merge 1 commit into
Open
Conversation
…version conflict copaw==0.0.5 (previously pinned) depends on agentscope==1.0.16.dev0 (a pre-release), which causes uv and pip to refuse installation by default. copaw>=1.0.2 is already on PyPI and uses agentscope==1.0.18 (stable), so users can install copaw-worker without --prerelease=allow. The matrix_channel.py code already uses the copaw 1.x API (BaseChannel, _enqueue, resolve_session_id, etc.), so no code changes are needed. Fixes agentscope-ai#598 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
|
LGT — straightforward dependency bump that resolves the pre-release conflict described in #598. Summary of changes:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Fixes #598
copaw-worker==0.1.12depends oncopaw==0.0.5(exact pin). That version ofcopawon PyPI requiresagentscope==1.0.16.dev0— a pre-release. By default,uv(and recentpip) refuse to install pre-release packages, so users get an unsatisfiable dependency error:The only workaround was
--prerelease=allow, which is non-obvious and undesirable.Root Cause
copaw==0.0.5is an old release.copaw>=1.0.2is already on PyPI and depends onagentscope==1.0.18(stable). Thecopaw-workerpackage was never updated to track the new copaw major version.Fix
copaw==0.0.5→copaw>=1.0.2incopaw/pyproject.tomlcopaw-workerversion0.1.12→0.1.13No code changes needed —
matrix_channel.pyalready uses the copaw 1.x API (BaseChannel,_enqueue,resolve_session_id,get_to_handle_from_request, etc.), which was verified againstCoPaw/src/copaw/app/channels/base.py.After this fix
# Works without --prerelease=allow uv pip install copaw-worker