Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16251 > unrolled thread
| Started by | Stefano Rivera <stefanor@debian.org> |
|---|---|
| First post | 2024-09-04 17:30 +0200 |
| Last post | 2024-09-05 19:10 +0200 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.debian.maint.python
Proposed Mass Bug: Missing dependencies on python3-setuptools Stefano Rivera <stefanor@debian.org> - 2024-09-04 17:30 +0200
Re: Proposed Mass Bug: Missing dependencies on python3-setuptools Andreas Tille <andreas@an3as.eu> - 2024-09-04 18:30 +0200
Re: Proposed Mass Bug: Missing dependencies on python3-setuptools Matthias Klose <doko@debian.org> - 2024-09-04 18:40 +0200
Re: Proposed Mass Bug: Missing dependencies on python3-setuptools Stefano Rivera <stefanor@debian.org> - 2024-09-05 17:20 +0200
Re: Proposed Mass Bug: Missing dependencies on python3-setuptools Stefano Rivera <stefanor@debian.org> - 2024-09-05 19:10 +0200
| From | Stefano Rivera <stefanor@debian.org> |
|---|---|
| Date | 2024-09-04 17:30 +0200 |
| Subject | Proposed Mass Bug: Missing dependencies on python3-setuptools |
| Message-ID | <Jj07f-9VVg-9@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
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. I propose filing a simple mass-bug at severity Important: > 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. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
[toc] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2024-09-04 18:30 +0200 |
| Message-ID | <Jj13j-9Wub-1@gated-at.bofh.it> |
| In reply to | #16251 |
Am Wed, Sep 04, 2024 at 03:25:17PM +0000 schrieb Stefano Rivera: > I propose filing a simple mass-bug at severity Important: > > > 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. LGTM Andreas. -- https://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Matthias Klose <doko@debian.org> |
|---|---|
| Date | 2024-09-04 18:40 +0200 |
| Message-ID | <Jj1cZ-9Wxv-11@gated-at.bofh.it> |
| In reply to | #16251 |
On 04.09.24 17:25, Stefano Rivera wrote:
> 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.
>
> I propose filing a simple mass-bug at severity Important:
>
>> 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.
please
- user-tag
- add tags sid trixie
- add a phrase to the bug reports, that the severity
might be increased before the trixie release.
Matthias
[toc] | [prev] | [next] | [standalone]
| From | Stefano Rivera <stefanor@debian.org> |
|---|---|
| Date | 2024-09-05 17:20 +0200 |
| Message-ID | <Jjmr8-a9xG-7@gated-at.bofh.it> |
| In reply to | #16251 |
Hi debian-python (2024.09.04_15:25:17_+0000) Filed 418 bugs rather than the 340 odd I expected. Due to a mistake, packages that FTBFS for other reasons may have got a bug too. I'll go clean that up now. https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-python@lists.debian.org&tag=dh-python-no-setuptools Final text: Severity: important User: debian-python@lists.debian.org Usertags: dh-python-no-setuptools Tags: sid, trixie 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 minimal version of it becomes available when the python3-setuptools package is installed. Please add a Build-Depends on python3-setuptools to your package, or migrate the package's build system away from setuptools/distutils. If you run into any difficulties, please raise them on debian-python@lists.debian.org. This bug has been filed at "important" severity, as the change hasn't been made in dh-python yet, but this may be raised to RC before the trixie release. Thanks, Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
[toc] | [prev] | [next] | [standalone]
| From | Stefano Rivera <stefanor@debian.org> |
|---|---|
| Date | 2024-09-05 19:10 +0200 |
| Message-ID | <Jjo9z-aaCy-1@gated-at.bofh.it> |
| In reply to | #16255 |
Hi debian-python (2024.09.05_15:13:45_+0000) > Filed 418 bugs Uploaded a version of dh-python to experimental with the things I want to remove removed. Should have done that first, and mentioned it in the mass-bug, so people would know what they can test against.... Too late now. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web