Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2021 15:17:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   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
Message-ID:  <bug-256272-7788-FDHiR7z6T8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256272-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256272-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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: 'cha=
r *'
vs 'const char *const' (breaks www/py-graphite-web)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256272

Attachment 225411: www/py-graphite-web: Drop dependency on sysutils/py-scan=
dir
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225411&action=3Dedit



--- Comment #2 from John W. O'Brien <john@saltant.com> ---
Created attachment 225411
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225411&action=
=3Dedit
www/py-graphite-web: Drop dependency on sysutils/py-scandir

Based on static analysis, I conclude that www/py-graphite-web supports scan=
dir
from the standard library and will preferentially use it when it is availab=
le.
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 prop=
osed
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256272-7788-FDHiR7z6T8>