diff --git a/Dockerfile b/Dockerfile index 5a10fbf..3f72f1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ -FROM python:3 +FROM python:3.8 RUN mkdir /srv/backtab/ -#RUN apt-get -y update && apt-get install git mercurial WORKDIR /usr/src/app COPY requirements.txt ./ @@ -22,4 +21,4 @@ RUN echo github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK RUN git config --global user.name "Backtab server" && git config --global user.email "backtab@example.com" CMD ["/bin/bash", "/docker-startup.sh"] -EXPOSE 4903 \ No newline at end of file +EXPOSE 4903 diff --git a/README.md b/README.md index 5c2415d..9494f37 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ backtab to use a ssh:// url; if so, add your SSH private key to Running natively ---------------- +**NOTE:** +Backtab is currently not compatible with Python 3.9 or later. Please use Python 3.8. Check out a copy of your data repository wherever you find convenient. We'll call that location `/srv/backtab/tab-data`. diff --git a/requirements.txt b/requirements.txt index 4197a4c..5b33a58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ --e hg+https://bitbucket.org/blais/beancount#egg=beancount +beancount >= 2, < 3 bottle >= 0.12, < 0.13 PyYAML >= 3.13, <4 click >= 7.0, <8 diff --git a/setup.py b/setup.py index 7a4ac05..c0d72a1 100755 --- a/setup.py +++ b/setup.py @@ -19,9 +19,6 @@ "bottle >= 0.12, <0.13", "PyYAML >= 3.13, <4", "sdnotify >= 0.3.1, <0.4", - "beancount", - ], - dependency_links=[ - "hg+https://bitbucket.org/blais/beancount#egg=beancount", + "beancount >= 2, < 3", ], )