File: python3.12.patch

package info (click to toggle)
backupchecker 1.9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: python: 2,613; makefile: 15
file content (18 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Do not check for Python3 version
Bug-Debian: https://bugs.debian.org/1002409
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 18 Mar 2024 17:22:05 +0100

--- a/setup.py
+++ b/setup.py
@@ -18,10 +18,6 @@ import os.path
 import platform
 import sys
 
-# Warn the user about the supported Python versions
-if float(platform.python_version()[0:3]) < 3.4:
-    print('You need at least Python 3.4 to use BackupChecker')
-    sys.exit(1)
 
 CLASSIFIERS = [
     'Intended Audience :: System Administrators',