control: tags -1 +moreinfo On Fri, Oct 29, 2021 at 6:27 PM Sebastian Berg <sebastian-debian-b...@sipsolutions.net> wrote: > Environments that use a version different from the system one > (e.g. for development purposes, or pip installed versions) seem > to pick up the included link in: > > /usr/include/python3.9 > > Rather than the correct headers as reported by NumPy (using > `np.get_include()`). > Removing the link fixes these compiles.
i'm not sure supporting a mixed environment of debian packages and pip installed modules is the debian maintainer's responsibility: once users install software outside of Debian, they usually are on their own. > The link seems like it should be unnecessary, although, I suppose it may work > around incorrectly set-up packages, so maybe there is a reason for having it? I did some digging, and this seems to be rooted in 10+ changes, but i'm not willing to remove that symlink since in a pure debian setup it does no harm and likely it's the way custom/old/outdated extensions find the numpy headers. If you feel strongly this symlink needs to be removed, please conduct a thorough analysis of the impact that such removal would cause and report back on this report, else i'm inclined to just close it out. Regards, -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi