Hotfix testing support for Python 3.12

A recent patch in Python late-3.11 and 3.12 changed a detail in how enum works... again. Empty enum.Flag subclasses don't work any more. This MR gives the affected classes in the database reference parser a single member to make enum happy.

CI now (may) test Python 3.12.

Backward Compatibility

  • This MR does not alter the data formats.
  • This MR does not alter any CLIs.

Checklist

  • I have run pre-commit run -a on my local checkout and fixed any reported issues.
  • I have confirmed that existing tests and/or the tests added by this MR cover the changes introduced by this MR.
  • I have confirmed that any added tests will be automatically run in CI.
  • I have updated all relevant documentation:

Merge request reports

Loading