[Bug 256272] www/py-graphite-web: Skipped w/py39 due to sysutils/py-scandir incompatibility

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 May 2021 21:45:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256272

            Bug ID: 256272
           Summary: www/py-graphite-web: Skipped w/py39 due to
                    sysutils/py-scandir incompatibility
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: john@saltant.com
                CC: sunpoet@FreeBSD.org
                CC: sunpoet@FreeBSD.org

www/py-graphite-web depends on sysutils/py-scandir. sysutils/py-scandir@py39
fails "stage" with the following error.

_scandir.c:663:7: error: redefinition of 'PyStructSequence_UnnamedField' with a
different type: 'char *' vs 'const char *const'
char *PyStructSequence_UnnamedField = "unnamed field";
      ^
/usr/local/include/python3.9/structseq.h:22:27: note: previous declaration is
here
extern const char * const PyStructSequence_UnnamedField;
                          ^
1 error generated.


The reason I am filing this bug against www/py-graphite-web instead of
sysutils/py-scandir is because the scandir module has been included in the
Python standard library since 3.5 [0], so I would hope that the dependency
could be dropped. If desired, I will file a bug against sysutils/py-scandir
instead.

[0] https://docs.python.org/3.8/whatsnew/3.5.html?highlight=scandir

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