diff --git a/.drone.yml b/.drone.yml index 2a8dea1b5..a2e92ac95 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,64 +1,3 @@ ---- -kind: pipeline -name: python-3-6-alpine-3-9 - -services: - - name: postgresql - image: postgres:11.9-alpine - environment: - POSTGRES_PASSWORD: test - POSTGRES_DB: test - - name: mysql - image: mariadb:10.3 - environment: - MYSQL_ROOT_PASSWORD: test - MYSQL_DATABASE: test - - name: mongodb - image: mongo:5.0.5 - environment: - MONGO_INITDB_ROOT_USERNAME: root - MONGO_INITDB_ROOT_PASSWORD: test - -clone: - skip_verify: true - -steps: -- name: build - image: alpine:3.9 - pull: always - commands: - - scripts/run-full-tests ---- -kind: pipeline -name: python-3-7-alpine-3-10 - -services: - - name: postgresql - image: postgres:11.9-alpine - environment: - POSTGRES_PASSWORD: test - POSTGRES_DB: test - - name: mysql - image: mariadb:10.3 - environment: - MYSQL_ROOT_PASSWORD: test - MYSQL_DATABASE: test - - name: mongodb - image: mongo:5.0.5 - environment: - MONGO_INITDB_ROOT_USERNAME: root - MONGO_INITDB_ROOT_PASSWORD: test - -clone: - skip_verify: true - -steps: -- name: build - image: alpine:3.10 - pull: always - commands: - - scripts/run-full-tests ---- kind: pipeline name: python-3-8-alpine-3-13 diff --git a/NEWS b/NEWS index 350af32e3..f4278c0b0 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,8 @@ * #471: When command-line configuration override produces a parse error, error cleanly instead of tracebacking. * #476: Fix unicode error when restoring particular MySQL databases. + * Drop support for Python 3.6, which has been end-of-lifed. + * Add support for Python 3.10. 1.5.21 * #28: Optionally retry failing backups via "retries" and "retry_wait" configuration options. diff --git a/README.md b/README.md index 8fb2a1075..9a37cfc2c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ location: repositories: - 1234@usw-s001.rsync.net:backups.borg - k8pDxu32@k8pDxu32.repo.borgbase.com:repo - - user1@scp2.cdn.lima-labs.com:repo - /var/lib/backups/local.borg retention: @@ -93,7 +92,6 @@ referral links, but without any tracking scripts or cookies.) Additionally, [rsync.net](https://www.rsync.net/products/borg.html) and diff --git a/docs/how-to/make-backups-redundant.md b/docs/how-to/make-backups-redundant.md index 1ef818737..8d643cfaa 100644 --- a/docs/how-to/make-backups-redundant.md +++ b/docs/how-to/make-backups-redundant.md @@ -22,7 +22,6 @@ location: repositories: - 1234@usw-s001.rsync.net:backups.borg - k8pDxu32@k8pDxu32.repo.borgbase.com:repo - - user1@scp2.cdn.lima-labs.com:repo - /var/lib/backups/local.borg ``` @@ -35,8 +34,7 @@ Here's a way of visualizing what borgmatic does with the above configuration: 1. Backup `/home` and `/etc` to `1234@usw-s001.rsync.net:backups.borg` 2. Backup `/home` and `/etc` to `k8pDxu32@k8pDxu32.repo.borgbase.com:repo` -3. Backup `/home` and `/etc` to `user1@scp2.cdn.lima-labs.com:repo` -4. Backup `/home` and `/etc` to `/var/lib/backups/local.borg` +3. Backup `/home` and `/etc` to `/var/lib/backups/local.borg` This gives you redundancy of your data across repositories and even potentially across providers. diff --git a/docs/how-to/set-up-backups.md b/docs/how-to/set-up-backups.md index e10b5b3ea..09576419a 100644 --- a/docs/how-to/set-up-backups.md +++ b/docs/how-to/set-up-backups.md @@ -101,7 +101,6 @@ referral links, but without any tracking scripts or cookies.) Additionally, [rsync.net](https://www.rsync.net/products/borg.html) and diff --git a/test_requirements.txt b/test_requirements.txt index 56482a7c2..6513bcaae 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -14,10 +14,10 @@ py==1.10.0 pycodestyle==2.6.0 pyflakes==2.2.0 jsonschema==3.2.0 -pytest==6.1.2 -pytest-cov==2.10.1 +pytest==6.2.5 +pytest-cov==3.0.0 regex; python_version >= '3.8' requests==2.25.0 ruamel.yaml>0.15.0,<0.18.0 toml==0.10.2; python_version >= '3.8' -typed-ast==1.4.2; python_version >= '3.8' +typed-ast; python_version >= '3.8' diff --git a/tox.ini b/tox.ini index 12a0f603f..7d8340c6f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36,py37,py38,py39 +envlist = py37,py38,py39,py310 skip_missing_interpreters = True skipsdist = True minversion = 3.14.1