Allow pyproject plugin to work with python < 3.11

Reliance on tomllib from stdlib makes the pyproject plugin fail with older python interpreters — this would prevent backporting dh-python to Debian oldstable or LTS releases of various derivatives.

Related to: #1032866 Closes: #1043301

Merge request reports

Loading