Skip to content

Commit

Permalink
Prepare mage for 1.12.1 patch release (#417)
Browse files Browse the repository at this point in the history
* Prepare mage for 1.12.1 patch release

* add fix for cleaning modules

* add dockerfile cleaning

* fix failling test

* revert setup script

* revert setup completely

* fix loading of csv utils module

---------

Co-authored-by: antoniofilipovic <[email protected]>
  • Loading branch information
MarkoBarisic and antoniofilipovic authored Nov 21, 2023
1 parent e6b7474 commit 828b55a
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
env:
DOCKER_ORGANIZATION_NAME: memgraph
DOCKER_REPOSITORY_NAME: memgraph-mage
MEMGRAPH_VERSION: 2.12.0
MEMGRAPH_VERSION: 2.12.1
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: True
env:
MEMGRAPH_VERSION: 2.12.0
MEMGRAPH_VERSION: 2.12.1
strategy:
matrix:
architecture: ["amd64", "arm64"]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM debian:bullseye as base

USER root

ARG MG_VERSION=2.12.0
ARG MG_VERSION=2.12.1
ARG PY_VERSION_DEFAULT
ENV MG_VERSION ${MG_VERSION}
ENV PY_VERSION ${PY_VERSION_DEFAULT}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.cugraph
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG CUGRAPH_VERSION=22.02
ARG CUDA_VERSION=11.5
ARG CUDA_VERSION_MINOR=11.5.2
ARG PY_VERSION=3.8
ARG MG_VERSION=2.12.0
ARG MG_VERSION=2.12.1

FROM rapidsai/rapidsai:${CUGRAPH_VERSION}-cuda${CUDA_VERSION}-runtime-ubuntu20.04-py${PY_VERSION} as cugraph-dev

Expand Down
6 changes: 5 additions & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ RUN apt-get update && apt-get install -y \

COPY memgraph-${TARGETARCH}.deb .

RUN dpkg -i memgraph-${TARGETARCH}.deb && rm memgraph-${TARGETARCH}.deb
# Hack to remove modules that cause error on loading of torch modules
# Must be here due to multi-phase build. The setup script is in dev phase
# whereas we unpack memgraph in the base phase
RUN dpkg -i memgraph-${TARGETARCH}.deb && rm memgraph-${TARGETARCH}.deb && rm /usr/lib/memgraph/query_modules/schema.so \
&& rm /usr/lib/memgraph/query_modules/example_cpp.so

ENV LD_LIBRARY_PATH /usr/lib/memgraph/query_modules

Expand Down
2 changes: 2 additions & 0 deletions cpp/csv_utils_module/csv_utils_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ extern "C" int mgp_init_module(mgp_module *module, mgp_memory *memory) {
}
return 0;
}

extern "C" int mgp_shutdown_module() { return 0; }
2 changes: 1 addition & 1 deletion cpp/memgraph
Submodule memgraph updated 176 files
2 changes: 1 addition & 1 deletion e2e/node_similarity_test/test_list_list_cosine_c/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
query: >
MATCH (m)
WHERE m.id > 2 AND m.id < 5
WHERE m.id > 0 AND m.id < 2
WITH collect(m) as nodes1
MATCH (n)
Expand Down
1 change: 0 additions & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ def build(args: Dict[str, Any]) -> bool:

return True


def run_build_action(args: Dict[str, Any]) -> bool:
logger.info("[Terminal] Starting building and copying source code...")
status = build(args)
Expand Down

0 comments on commit 828b55a

Please sign in to comment.