maintainer-approval requested: [Bug 256272] sysutils/py-scandir: Fails to stage on Python 3.9: error: redefinition of 'PyStructSequence_UnnamedField' with a different type: 'char *' vs 'const char *const' (breaks www/py-graphite-web) : [Attachment 225411] www/py-graphite-web: Drop dependency on sysutils/py-scandir
Date: Mon, 31 May 2021 15:17:32 UTC
John W. O'Brien <john@saltant.com> has asked freebsd-ports-bugs (Nobody) <ports-bugs@FreeBSD.org> for maintainer-approval: Bug 256272: sysutils/py-scandir: Fails to stage on Python 3.9: error: redefinition of 'PyStructSequence_UnnamedField' with a different type: 'char *' vs 'const char *const' (breaks www/py-graphite-web) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256272 Attachment 225411: www/py-graphite-web: Drop dependency on sysutils/py-scandir https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225411&action=edit --- Comment #2 from John W. O'Brien <john@saltant.com> --- Created attachment 225411 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225411&action=edit www/py-graphite-web: Drop dependency on sysutils/py-scandir Based on static analysis, I conclude that www/py-graphite-web supports scandir from the standard library and will preferentially use it when it is available. Therefore, the port can unconditionally drop the dependency because it is already limited to Python 3.5 and newer. I have reported a bug [0] and proposed a patch [1] upstream. sysutils/scandir should be limited to python:3.6-3.8 [0] https://github.com/graphite-project/graphite-web/issues/2705 [1] https://github.com/graphite-project/graphite-web/pull/2706