ductor icon indicating copy to clipboard operation
ductor copied to clipboard

[Bug]: `/upgrade` command in chat does not work if ductor installed using `uv`

Open cloudbroken opened this issue 7 months ago • 1 comments

What happened?

ductor was installed on Ubuntu using uv tool install ductor. Everything working well. When trying upgrade in chat (Telegram) using /upgrade, get the following error:

Upgrade could not verify a new installed version (still 0.15.0) after automatic retry.
/home/user/.local/share/uv/tools/ductor/bin/python: No module named pip

Workaround: ductor successfully updated from shell using uv tool upgrade ductor

Steps to Reproduce

  1. Install ductor on ubuntu using uv tool install ductor 2./upgrade in Telegram when prompted to update

Expected Behavior

ductor updated to latest version

Operating System

Linux

Environment

Local (pip install)

Which LLM provider?

Claude

ductor version

v0.15.0

/diagnose output


Relevant log output


LLM self-diagnosis (optional)

No response

Additional context

No response

Before submitting

  • [x] I have searched existing issues for duplicates.
  • [ ] I am running the latest version.

cloudbroken avatar Apr 23 '26 14:04 cloudbroken

Fixed in v0.16.1: ductor now detects uv tool installs and uses uv tool upgrade ductor / uv tool upgrade --reinstall ductor==<version> instead of falling back to python -m pip.

Release: https://github.com/PleasePrompto/ductor/releases/tag/v0.16.1

Thanks for the clear report and workaround.

PleasePrompto avatar Apr 25 '26 17:04 PleasePrompto