Skip to content

Commit f6d8d8a

Browse files
Try installing less pandas versions
1 parent 9bfe4e0 commit f6d8d8a

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

k8/images/pandas/Dockerfile

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ FROM ${FROM}
55

66
RUN apt-get update && \
77
apt-get -y install --no-install-recommends \
8-
libsnappy-dev \
9-
&& rm -rf /var/lib/apt/lists/*
8+
libsnappy-dev \
9+
&& rm -rf /var/lib/apt/lists/*
1010

1111
WORKDIR /usr/src/app
1212

@@ -20,10 +20,18 @@ RUN git clone \
2020
.
2121

2222

23+
# Don't install all depenedencies, so we only run tests
24+
# that use these!
25+
# Otherwise tests run out of memory
2326
RUN --mount=type=cache,target=/root/.cache/pip \
2427
pip install \
25-
-r requirements-dev.txt \
26-
pytest-custom_exit_code
28+
pytest \
29+
setuptools \
30+
numpy \
31+
python-dateutil \
32+
pytz \
33+
cython \
34+
pytest-custom_exit_code
2735

2836

2937
RUN python setup.py build_ext --inplace -j 4
@@ -37,4 +45,4 @@ RUN python -c "import pandas"
3745

3846

3947
ENV PYTHON_RECORD_API_FROM_MODULES=pandas
40-
CMD [ "pytest", "pandas", "--skip-slow", "--skip-network", "--skip-db", "-m", "not single", "-r", "sxX", "--strict", "--suppress-tests-failed-exit-code" ]
48+
CMD [ "pytest", "pandas", "-m", "not slow and not network and not clipboard", "--strict", "--suppress-tests-failed-exit-code" ]

k8/images/pandas/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.1.0-1

0 commit comments

Comments
 (0)