pvshrink yields the below error when run under Python 3.8:
Traceback (most recent call last):
File "./pvshrink", line 118, in
match = re.search(r'Found text metadata area: offset=(\d+), size=(\d+)', pvck)
File "/usr/lib64/python3.8/re.py", line 201, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object