From 9bce4a983465773bd9f603672f82bbed6a3ff27f Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Mon, 26 Aug 2024 09:56:07 +0200 Subject: [PATCH] Fix incompatible beancount version --- images/beancount-import/Dockerfile | 2 +- images/beancount-import/requirements.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/images/beancount-import/Dockerfile b/images/beancount-import/Dockerfile index 15e5cd7..c0b7fcb 100644 --- a/images/beancount-import/Dockerfile +++ b/images/beancount-import/Dockerfile @@ -21,4 +21,4 @@ EXPOSE 8080 VOLUME ${BEANCOUNT_IMPORT_DATA_DIR} VOLUME ${BEANCOUNT_IMPORT_JOURNAL_DIR} -CMD python3 /beancount-import/run.py --address 0.0.0.0 --port 8080 ${BEANCOUNT_IMPORT_ARGS} +CMD [ "python3", "/beancount-import/run.py", "--address", "0.0.0.0", "--port", "8080", "${BEANCOUNT_IMPORT_ARGS}" ] diff --git a/images/beancount-import/requirements.txt b/images/beancount-import/requirements.txt index 4ffd9a2..33c2bb0 100644 --- a/images/beancount-import/requirements.txt +++ b/images/beancount-import/requirements.txt @@ -1,2 +1,5 @@ +# beancount-import doesn't specify this constraint itself, but is also +# not compatible with v3. So we need to ensure this here. +beancount<3.0.0 beancount-import==1.4.0 smart_importer==0.5