Skip to content
Snippets Groups Projects
Commit 1d26a2a6 authored by YOKOTA Hiroshi's avatar YOKOTA Hiroshi
Browse files

Lintian fix: uses-deprecated-python-stdlib distutils

parent 9ccab411
No related branches found
No related tags found
No related merge requests found
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Sat, 25 Jan 2025 15:24:02 +0900
Subject: Lintian fix: uses-deprecated-python-stdlib distutils
> distutils is deprecated in Python 3.10, removed in Python 3.12.
Use compatibility code from setuptools.
---
build_ext.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build_ext.py b/build_ext.py
index 26b4eb9..d918e9e 100644
--- a/build_ext.py
+++ b/build_ext.py
@@ -2,7 +2,7 @@
import logging
import os
-from distutils.command.build_ext import build_ext
+import setuptools; from distutils.command.build_ext import build_ext
from typing import Any
_LOGGER = logging.getLogger(__name__)
0001-Skip-some-network-test.patch 0001-Skip-some-network-test.patch
0002-Skip-test-error.patch 0002-Skip-test-error.patch
0003-Use-benchmark-test-only-if-required-module-is-availa.patch 0003-Use-benchmark-test-only-if-required-module-is-availa.patch
0004-Lintian-fix-uses-deprecated-python-stdlib-distutils.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment