From 34be62b94106d96d00b723e3b1e2fef32effb6af Mon Sep 17 00:00:00 2001 From: civilx64 <26513472+civilx64@users.noreply.github.com> Date: Mon, 4 Nov 2024 00:41:55 -0500 Subject: [PATCH 1/2] update ifcopenshell version for ALS016 fix --- backend/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Makefile b/backend/Makefile index 9d7202a..baf435a 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -13,7 +13,7 @@ install: venv . $(VIRTUAL_ENV)/bin/activate && \ pip install --upgrade pip && \ pip install -r requirements.txt && \ - wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.7.9-c18e4ea-linux64.zip" && \ + wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.8.1-92b63a0-linux64.zip" && \ mkdir -p $(VIRTUAL_ENV)/lib/python3.11/site-packages && \ unzip -f -d $(VIRTUAL_ENV)/lib/python3.11/site-packages /tmp/ifcopenshell_python.zip && \ rm /tmp/ifcopenshell_python.zip @@ -22,7 +22,7 @@ install-macos: venv . $(VIRTUAL_ENV)/bin/activate && \ pip install --upgrade pip && \ pip install -r requirements.txt && \ - wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.7.9-c18e4ea-macos64.zip" && \ + wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.8.1-92b63a0-macos64.zip" && \ mkdir -p $(VIRTUAL_ENV)/lib/python3.11/site-packages && \ unzip /tmp/ifcopenshell_python.zip -d .dev/venv/lib/python3.11/site-packages && \ rm /tmp/ifcopenshell_python.zip From bde4622bf9e8fa168f307588b36faefc7b2e6101 Mon Sep 17 00:00:00 2001 From: civilx64 <26513472+civilx64@users.noreply.github.com> Date: Mon, 4 Nov 2024 09:42:25 -0500 Subject: [PATCH 2/2] update ifcopenshell version in Dockerfile also --- docker/backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/backend/Dockerfile b/docker/backend/Dockerfile index f843379..08dbbaf 100644 --- a/docker/backend/Dockerfile +++ b/docker/backend/Dockerfile @@ -37,7 +37,7 @@ RUN --mount=type=cache,target=/root/.cache \ pip install --no-cache-dir -r /app/backend/requirements.txt && \ # use version of ifcopenshell with desired schema parsing # TODO: revert to pyPI when schema parsing is published in the future - wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.7.9-c18e4ea-linux64.zip" && \ + wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.8.1-92b63a0-linux64.zip" && \ mkdir -p /opt/venv/lib/python3.11/site-packages && \ unzip -d /opt/venv/lib/python3.11/site-packages /tmp/ifcopenshell_python.zip && \ # some cleanup