Source: python-vulndb
Severity: important

python3-future is RC buggy and won't be ported to Python3.12

please patch-out it's usage in setup.py & 
vulndb/tests/test_load_all_json.py

Greetings,

Alexandre

diff --git a/debian/control b/debian/control
index 30afc26..dfc385a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
 Priority: optional
 Maintainer: Debian Security Tools <team+pkg-secur...@tracker.debian.org>
 Uploaders: Gianfranco Costamagna <locutusofb...@debian.org>
-Build-Depends: debhelper-compat (= 12), dh-python, python3, python3-future, 
python3-setuptools, python3-setuptools-git
+Build-Depends: debhelper-compat (= 12), dh-python, python3, 
python3-setuptools, python3-setuptools-git
 Standards-Version: 4.6.2
 Homepage: https://github.com/vulndb/python-sdk/
 Vcs-Git: https://salsa.debian.org/pkg-security-team/python-vulndb.git
diff --git a/setup.py b/setup.py
index dfffe22..79b2914 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ setup(
     # With setuptools_git we make sure that the contents of vulndb/db/ , which
     # are non source code files, get copied too
     setup_requires=['setuptools_git >= 1.1',
-                    'future'],
+                   ],
     zip_safe=False,
 
     # https://pypi.python.org/pypi?%3Aaction=list_classifiers
diff --git a/vulndb/tests/test_load_all_json.py 
b/vulndb/tests/test_load_all_json.py
index 3f57c5a..55f542a 100644
--- a/vulndb/tests/test_load_all_json.py
+++ b/vulndb/tests/test_load_all_json.py
@@ -1,4 +1,4 @@
-from past.builtins import basestring
+basestring = str
 import unittest
 import types
 import os

Reply via email to