Closed DeusExLibris closed 1 year ago
What's the version of the lzo-devel
package? I've seen this exact issue on a system where the latest version of lzo is 2.06 which is not compatible with recent versions of python-lzo that expects 2.10. But that still doesn't explain why 1.14 works when there hasn't been any obvious change in setup.py
. Does it work if instead you use this wheel in your requirements.txt? See #75 for more details.
We use python-lzo for decompressing files in Apache Airflow 2.4.3 on Amazon Managed Workflow for Apache Airflow (MWAA). This was working fine until v1.15 was released and we started getting the following error when installing requirements.txt:
I was able to resolve this issue by forcing pip to use v1.14 in the requirements.txt file:
git+https://github.com/jd-boyd/python-lzo.git@v1.14
Amazon does not release a lot of information about the underlying container but I am fairly certain that it is running on Amazon Linux 2 and Python 3.10.
I was able to install via command line on a standalone Amazon Linux 2023 EC2 instance but I am unable to determine why this is the case since I can't create a standalone instance of the MWAA container image.
I am hoping that the error will provide enough information for you to address this. In the meantime, we will continue to use v1.14.