Skip to content

Commit

Permalink
TEST-#1891: use conda instead of pip (#2056)
Browse files Browse the repository at this point in the history
* TEST-#1891: use conda instead of pip

Signed-off-by: Anatoly Myachev <[email protected]>

* TEST-#1891: remove source ctivate modin

Signed-off-by: Anatoly Myachev <[email protected]>

* TEST-#1891: pin some dev tools

Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev authored Sep 9, 2020
1 parent 6140c81 commit 847d4a3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
17 changes: 11 additions & 6 deletions ci/teamcity/Dockerfile.teamcity-ci
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
FROM modin-project/modin-base

ARG REQUIREMENTS=requirements.txt
ARG ENVIRONMENT=environment.yml

ADD modin.tar /modin
ADD git-rev /modin/git-rev

WORKDIR /modin
RUN pip install -U pip setuptools
RUN pip install -U -r ${REQUIREMENTS}
RUN pip install -U pytest-remotedata
RUN pip install -e .[all]
RUN pip install PyGithub

RUN conda env create -f environment.yml

# Make RUN commands use the new environment:
SHELL ["conda", "run", "-n", "modin", "/bin/bash", "-c"]

RUN conda list

ENV PATH /opt/conda/envs/env/bin:$PATH
7 changes: 4 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ dependencies:
- pytables
- msgpack-python
- psutil
- pytest
- pytest-cov
- pytest-xdist
- pytest>=6.0.1
- pytest-cov>=2.10.1
- pytest-xdist>=2.1.0
- coverage<5.0
- pygithub==1.53
- pip:
- ray==0.8.7
- rpyc

0 comments on commit 847d4a3

Please sign in to comment.