Created
June 21, 2023 19:15
-
-
Save maybe-hello-world/62e7d2c4e5b7c2e72e31e128e4cce041 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 3267f1d548e53c0b26bd66070d27ba70e20afab4 Mon Sep 17 00:00:00 2001 | |
From: maybe-hello-world <[email protected]> | |
Date: Thu, 8 Jun 2023 18:29:56 -0700 | |
Subject: [PATCH] fix reproducibility | |
--- | |
use_cases/nprint_ids_case/Dockerfile | 8 ++++++-- | |
use_cases/nprint_ids_case/pyproject.toml | 4 +++- | |
use_cases/nprint_ids_case/requirements.txt | 7 +++++++ | |
3 files changed, 16 insertions(+), 3 deletions(-) | |
create mode 100644 use_cases/nprint_ids_case/requirements.txt | |
diff --git a/use_cases/nprint_ids_case/Dockerfile b/use_cases/nprint_ids_case/Dockerfile | |
index 707a2b5..95622f2 100644 | |
--- a/use_cases/nprint_ids_case/Dockerfile | |
+++ b/use_cases/nprint_ids_case/Dockerfile | |
@@ -25,7 +25,9 @@ RUN ./install.sh | |
# install poetry | |
RUN pip3 install --upgrade pip | |
-RUN pip3 install poetry | |
+RUN pip3 uninstall -y distro-info | |
+RUN pip3 install --upgrade poetry rootpath protobuf==3.20.0 tensorflow | |
+RUN pip3 install urllib3==1.26 | |
# install nprint | |
WORKDIR / | |
@@ -44,5 +46,7 @@ COPY . /emperor | |
WORKDIR /emperor | |
# these deps were throwing an | |
RUN pip3 install --ignore-installed PyYAML entrypoints | |
-RUN poetry config virtualenvs.create false && poetry install | |
+# RUN rm -rf poetry.lock | |
+# RUN poetry config virtualenvs.create true && poetry install -vvv | |
+RUN pip install -r requirements.txt | |
RUN pip3 install nprintml | |
diff --git a/use_cases/nprint_ids_case/pyproject.toml b/use_cases/nprint_ids_case/pyproject.toml | |
index a700dec..553ef3b 100644 | |
--- a/use_cases/nprint_ids_case/pyproject.toml | |
+++ b/use_cases/nprint_ids_case/pyproject.toml | |
@@ -5,7 +5,9 @@ description = "This package contains reproducibility artificats for the paper 'A | |
authors = ["Arthur Jacobs <[email protected]>"] | |
[tool.poetry.dependencies] | |
-python = ">=3.7,<3.9" | |
+python = ">=3.7, <3.9" | |
+awscli = "1.27.130" | |
+boto3 = "1.26.130" | |
scipy = "^1.4.1" | |
pandas = "^1.1.0" | |
pydotplus = "^2.0.2" | |
diff --git a/use_cases/nprint_ids_case/requirements.txt b/use_cases/nprint_ids_case/requirements.txt | |
new file mode 100644 | |
index 0000000..a66d941 | |
--- /dev/null | |
+++ b/use_cases/nprint_ids_case/requirements.txt | |
@@ -0,0 +1,7 @@ | |
+scipy | |
+pandas | |
+pydotplus | |
+pcap-splitter | |
+nprintml | |
+trustee | |
+autogluon | |
-- | |
2.39.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment