Thomas Waldmann
915e58653b
replace flake8 by ruff
2023-12-25 04:20:15 +01:00
Thomas Waldmann
d4f6f137c3
move most settings to pyproject.toml
...
except: flake8, which will get replaced by ruff.
2023-12-25 03:45:44 +01:00
TW
0e446170a6
Merge pull request #7994 from ThomasWaldmann/update-docs-1.4
...
Update docs (1.4-maint)
2023-12-25 02:55:07 +01:00
TW
c7ae13cb2a
Merge pull request #7995 from ThomasWaldmann/require-cython3-1.4
...
require Cython>=3 (1.4-maint)
2023-12-25 02:54:47 +01:00
Thomas Waldmann
2f541cedee
require Cython>=3
2023-12-25 02:20:50 +01:00
Thomas Waldmann
d9061e9a07
update CHANGES
2023-12-25 02:13:05 +01:00
Thomas Waldmann
c4571f4181
update SECURITY.md about borg 1.4
2023-12-25 02:13:03 +01:00
TW
c14af19576
Merge pull request #7977 from ThomasWaldmann/drop-setup-requires-1.4
...
drop setup_requires, use pip and build
2023-12-25 01:36:57 +01:00
Thomas Waldmann
84df37a19f
use less setup.py, use pip and build
...
todo: clean clean2 build_usage build_man
2023-12-24 20:50:19 +01:00
Thomas Waldmann
021d08c8be
fix msys build
...
build the sdist and wheel using "build", avoid using setup.py.
use "pip install -e ." before invoking pyinstaller, so we have
the _version.py built by setuptools_scm and also it compiled the
extension modules, so pyinstaller can pick them up.
msys2 hack:
https://stackoverflow.com/questions/76079590/error-plat-name-must-be-one-of-win32-win-amd64-win-arm32-win-arm6
2023-12-24 20:45:12 +01:00
Thomas Waldmann
5919b63e9a
setup.py: drop deprecated setup_requires, fixes #6068
...
We now use pyproject.toml for that.
Also, drop the >=1.7 requirement for setuptools_scm,
that was from 2015 and we assume it is not used any
more anyway.
2023-12-24 18:23:07 +01:00
TW
121c870242
Merge pull request #7980 from ThomasWaldmann/drop-py38-1.4
...
require python >= 3.9, drop py38, fixes #6383
2023-12-24 15:07:19 +01:00
Thomas Waldmann
6b402896a6
require python >= 3.9, drop py38, fixes #6383
2023-12-24 03:01:21 +01:00
TW
fb1a327008
Merge pull request #7991 from ThomasWaldmann/cleanup-requirements-1.4
...
Cleanup requirements (1.4-maint)
2023-12-24 02:57:15 +01:00
Thomas Waldmann
299237e401
tox: remove min_version
...
3.2 is ancient, so we can just use the default now.
2023-12-24 02:33:43 +01:00
Thomas Waldmann
6284053562
update requirements.d/development.lock.txt
2023-12-24 02:33:41 +01:00
Thomas Waldmann
a550fbd845
msgpack: require >= 1.0.2 <= 1.0.7
...
that simplifies things:
- no broken release in that range
- no ancient stuff < 1.0 any more
2023-12-24 02:09:58 +01:00
Thomas Waldmann
548db7dc90
adjust requirements/development.txt to pyproject.toml
2023-12-24 02:06:25 +01:00
TW
6db2bbf635
Merge pull request #7988 from ThomasWaldmann/vagrant-updates-1.4
...
Vagrant updates (1.4-maint)
2023-12-24 01:24:56 +01:00
Thomas Waldmann
1081825fe0
vagrant: use freebsd 14, fixes #6871
2023-12-24 01:21:42 +01:00
Thomas Waldmann
5d8bf2f81d
vagrant: update python versions, use 3.11 for binary build, fixes #7987
2023-12-24 01:19:13 +01:00
Thomas Waldmann
35eca86f23
vagrant: update python versions, use 3.11 for binary build, fixes #7987
2023-12-24 00:40:35 +01:00
TW
58ec02d641
Merge pull request #7983 from ThomasWaldmann/setuptools_scm-pyproj-1.4
...
move setuptools_scm configuration to pyproject.toml (1.4-maint)
2023-12-24 00:30:15 +01:00
TW
057818659a
Merge pull request #7982 from ThomasWaldmann/fix-openssl-warnings-1.4
...
crypto: get rid of deprecated HMAC_* functions
2023-12-24 00:26:50 +01:00
TW
72e249e243
Merge pull request #7984 from ThomasWaldmann/upgrade-pyinstaller-1.4
...
use pyinstaller==5.13.2
2023-12-24 00:26:22 +01:00
Thomas Waldmann
b0dd5ca280
use pyinstaller==5.13.2
...
this is the version we use in master branch since longer.
2023-12-23 23:16:30 +01:00
Thomas Waldmann
15e847d4d9
require recent setuptools and setuptools_scm
2023-12-23 23:00:04 +01:00
Thomas Waldmann
5049817d43
move setuptools_scm configuration to pyproject.toml
2023-12-23 22:57:53 +01:00
TW
94c37858d0
Merge pull request #7979 from ThomasWaldmann/use-cython3-1.4
...
cython: use 3str language level (default in cython3), fixes #7978
2023-12-23 22:32:28 +01:00
Thomas Waldmann
c813f9ba59
crypto: get rid of deprecated HMAC_* functions
...
These were deprecated in OpenSSL 3.0.
Instead, use hmac.digest from Python stdlib.
2023-12-23 22:20:50 +01:00
Thomas Waldmann
ed584554d0
cython: use 3str language level (default in cython3), fixes #7978
...
drop support for Cython 0.29.x, use Cython 3.0.x from now on.
2023-12-23 21:27:31 +01:00
TW
ae6be14822
Merge pull request #7981 from ThomasWaldmann/fix-ci-config-1.4
...
github ci / codeql: use 1.4-maint branch
2023-12-23 21:25:28 +01:00
Thomas Waldmann
39a48d50cd
github ci / codeql: use 1.4-maint branch
2023-12-23 21:24:44 +01:00
TW
fe624870f5
Merge pull request #7974 from ThomasWaldmann/sync-with-1.2-maint
...
sync with 1.2-maint
2023-12-23 19:14:34 +01:00
Marc Kohaupt
05fa6fcab2
typo: notes.rst
2023-12-23 18:58:47 +01:00
Thomas Waldmann
49d7e74f97
change log: more infos about #6687 fix
2023-12-23 18:58:20 +01:00
TW
c675a00aa5
Merge pull request #7958 from ThomasWaldmann/rel127
...
release 1.2.7
2023-12-02 14:00:35 +01:00
Thomas Waldmann
4c131059bc
build_man
2023-12-02 01:02:03 +01:00
Thomas Waldmann
46c1e01d29
build_usage
2023-12-02 01:01:46 +01:00
Thomas Waldmann
8b70bb36c6
update CHANGES
2023-12-02 00:59:58 +01:00
TW
e50d26757c
Merge pull request #7956 from ThomasWaldmann/py313-unistdh-1.2
...
include unistd.h in _chunker.c
2023-12-02 00:44:59 +01:00
TW
d3e412c7c6
Merge pull request #7957 from ThomasWaldmann/docs-rebuild-refcounts-1.2
...
docs: Add "check.rebuild_refcounts" message
2023-12-02 00:23:25 +01:00
Sophie Herold
897f88dfaa
docs: Add "check.rebuild_refcounts" message
2023-12-02 00:01:12 +01:00
Felix Schwarz
13c6d1b710
include unistd.h in _chunker.c
...
With Python 3.13, Python.h no longer includes the <unistd.h> standard header file:
https://docs.python.org/3.13/whatsnew/3.13.html#id8
2023-12-01 23:58:24 +01:00
TW
b2929b4cee
Merge pull request #7952 from ThomasWaldmann/update-changes-1.2
...
update CHANGES (1.2-maint)
2023-11-29 16:48:38 +01:00
Kevin Yin
bcc8f74b56
Remove period that could be interpreted as part of the command ( #7946 )
...
CVE upgrade steps: remove period that could be interpreted as part of the command
2023-11-27 18:12:26 +01:00
Thomas Waldmann
4bdd404949
update CHANGES
2023-11-27 18:08:00 +01:00
TW
70eed5e9fc
Merge pull request #7939 from ThomasWaldmann/lockroster-remove-fix-1.2
...
LockRoster.modify fix (1.2-maint)
2023-11-18 17:35:22 +01:00
Thomas Waldmann
ec17b00411
LockRoster.modify: no KeyError if element was already gone, fixes #7937
...
The intention of LockRoster.modify(key, REMOVE) is to remove self.id.
Using set.discard will just ignore it if self.id is not present there anymore.
Previously, using set.remove triggered a KeyError that has been frequently
seen in tracebacks of teardowns involving Repository.__del__ and Repository.__exit__.
I added a REMOVE2 op to serve one caller that needs to get the KeyError if
self.id was not present.
Thanks to @herrmanntom for the workaround!
2023-11-16 15:59:28 +01:00
zDEFz
2cefe8f53d
Add backup by SERIAL method ( #7934 )
...
docs: create disk/partition sector backup by disk serial number
2023-11-13 22:03:09 +01:00