Opened 7 years ago

Closed 5 years ago

#1640 closed defect (fixed)

'toolshed install isolde reinstall true' attempts to install wrong ISOLDE version

Reported by: Tristan Croll Owned by: Conrad Huang
Priority: major Milestone:
Component: Tool Shed Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Just trying to find new ways to break things (and attempt to replicate the issues that are being reported). I deliberately deleted ~/.local/share/ChimeraX/0.8/site-packages/chimerax/isolde and then ran toolshed install isolde reinstall true - and as per the below traceback it fetched and attempted to install version 0.9.24 rather than 1.0b2.

RuntimeError: Looking in indexes: https://pypi.org/simple, https://cxtoolshed.rbvi.ucsf.edu/pypi/
Collecting ChimeraX-ISOLDE
Downloading https://cxtoolshed.rbvi.ucsf.edu/media/chimeraxisolde/releases/0.9.24/ChimeraX_ISOLDE-0.9.24-cp36-cp36m-linux_x86_64.whl (19.6MB)
Collecting ChimeraX-Clipper>=0.1.9 (from ChimeraX-ISOLDE)
Downloading https://cxtoolshed.rbvi.ucsf.edu/media/chimeraxclipper/releases/0.3/ChimeraX_Clipper-0.3-cp36-cp36m-linux_x86_64.whl (60.4MB)
Collecting ChimeraX-Core>=0.5 (from ChimeraX-ISOLDE)
Could not find a version that satisfies the requirement ChimeraX-Core>=0.5 (from ChimeraX-ISOLDE) (from versions: )
No matching distribution found for ChimeraX-Core>=0.5 (from ChimeraX-ISOLDE)


File "/opt/UCSF/ChimeraX/lib/python3.6/site-packages/chimerax/core/toolshed/__init__.py", line 872, in _run_pip
raise RuntimeError(s)

See log for complete Python traceback.

Change History (2)

comment:1 by Conrad Huang, 7 years ago

Status: assignedaccepted

Yeah. The reinstall option has always been problematic. The temporary workaround is to uninstall and reinstall. I'll look into it when I have a chance.

comment:2 by Greg Couch, 5 years ago

Resolution: fixed
Status: acceptedclosed

Workaround is use ~=VERSION in dependencies.

Note: See TracTickets for help on using tickets.