Closed antoinetran closed 1 year ago
Hi, if possible can you test in CentOS 7 environment too? It uses python 3.8. Here is a test environment:
mkdir /tmp/builder -p
cat <<EOF >/tmp/builder/Dockerfile
FROM centos:7
RUN yum update -y && yum install centos-release-scl -y
RUN yum install rh-python38-python-pip -y
RUN yum info rh-python38-python-pip rh-python38-python
RUN scl enable rh-python38 -- pip3 install chainconsumer
RUN scl enable rh-python38 -- pip3 install lisacattools
EOF
cd /tmp/builder/
docker build .
Expected behavior:
should work
Current behavior: docker build fails with
This is a bug of Cython 0.29.14 https://github.com/cython/cython/issues/3266, that is fixed 0.29.15.
However lisacctools has a hard-coded dependency to
astropy==4.2
(see https://github.com/tlittenberg/lisacattools/blob/main/requirements.txt#L1) which in turn has a dependency tocython==0.29.14
(see https://github.com/astropy/astropy/blob/v4.2/pyproject.toml#L5 ).Fix: It would be great to update astropy dependency, to at least 4.3 or more (https://github.com/astropy/astropy/blob/v4.3/pyproject.toml#L5 has fixed cython)