Skip to content

Make hid-tools compatible with python 3.9

Benjamin Tissoires requested to merge bentiss/hid-tools:python-3.9 into master

Turns out that RHEL 9 still ships python 3.9, and relying on 3.10 features is too much of an issue for me.

  • rely on typing_extensions for TypeAlias
  • convert foo | bar into Union [foo, bar]

Fixes #43 (closed)

Signed-off-by: Benjamin Tissoires benjamin.tissoires@gmail.com

Edited by Benjamin Tissoires

Merge request reports

Loading