gphotos-sync icon indicating copy to clipboard operation
gphotos-sync copied to clipboard

FREEBSD - pstuil dependency too high

Open bitclick opened this issue 1 year ago • 5 comments

Summary

  • OS: FREEBSD 11
  • Architecture: 64bit
  • Psutil version: 5.8.0
  • Python version: Python 3.8.12
  • Type: installation

Description

  • dependency for psutil is higher than neccessary (5.9.4)
  • Freebsd 11 ships with python 3.8 which is supported. this comes with psutil 5.8.0
    • pip psutil cannot be installed because of an upstream bug with python headers (resolved in later Freebsd releases)
    • Freebsd 11 is out of support so a fix will likely not come
  • this project runs fine with psutil 5.8.0 when installed manually (tested with symlinked distro-psutil into the venv site-packages)

possible fix

  • lower the required version of psutil to 5.8.0
  • pip installation should be working fine in freebsd 11

comment

  • freebsd 11 is old but it still runs on some hosts with a lot of jails for automation
  • with this bug, it is currently not working, though the python-version 3.8 is good enough
  • fixing this should be a low-hanging fruit

bitclick avatar Sep 06 '23 15:09 bitclick