浏览代码

requirements are defined in pyproject.toml

Thomas Waldmann 1 年之前
父节点
当前提交
48afc4c519
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      docs/installation.rst
  2. 1 1
      src/borg/archiver/__init__.py
  3. 1 1
      src/borg/helpers/msgpack.py

+ 1 - 1
docs/installation.rst

@@ -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,

+ 1 - 1
src/borg/archiver/__init__.py

@@ -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():

+ 1 - 1
src/borg/helpers/msgpack.py

@@ -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