[QPKG] sherpa: a mini-package-manager (CLI)

Confirmed, Entware’s Python has been upgraded from 3.11.10 to 3.13.9, leaving Watcher3’s existing virtual environment incompatible. In the end, I managed to get Watcher3 running again with the following changes:

  1. Created a new Python 3.13 virtual environment.
  2. Installed compatible dependencies, including setuptools==80.9.0, typing_extensions and legacy-cgi.
  3. Created a small Python launcher (watcher3-launch.py) that preloads pkg_resources and typing_extensionsbefore executing watcher.py. This works around incompatibilities with older libraries bundled in Watcher3’s repo-cache/lib.
  4. Modified watcher3.sh to use the new virtual environment and launcher.
  5. Disabled Watcher3’s automatic Git update check (Server.checkupdates = false), as it was hanging during startup on a Git fetch.
  6. Disabled automatic updates for OWatcher3 in /etc/config/qpkg.conf to avoid having the workaround overwritten by an automatic update.

Watcher3 is now running happily again through the standard QPKG service script. I suppose I have a little more time now to put some money aside for a new NAS. It’ll have to be another QNAP, of course. I couldn’t possibly contemplate a life without sherpa!

Excellent! :nerd_face:

Do you have any other sherpa QPKGs that require migration? These are QPKGs that start with O (except for OliveTin). The migration feature won’t be there forever.