[Bug 261086] www/py-graphite-web: conflicts with net-mgmt/netbox: django22 versus django32

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 06 Aug 2022 20:11:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261086

--- Comment #7 from Kai Knoblich <kai@FreeBSD.org> ---
(In reply to Muhammad Moinur Rahman from comment #6)

Yes, because each Django version has the same namespace (= "django"). So only
one version of Django can be present for a specific Python version.

It can be reproduced via installing "py39-django32" first and then
"py39-django40".

Thus I only can think of following workarounds at the moment:

- Make use of jails.

- Use different Python versions, e.g. py38 for www/py-graphite and py39 for
net-mgmt/netbox. In that case, both www/py-django32 and www/py-django40 still
need "USE_PYTHON=concurrent" to make it possible. 

- Someone(tm), who has much time/brainpower and can craft a useful
"USE_PYTHON=django" or "USES=django", e.g. give review D12592 a major overhaul
and shepherd it into the Ports tree.

- Use a Python virtualenv.

-- 
You are receiving this mail because:
You are the assignee for the bug.