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
Thomas Waldmann
4b1dac78f5
pyproject.toml: exclude source files which have been compiled, fixes #7828
2023-09-18 01:03:57 +02:00
Thomas Waldmann
95e75b90f1
allow msgpack 1.0.6 (which has py312 wheels), fixes #7810
2023-09-14 13:47:31 +02:00
Thomas Waldmann
bc9ce99e9b
allow msgpack 1.0.6(rc1)
2023-09-14 04:08:25 +02:00
Thomas Waldmann
c4327c2819
add wheel to build-system requirements
2023-09-14 03:04:35 +02:00
Thomas Waldmann
1175fbcfd9
support / test on Python 3.12
2023-09-14 03:04:28 +02:00
Thomas Waldmann
61e96eb51f
pyproject.toml: move project metadata
2023-09-05 00:01:40 +02:00
Thomas Waldmann
a91b7d2787
pyproject.toml: move mypy options
2023-09-04 23:27:10 +02:00
Thomas Waldmann
34cadfdc4e
pyproject.toml: move pytest options
2023-09-04 23:16:20 +02:00
Thomas Waldmann
98796a2f0d
replace flake8 by ruff
2023-09-04 22:15:42 +02:00
Thomas Waldmann
3d311143f3
do not use version_tuple placeholder in setuptools_scm template
...
that would require setuptools_scm>=5.0.0 but some dists do not have that yet.
also, we do not use the version_tuple from _version.py, so it is not required anyway.
forward port of #7024 .
2022-09-17 13:37:38 +02:00
Thomas Waldmann
b9cdeaaa20
_version.py: remove trailing blank, add LF at EOF
2022-08-06 23:19:34 +02:00
Thomas Waldmann
dfbf638a5b
Merge branch 'master' into borg2
2022-07-23 21:21:41 +02:00
Gianfranco Costamagna
a92c156e05
Fix pyproject.toml to create a fixed _version.py file, compatible with both old and new setuptools_scm version (see: #6875 )
2022-07-18 18:56:59 +02:00