In version > 2.27, introduced by this PR: https://github.com/apache/beam/pull/13302/files#diff-33b0b6b112036df96f341aa83b88efba9215ec14dfabc9db9e9ffe66a23154a2R55
The parquetio module parses the pyarrow version like this:
This does not support all PEP-440 compliant versions: https://peps.python.org/pep-0440/
For example, if pyarrow were to have a version like this: 1.0.0+abc.7, then this module would fail:
In practice, this would fail when somebody forks pyarrow, like yours truly.
We can fix this by using pkg_resourses.parse_version which is PEP-440 compliant starting setuptools 6.0.
If maintainers agree with this change I would be wiling to submit a PR.