Stefano Rivera
2024-09-04 15:30:01 UTC
In October last year, we added python3-setuptools as a dependency of dh-python,
to ease the transition from distutils.
I think it's time to unwind this.
I did a test-rebuild of everything that depends on dh-python without depending
on setuptools:
cat debian_dists_unstable_*_source_Sources \
| grep-dctrl -F Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
-s Package,Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
-e '(^| )(dh-python|pybuild-plugin-pyproject|dh-sequence-python3|lava-dev|pypi2deb)(,| |$)' \
| grep-dctrl -F Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
-v -e '(^| )python3-setuptools(-rust|-scm)?(,| |$)' \
-s Package -n | sort -u > packages
The rebuild found 340 regressions, dd-list attached.
With the 3.13 transition around the corner, I don't intend to make this
change right now, but we should get the bugs filed. It's easy enough to
re-test again, later.
Stefano
to ease the transition from distutils.
I think it's time to unwind this.
I did a test-rebuild of everything that depends on dh-python without depending
on setuptools:
cat debian_dists_unstable_*_source_Sources \
| grep-dctrl -F Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
-s Package,Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
-e '(^| )(dh-python|pybuild-plugin-pyproject|dh-sequence-python3|lava-dev|pypi2deb)(,| |$)' \
| grep-dctrl -F Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
-v -e '(^| )python3-setuptools(-rust|-scm)?(,| |$)' \
-s Package -n | sort -u > packages
The rebuild found 340 regressions, dd-list attached.
With the 3.13 transition around the corner, I don't intend to make this
change right now, but we should get the bugs filed. It's easy enough to
re-test again, later.
Subject: Missing Build-Depends on python3-setuptools
This package failed build from source when test-built against
a version of dh-python without a python3-setuptools dependency.
distutils is no longer part of the Python standard library, since 3.12.
But a minimial version of it becomes available when the
python3-setuptools package is installed.
Please add a Python3-setuptools Build-Depends to your package, or
migrate the package's build system away from setuptools/distutils.
dd-list attached.This package failed build from source when test-built against
a version of dh-python without a python3-setuptools dependency.
distutils is no longer part of the Python standard library, since 3.12.
But a minimial version of it becomes available when the
python3-setuptools package is installed.
Please add a Python3-setuptools Build-Depends to your package, or
migrate the package's build system away from setuptools/distutils.
Stefano
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272