tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: python and exact dependencies
> I'm trying to package homeassistant (in wip - partially done), and it
> has exact dependencies on python module packages, rather than accepting
> 0.11.7 when it wanted 0.11.5.
>
> I have not generally seen this before, and I wonder what our approach is
> in pkgsrc. I could see any of
>
> upstream is buggy and should be fixed to be >=
>
> one should use some sort of virtualenv and pip, but somehow within
> pkgsrc
>
> and of course something else I didn't think of.
You should patch setup.py to accept >= instead of ==.
Also, py-homeassistant requires Python >= 3.6.0, so add
PYTHON_VERSIONS_INCOMPATIBLE=27
:)
Kind regards,
Adam
Home |
Main Index |
Thread Index |
Old Index