Skip to content

Commit d97fb63

Browse files
authored
Use flatland-rl 4.0.4. (#162)
1 parent e8a3b64 commit d97fb63

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

evaluation/compute_worker/tasks_docker_compose.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
S3_UPLOAD_PATH_TEMPLATE_USE_SUBMISSION_ID = os.getenv("S3_UPLOAD_PATH_TEMPLATE_USE_SUBMISSION_ID", None)
3131

3232
BENCHMARKING_NETWORK = os.environ.get("BENCHMARKING_NETWORK", None)
33-
SUPPORTED_CLIENT_VERSIONS = os.environ.get("SUPPORTED_CLIENT_VERSIONS", "4.0.3,4.0.3.dev23+gaa5df390,4.0.3.dev23+g31763152,4.0.3.dev26+g7d2da62c")
33+
SUPPORTED_CLIENT_VERSIONS = os.environ.get("SUPPORTED_CLIENT_VERSIONS", "4.0.4,4.0.3")
3434

3535

3636
# https://celery.school/custom-celery-task-logger

evaluation/evaluator/Dockerfile

-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
FROM continuumio/miniconda3
22

33
RUN apt-get update && apt-get install gcc build-essential wget zip -y
4-
# TODO temporary workaround till 4.0.4 is released (https://github.com/flatland-association/flatland-rl/pull/112)
5-
RUN apt-get install git -y
64

75
# Replace shell with bash so we can source files
86
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
@@ -21,8 +19,6 @@ RUN set -e && set -x && conda --version && \
2119
source activate base && \
2220
conda env list && \
2321
conda activate flatland-rl && \
24-
# TODO temporary workaround till 4.0.4 is released (https://github.com/flatland-association/flatland-rl/pull/112)
25-
git clone https://github.com/flatland-association/flatland-rl.git /tmp/flatland-rl && cd /tmp/flatland-rl && git checkout feature/dump-evaluation-state && python -m pip install -r requirements-dev.txt && python -m build && python -m pip install /tmp/flatland-rl/dist/flatland_rl-4.0.3.*.tar.gz && python -m pip list && \
2622
python -c 'from flatland.evaluators.service import FlatlandRemoteEvaluationService'
2723

2824
COPY run.sh ./

evaluation/evaluator/environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ dependencies:
33
- python==3.10.16
44
- pip:
55
- pyyaml
6-
- flatland-rl==4.0.3
6+
- flatland-rl==4.0.4

0 commit comments

Comments
 (0)