Skip to content

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
agentscope-ai:mainfrom
kerwin612:fix/copaw-worker-agentscope-stable-dep
Open

fix(copaw-worker): bump copaw dep to >=1.0.2 to resolve agentscope pre-release conflict#606
kerwin612 wants to merge 1 commit into
agentscope-ai:mainfrom
kerwin612:fix/copaw-worker-agentscope-stable-dep

Conversation

@kerwin612
Copy link
Copy Markdown
Contributor

Problem

Fixes #598

copaw-worker==0.1.12 depends on copaw==0.0.5 (exact pin). That version of copaw on PyPI requires agentscope==1.0.16.dev0 — a pre-release. By default, uv (and recent pip) refuse to install pre-release packages, so users get an unsatisfiable dependency error:

agentscope==1.0.16.dev0 and copaw==0.0.5 depends on agentscope==1.0.16.dev0 ... requirements are unsatisfiable

The only workaround was --prerelease=allow, which is non-obvious and undesirable.

Root Cause

copaw==0.0.5 is an old release. copaw>=1.0.2 is already on PyPI and depends on agentscope==1.0.18 (stable). The copaw-worker package was never updated to track the new copaw major version.

Fix

  • copaw==0.0.5copaw>=1.0.2 in copaw/pyproject.toml
  • Bump copaw-worker version 0.1.120.1.13

No code changes needed — matrix_channel.py already uses the copaw 1.x API (BaseChannel, _enqueue, resolve_session_id, get_to_handle_from_request, etc.), which was verified against CoPaw/src/copaw/app/channels/base.py.

After this fix

# Works without --prerelease=allow
uv pip install copaw-worker

…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>
@johnlanni
Copy link
Copy Markdown
Collaborator

LGT — straightforward dependency bump that resolves the pre-release conflict described in #598.

Summary of changes:

  • Bumps copaw dependency from exact pin ==0.0.5 to >=1.0.2, which depends on the stable agentscope==1.0.18 instead of the pre-release 1.0.16.dev0.
  • Bumps copaw-worker version 0.1.120.1.13.
  • No code changes; existing code already uses the copaw 1.x API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uv pip install copaw-worker版本依赖问题

2 participants