in03 / proxima

Transcode source media directly from DaVinci Resolve using multiple machines for encoding. Great for creating proxies quickly.
MIT License
53 stars 3 forks source link

Rprox doesn't pipx --upgrade #148

Closed in03 closed 2 years ago

in03 commented 2 years ago

It's a real hassle to try and upgrade rprox. A full uninstall and reinstall is necessary. Is that because we're using git? We can't upgrade? Has to be a Pypi package?

in03 commented 2 years ago

Interesting! For pip it's like this:

pip install git+https://github.com/in03/proxima
pip install git+https://github.com/in03/proxima --upgrade

For pipx:

pipx install git+https://github.com/in03/proxima
pipx upgrade proxima

However.... Since I haven't been doing semver and I've been relying on version constraint keys and git commit SHAs for versioning, I get this error:

PS C:\Users\Caleb> pipx upgrade proxima
⚠️  Overwriting file C:\Users\Caleb\.local\bin\proxima.exe with C:\Users\Caleb\.local\pipx\venvs\proxima\Scripts\proxima.exe
proxima is already at latest version 0.1.0 (location: C:\Users\Caleb\.local\pipx\venvs\proxima)

Pipx uses the package version, not the commit sha to determine version. Unfortunately, you can't use --force to download and reisntall anyway.

Looks like another good reason to start using semver.