cassandra-medusa icon indicating copy to clipboard operation
cassandra-medusa copied to clipboard

0.13.4 version seems to install in a different location which is causing some issues

Open StevenLacerda opened this issue 2 years ago • 1 comments

Project board link

I did this on my test box:

pip3 install -I cassandra-medusa==0.12.2 --index-url https://pypi.org/simple
root@ip-10-166-71-38:~# medusa --version
0.12.2
upgraded it to 0.13.4. medusa version return 0.12.2
pip3 install -I cassandra-medusa==0.13.4 --index-url https://pypi.org/simple
root@ip-10-166-71-38:~# medusa --version
0.12.2

In 0.12.2 medusa is in /usr/local/bin and in 0.13.4 its in

root@ip-10-166-71-38:~# /usr/bin/medusa --version
0.13.4

I tried to uninstall 0.12.2 but it removed 0.13.4

pip3 uninstall cassandra-medusa==0.12.2
Found existing installation: cassandra-medusa 0.13.4
Uninstalling cassandra-medusa-0.13.4:
 Would remove:
  /usr/bin/medusa
  /usr/local/bin/medusa
  /usr/local/bin/medusa-wrapper
  /usr/local/lib/python3.6/dist-packages/cassandra_medusa-0.13.4.dist-info/*
  /usr/local/lib/python3.6/dist-packages/etc/medusa/medusa-example.ini
  /usr/local/lib/python3.6/dist-packages/medusa/*
  /usr/local/lib/python3.6/dist-packages/tests/*
Proceed (y/n)? y
 Successfully uninstalled cassandra-medusa-0.13.4

root@ip-10-166-71-38:~# medusa --version
-su: /usr/local/bin/medusa: No such file or directory

We uninstalled it again and it uninstalled the 0.12.2 version:

root@ip-10-166-71-38:~# pip3 uninstall cassandra-medusa==0.13.4
Found existing installation: cassandra-medusa 0.12.2
Uninstalling cassandra-medusa-0.12.2:
 Would remove:
  /usr/local/lib/python3.6/dist-packages/cassandra_medusa-0.12.2.dist-info/*
Proceed (y/n)? y
 Successfully uninstalled cassandra-medusa-0.12.2

After uninstalling both versions we were able to install 0.13.4 without issue.

StevenLacerda avatar Oct 25 '22 18:10 StevenLacerda

Hi @StevenLacerda! We've changed how we package (and thus install) medusa. That means that the situation around this issue has also changed. Any chance you could find some time to give it another go?

rzvoncek avatar Apr 04 '24 13:04 rzvoncek