mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-08 21:05:23 +00:00
requirements are defined in pyproject.toml
This commit is contained in:
parent
4a65f9c943
commit
e80d922730
3 changed files with 3 additions and 3 deletions
|
@ -180,7 +180,7 @@ following dependencies first:
|
||||||
|
|
||||||
- Either pyfuse3_ (preferably, newer and maintained) or llfuse_ (older,
|
- Either pyfuse3_ (preferably, newer and maintained) or llfuse_ (older,
|
||||||
unmaintained now). See also the BORG_FUSE_IMPL env variable.
|
unmaintained now). See also the BORG_FUSE_IMPL env variable.
|
||||||
- See setup.py about the version requirements.
|
- See pyproject.toml about the version requirements.
|
||||||
|
|
||||||
If you have troubles finding the right package names, have a look at the
|
If you have troubles finding the right package names, have a look at the
|
||||||
distribution specific sections below or the Vagrantfile in the git repository,
|
distribution specific sections below or the Vagrantfile in the git repository,
|
||||||
|
|
|
@ -5198,7 +5198,7 @@ class Archiver:
|
||||||
self.prerun_checks(logger, is_serve)
|
self.prerun_checks(logger, is_serve)
|
||||||
if not is_supported_msgpack():
|
if not is_supported_msgpack():
|
||||||
logger.error("You do not have a supported version of the msgpack python package installed. Terminating.")
|
logger.error("You do not have a supported version of the msgpack python package installed. Terminating.")
|
||||||
logger.error("This should never happen as specific, supported versions are required by our setup.py.")
|
logger.error("This should never happen as specific, supported versions are required by our pyproject.toml.")
|
||||||
logger.error("Do not contact borgbackup support about this.")
|
logger.error("Do not contact borgbackup support about this.")
|
||||||
raise Error("unsupported msgpack version")
|
raise Error("unsupported msgpack version")
|
||||||
if is_slow_msgpack():
|
if is_slow_msgpack():
|
||||||
|
|
|
@ -135,7 +135,7 @@ def is_slow_msgpack():
|
||||||
|
|
||||||
|
|
||||||
def is_supported_msgpack():
|
def is_supported_msgpack():
|
||||||
# DO NOT CHANGE OR REMOVE! See also requirements and comments in setup.py.
|
# DO NOT CHANGE OR REMOVE! See also requirements and comments in pyproject.toml.
|
||||||
import msgpack
|
import msgpack
|
||||||
return (1, 0, 3) <= msgpack.version <= (1, 0, 7) and \
|
return (1, 0, 3) <= msgpack.version <= (1, 0, 7) and \
|
||||||
msgpack.version not in [] # < add bad releases here to deny list
|
msgpack.version not in [] # < add bad releases here to deny list
|
||||||
|
|
Loading…
Add table
Reference in a new issue