Replacing python-dateutil to remove six

16 points by ubernostrum


fly

This is probably going to break in June. Or even just 1/1/2026.

dryya

+1 on import datetime as dt, I got that from the same source about a year ago and it's been a minor but real QoL improvement. If you use ruff you can enforce it with

[tool.ruff.lint.flake8-import-conventions.extend-aliases]
"datetime" = "dt"
matthew2

Goodbye six, and we also get slightly quicker install, import and run times.

Is there something especially problematic about six, or is it just about having one fewer dependency to install?