Closed davidmehren closed 11 months ago
Long term I think we want to not pip install uwsgi into /usr/lib.
Instead of --break-system-packages
, per latest merge commit can you test netbox_uwsgi_in_venv: true
works fine under Debian 12? We could just force installation into the virtualenv for Debian 12 as starters for moving to a virtualenv-only deployment.
I have tried @lae's suggestion in comment 1750519004:
Instead of adding --break-system-packages
(which does sound scary), I added
netbox_uwsgi_in_venv: true
to @davidmehren's debian-12.yml
, and with that I was able to install NetBox just fine on Debian, based on a recently forked NetBox git repo (3.6.5+). (I did have to perform a small piece of Git configuration, for which I'll create a separate issue.)
Superseded by #163.
The newer Python on Debian 12 requires the use of the
--break-system-packages
pip flag to install packages globally.Debian 12 also does not ship with a cron implementation anymore, so the
systemd-cron
compatibility package needs to be installed.