[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)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 May 2021 15:17:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256272

John W. O'Brien <john@saltant.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ports-bugs@FreeBSD.org
 Attachment #225411|                            |maintainer-approval?(ports-
              Flags|                            |bugs@FreeBSD.org)

--- 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.