packaging
packaging copied to clipboard
chore: update pre-commit pins and fix issues
Bumps things like Ruff and MyPy and applied the simplest (minimal change) fixes for the issues. Longer term, asserts could remove some of the type ignores.
FYI, I need the mypy bump in this for the pyproject-metadata work.
Rebased now that #828 is in.
Added orjson which is supposed to make mypy 1.13 25% faster.
Interesting, pypy3.8 reported Fatal Python error: Segmentation fault. pypy3.8 and pypy3.9 have passed EoL, so might be best to drop them if they are flaky.