Skip to content

Commit 2735cfc

Browse files
committed
push patched pandas 1.3.0
issue and patch detailed here: pandas-dev/pandas#43722
1 parent 09702e8 commit 2735cfc

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Dockerfile.homeassistant

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,18 @@ RUN \
6767
pip3 install -U pip==20.2 setuptools==57.5.0 wheel cython && \
6868
mkdir -p /build && \
6969
cd /tmp/core && \
70-
pip wheel --wheel-dir=/build --find-links="https://wheel-index.linuxserver.io/alpine-3.15/" --find-links="https://wheel-index.linuxserver.io/homeassistant-3.15/" --no-cache-dir \
71-
homeassistant==${HASS_RELEASE} && \
72-
pip wheel --wheel-dir=/build --find-links="https://wheel-index.linuxserver.io/alpine-3.15/" --find-links="https://wheel-index.linuxserver.io/homeassistant-3.15/" --no-cache-dir \
73-
-r requirements_all.txt && \
74-
pip wheel --wheel-dir=/build --find-links="https://wheel-index.linuxserver.io/alpine-3.15/" --find-links="https://wheel-index.linuxserver.io/homeassistant-3.15/" --no-cache-dir \
75-
-r https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/requirements.txt && \
70+
curl -sL https://github.com/pandas-dev/pandas/archive/refs/tags/v1.3.0.tar.gz -o /tmp/pandas.tar.gz && \
71+
mkdir -p /tmp/pandas && \
72+
tar xf /tmp/pandas.tar.gz -C /tmp/pandas --strip-components=1 && \
73+
cd /tmp/pandas && \
74+
sed -i 's|\(numpy==1\.19\.3.*Darwin..\).*",|\1",|' pyproject.toml && \
75+
pip wheel --wheel-dir=/build --no-cache-dir . && \
76+
# pip wheel --wheel-dir=/build --find-links="https://wheel-index.linuxserver.io/alpine-3.15/" --find-links="https://wheel-index.linuxserver.io/homeassistant-3.15/" --no-cache-dir \
77+
# homeassistant==${HASS_RELEASE} && \
78+
# pip wheel --wheel-dir=/build --find-links="https://wheel-index.linuxserver.io/alpine-3.15/" --find-links="https://wheel-index.linuxserver.io/homeassistant-3.15/" --no-cache-dir \
79+
# -r requirements_all.txt && \
80+
# pip wheel --wheel-dir=/build --find-links="https://wheel-index.linuxserver.io/alpine-3.15/" --find-links="https://wheel-index.linuxserver.io/homeassistant-3.15/" --no-cache-dir \
81+
# -r https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/requirements.txt && \
7682
echo "**** cleanup ****" && \
7783
apk del --purge \
7884
build-dependencies \

0 commit comments

Comments
 (0)