Commit graph

69 commits

Author SHA1 Message Date
Mrityunjay Raj
48ca497996 ruff: bump to v0.15.0, migrate config to tool.ruff.lint, fixes #9305 2026-02-13 02:36:43 +05:30
Thomas Waldmann
ed6e5db168
remove mfusepym dependency from pyproject.toml, fixes #9239 2025-12-24 02:19:07 +01:00
Thomas Waldmann
23bbc195e1
pyproject.toml: add comments to fuse options 2025-12-23 16:13:41 +01:00
Thomas Waldmann
0053bcb6b6
mfusepy: add alternative extra to install from project's master branch 2025-12-23 15:10:59 +01:00
Thomas Waldmann
7ccbb33f84
rename tox envs after fuse lib name
Also: on freebsd, run tox env py311-mfusepy
2025-12-20 19:47:36 +01:00
Thomas Waldmann
ead93b6d12
integrate mount2/umount2 into mount/umount, use BORG_FUSE_IMPL 2025-12-20 19:31:49 +01:00
Thomas Waldmann
c21c42b1a9
mount2/umount2: mfusepy-based alternative FUSE fs implementation 2025-12-20 19:31:33 +01:00
Thomas Waldmann
2af8de5800
borg --cockpit: show TUI based on Textual 2025-12-15 16:10:21 +01:00
Thomas Waldmann
8646c4e045
shtab: require >= 1.8.0
in 1.7.x, zsh completions were still broken, 1.8.0 fixed that.
2025-11-18 17:58:41 +01:00
Thomas Waldmann
15f59233b5
completion: borg can now generate completion scripts for supported shells, fixes #9172
Added `shtab` dependency for shell completion functionality:
- bash completion (works).
- zsh completion (known-broken due to iterative/shtab#183).
2025-11-17 18:47:00 +01:00
Thomas Waldmann
b0ddb15733
CI: rather use tox as test runner
so that pytest options are centrally managed in tox configuration.

let tox build venv and install requirements.

tox does this anyway, so we save some time if we
do not need the venv for other purposes also
(like e.g. building binaries).

Also:
- default XDISTN to "auto". XDISTN is still used by Vagrantfile.
- some other optimisations, like less package manager calls.
- use XDISTN=1 for haiku
- fix freebsd binary build condition
2025-11-08 00:07:19 +01:00
Thomas Waldmann
16e7039dbe
build: require setuptools>=78.1.1 to address GHSA-5rjg-fvgr-3xxf (closes #9042) 2025-10-09 17:47:03 +02:00
Thomas Waldmann
da58d92aa6
allow msgpack 1.1.2
1.1.2 provides wheels for py 3.14.
2025-10-09 13:16:54 +02:00
Thomas Waldmann
3120f9cd1c
fixed typos and grammar (AI)
this was done by Junie AI.
2025-09-23 14:56:23 +02:00
Thomas Waldmann
b0a680bb2a
tests: add sftp/rclone/s3 repo testing 2025-09-11 23:57:48 +02:00
Mike Mason
0207c2176e
feat(backend): enable s3 support using borgstore
Borg2 documentation mentions the support for the s3 backend however,
borg was missing the parsing bits for an s3 repo.

This updates the Location parser to parse the s3 url using the same
logic as borgstore.

Note: borgstore should be installed with the s3 dependencies in order
for the s3 backend to work.

Signed-off-by: Mike Mason <github@mikemrm.com>
2025-09-09 22:56:57 -05:00
Thomas Waldmann
a88bda6fbc
pyproject.toml: correctly define test envs for fuse testing
Looks like the toml config format of tox does not yet support
an easier way for generative test environments.
2025-08-09 16:07:05 +02:00
Thomas Waldmann
91c8054215
require coverage[toml] to support pyproject.toml on Python < 3.11 2025-06-16 17:45:49 +02:00
Thomas Waldmann
e1510f0c73
coverage: move settings from .coveragerc to pyproject.toml 2025-06-16 17:45:45 +02:00
Thomas Waldmann
74689d6ea9
support python 3.14 2025-06-12 12:06:45 +02:00
Thomas Waldmann
862f19aab9
msgpack: allow 1.1.1
1.1.1rc1 looked good in testing, so hopefully 1.1.1 will also be ok.
2025-06-06 18:35:25 +02:00
Thomas Waldmann
338f9b1db9
add bandit, a security-oriented static analysis tool 2025-06-01 18:00:35 +02:00
Atharva Varpe
a4633ec144 added native tox support to pyproject.toml 2025-05-24 05:38:44 +00:00
Thomas Waldmann
4514b957e4
require borgstore 0.3.x 2025-05-22 13:23:29 +02:00
Thomas Waldmann
7cef820b7e
pull borgstore from master branch 2025-05-16 13:16:45 +02:00
Ronny Pfannschmidt
be1b90bbc3 remove Cython constraints 2025-05-10 08:05:19 +02:00
Thomas Waldmann
d3080c84fe
require Cython < 3.1 for now
This is a workaround for:

https://github.com/cython/cython/issues/6858
2025-05-09 20:39:50 +02:00
Thomas Waldmann
5c3d9dec4b
remove support for / testing on Python 3.9
Python 3.9 will run out of upstream support 2025-10 anyway.
So we can also drop it right now and have faster CI testing.
2025-04-24 22:29:55 +02:00
Thomas Waldmann
a90473600d
remove support for / testing on Python 3.9
Python 3.9 will run out of upstream support 2025-10 anyway.
So we can also drop it right now and have faster CI testing.
2025-04-24 20:55:02 +02:00
Thomas Waldmann
35d7bb316c
adapt to new deleted flag semantics in borgstore 0.2.0
also: require borgstore 0.2.x
2025-04-21 20:25:31 +02:00
Thomas Waldmann
0a3ccf1094
pyproject.toml: SPDX expression for license, add license-files, see #8771
Also: raise setuptools version requirement appropriately.
2025-04-19 21:39:21 +02:00
Thomas Waldmann
0323c2f987
adapt to and require borghash 0.1.0 2024-11-18 01:48:01 +01:00
Thomas Waldmann
601fc48388
require borghash 2024-10-31 17:18:34 +01:00
Thomas Waldmann
7f79b65e39
require borgstore ~= 0.1.0 2024-10-13 21:10:47 +02:00
Thomas Waldmann
f795d64538
clean up tool.pytest.ini_options 2024-10-04 18:58:11 +02:00
Thomas Waldmann
40dc9dadb4
rename test files, fix imports/names 2024-10-04 18:56:52 +02:00
Thomas Waldmann
bd6caf835d
add support for rclone:// repositories (via borgstore) 2024-09-22 22:26:07 +02:00
Thomas Waldmann
46878c3bd8
require borgstore ~= 0.0.1
so we can do borgstore releases:

- 0.0.x == compatible fixes, would match
- 0.1.0 could be incompatible changes, would not match
2024-09-09 00:51:13 +02:00
TW
ea08e49210
Merge pull request #8332 from ThomasWaldmann/use-borgstore
use borgstore and other big changes
2024-09-08 15:16:24 +02:00
Thomas Waldmann
a8381673b0
support / test on Python 3.13 2024-08-29 00:00:52 +02:00
Thomas Waldmann
d30d5f4aec
Repository3 / RemoteRepository3: implement a borgstore based repository
Simplify the repository a lot:

No repository transactions, no log-like appending, no append-only, no segments,
just using a key/value store for the individual chunks.

No locking yet.

Also:

mypy: ignore missing import
there are no library stubs for borgstore yet, so mypy errors without that option.

pyproject.toml: install borgstore directly from github
There is no pypi release yet.

use pip install -e . rather than python setup.py develop
The latter is deprecated and had issues installing the "borgstore from github" dependency.
2024-08-23 23:55:09 +02:00
Thomas Waldmann
d43892d474
allow msgpack 1.1.0
tests with 1.1.0rc1 were successful, thus I assume 1.1.0 will also work ok.
2024-05-20 19:56:38 +02:00
Thomas Waldmann
03e964271e
require Cython 3.0.3 at least, fixes #8133
The fix for the Python 3.12 memory leak issue was
in Cython 3.0.3+.
2024-03-02 14:28:36 +01:00
Thomas Waldmann
a507a2cb3b
allow msgpack 1.0.8, fixes #8133 2024-03-02 14:27:07 +01:00
Thomas Waldmann
dd9358f1e2
sdist: dynamically compute readme (long_description)
The long_desc_from_readme() was not called, it just read the
whole README.rst until "readme" was declared dynamic.
2024-02-10 18:06:49 +01:00
Thomas Waldmann
59bca06630
scripts: rename gendocs.py to make.py 2024-02-09 17:37:43 +01:00
Thomas Waldmann
b34a99f337
git mv setup_docs.py scripts/gendocs.py 2024-02-09 02:53:17 +01:00
Thomas Waldmann
5ca4703a47
use and require cython3 2024-01-02 19:30:14 +01:00
Thomas Waldmann
0e7b87c1ba
allow platformdirs 4, fixes #7950 2023-11-27 17:12:50 +01:00
Thomas Waldmann
cdcab4df68
allow msgpack 1.0.7 2023-09-28 14:31:03 +02:00