mirror of https://github.com/borgbackup/borg.git
requirements are defined in pyproject.toml
This commit is contained in:
parent
38ba1c383a
commit
48afc4c519
|
@ -179,7 +179,7 @@ following dependencies first:
|
||||||
|
|
||||||
- Either pyfuse3_ (preferably, newer) or llfuse_ (older).
|
- Either pyfuse3_ (preferably, newer) or llfuse_ (older).
|
||||||
See also the BORG_FUSE_IMPL env variable.
|
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,
|
||||||
|
|
|
@ -501,7 +501,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.")
|
||||||
return set_ec(EXIT_ERROR)
|
return set_ec(EXIT_ERROR)
|
||||||
if is_slow_msgpack():
|
if is_slow_msgpack():
|
||||||
|
|
|
@ -204,7 +204,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.cfg.
|
# DO NOT CHANGE OR REMOVE! See also requirements and comments in pyproject.toml.
|
||||||
import msgpack
|
import msgpack
|
||||||
|
|
||||||
if msgpack.version in []: # < add bad releases here to deny list
|
if msgpack.version in []: # < add bad releases here to deny list
|
||||||
|
|
Loading…
Reference in New Issue