benhoyt / scandir

Better directory iterator and faster os.walk(), now in the Python 3.5 stdlib
https://benhoyt.com/writings/scandir/
BSD 3-Clause "New" or "Revised" License
532 stars 68 forks source link

Test on Python 3.11 #143

Closed benhoyt closed 1 year ago

benhoyt commented 1 year ago

To see if tests fail on Python 3.11 Windows due to #141.

cielavenir commented 1 year ago

@benhoyt https://github.com/benhoyt/scandir/actions/runs/5993519451/job/16254028700 seems falling back to python implementation. Maybe a setup.py flag to fail if C-ext compilation fails is preffered.

benhoyt commented 1 year ago

Oh, good spotting, thanks! For now I think I'll just merge #142 (which now includes these changes). I think we had a reason for making build not fail in that case (way back when), so I'd rather not risk breaking that workflow.