lpod-python is quite dated, no longer maintained and increasingly hard to get to run on modern systems because it's Python 2 only and Python 2 is no longer supported upstream as of 2020 and has been removed from some Linux Distributions already.
There are two candidates for succession, odfdo and lpod-python3. odfdo has been modified while lpod-python3 retains the old API. I opted for odfdo because it's on PyPI while lpod-python3 isn't.
In this series of commits, I modified odpdown to use odfdo and adjusted the tests accordingly. The tests pass on Python 3.9 and Python 3.10 (I did not test any others).
A bit of a caveat on requirements: the lxml require is a bit tight because it is the sort of lowest common denominator setuptools can handle. If one wanted to specify all lxml versions odfdo allows, one would have to pull in poetry to allow for a package specification with more fine grained dependencies. I forewent that for now.
lpod-python is quite dated, no longer maintained and increasingly hard to get to run on modern systems because it's Python 2 only and Python 2 is no longer supported upstream as of 2020 and has been removed from some Linux Distributions already.
There are two candidates for succession, odfdo and lpod-python3.
odfdo
has been modified whilelpod-python3
retains the old API. I opted forodfdo
because it's on PyPI whilelpod-python3
isn't.In this series of commits, I modified odpdown to use odfdo and adjusted the tests accordingly. The tests pass on Python 3.9 and Python 3.10 (I did not test any others).
A bit of a caveat on requirements: the lxml require is a bit tight because it is the sort of lowest common denominator setuptools can handle. If one wanted to specify all lxml versions odfdo allows, one would have to pull in
poetry
to allow for a package specification with more fine grained dependencies. I forewent that for now.