From fbbb096ceca602b9230c71d1d1dce408db3e9b8f Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 4 Oct 2021 11:15:51 -0700 Subject: [PATCH] Note in documentation that borgmatic requires Python 3.6+. --- borgmatic/config/schema.yaml | 2 +- docs/how-to/develop-on-borgmatic.md | 2 -- docs/how-to/set-up-backups.md | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index c0bf2e3..5828f2a 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -635,7 +635,7 @@ properties: Password with which to connect to the database. Omitting a password will only work if PostgreSQL is configured to trust the configured username - without a password, or you create a ~/.pgpass + without a password or you create a ~/.pgpass file. example: trustsome1 format: diff --git a/docs/how-to/develop-on-borgmatic.md b/docs/how-to/develop-on-borgmatic.md index 721255b..0f546e7 100644 --- a/docs/how-to/develop-on-borgmatic.md +++ b/docs/how-to/develop-on-borgmatic.md @@ -66,8 +66,6 @@ following: tox -e black ``` -Note that Black requires at minimum Python 3.6. - And if you get a complaint from the [isort](https://github.com/timothycrosley/isort) Python import orderer, you can ask isort to order your imports for you: diff --git a/docs/how-to/set-up-backups.md b/docs/how-to/set-up-backups.md index 3dc4777..6ad551a 100644 --- a/docs/how-to/set-up-backups.md +++ b/docs/how-to/set-up-backups.md @@ -28,7 +28,7 @@ sudo pip3 install --user --upgrade borgmatic This installs borgmatic and its commands at the `/root/.local/bin` path. Your pip binary may have a different name than "pip3". Make sure you're using -Python 3, as borgmatic does not support Python 2. +Python 3.6+, as borgmatic does not support Python 2. The next step is to ensure that borgmatic's commands available are on your system `PATH`, so that you can run borgmatic: