Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-zeroconf
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
python-zeroconf
Commits
1d26a2a6
Commit
1d26a2a6
authored
4 months ago
by
YOKOTA Hiroshi
Browse files
Options
Downloads
Patches
Plain Diff
Lintian fix: uses-deprecated-python-stdlib distutils
parent
9ccab411
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/0004-Lintian-fix-uses-deprecated-python-stdlib-distutils.patch
+24
-0
24 additions, 0 deletions
...Lintian-fix-uses-deprecated-python-stdlib-distutils.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
25 additions
and
0 deletions
debian/patches/0004-Lintian-fix-uses-deprecated-python-stdlib-distutils.patch
0 → 100644
+
24
−
0
View file @
1d26a2a6
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__)
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
1d26a2a6
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment