Skip to content

Commit 847d4a3

Browse files
authored
TEST-#1891: use conda instead of pip (#2056)
* TEST-#1891: use conda instead of pip Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com> * TEST-#1891: remove source ctivate modin Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com> * TEST-#1891: pin some dev tools Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
1 parent 6140c81 commit 847d4a3

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

ci/teamcity/Dockerfile.teamcity-ci

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
FROM modin-project/modin-base
22

3-
ARG REQUIREMENTS=requirements.txt
3+
ARG ENVIRONMENT=environment.yml
44

55
ADD modin.tar /modin
66
ADD git-rev /modin/git-rev
7+
78
WORKDIR /modin
8-
RUN pip install -U pip setuptools
9-
RUN pip install -U -r ${REQUIREMENTS}
10-
RUN pip install -U pytest-remotedata
11-
RUN pip install -e .[all]
12-
RUN pip install PyGithub
9+
10+
RUN conda env create -f environment.yml
11+
12+
# Make RUN commands use the new environment:
13+
SHELL ["conda", "run", "-n", "modin", "/bin/bash", "-c"]
14+
15+
RUN conda list
16+
17+
ENV PATH /opt/conda/envs/env/bin:$PATH

environment.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ dependencies:
2323
- pytables
2424
- msgpack-python
2525
- psutil
26-
- pytest
27-
- pytest-cov
28-
- pytest-xdist
26+
- pytest>=6.0.1
27+
- pytest-cov>=2.10.1
28+
- pytest-xdist>=2.1.0
2929
- coverage<5.0
30+
- pygithub==1.53
3031
- pip:
3132
- ray==0.8.7
3233
- rpyc

0 commit comments

Comments
 (0)