requirements are defined in pyproject.toml

This commit is contained in:
Thomas Waldmann 2024-01-29 20:41:08 +01:00
parent 38ba1c383a
commit 48afc4c519
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
3 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ following dependencies first:
- Either pyfuse3_ (preferably, newer) or llfuse_ (older).
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
distribution specific sections below or the Vagrantfile in the git repository,

View File

@ -501,7 +501,7 @@ class Archiver(
self.prerun_checks(logger, is_serve)
if not is_supported_msgpack():
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.")
return set_ec(EXIT_ERROR)
if is_slow_msgpack():

View File

@ -204,7 +204,7 @@ def is_slow_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
if msgpack.version in []: # < add bad releases here to deny list