graphite-project / graphite-web

A highly scalable real-time graphing system
http://graphite.readthedocs.org/
Apache License 2.0
5.89k stars 1.26k forks source link

[BUG] Third-party scandir pulled in when standard library would suffice #2705

Closed neirbowj closed 3 years ago

neirbowj commented 3 years ago

Describe the bug When built/installed against Python 3.5 or later, when scandir is available in the standard library, graphite-web still depends on the third-party library.

To Reproduce Build/install graphite-web under Python 3.5 or later.

Expected behavior The third-party scandir is only pulled in when using Python older than 3.5.

Screenshots N/A

Environment (please complete the following information):

Additional context FreeBSD ports bug 256272