Your message dated Fri, 2 Dec 2022 16:39:59 -0400
with message-id <20221202203959.utwhjv7yr6dko...@haydn.kardiogramm.net>
and subject line dh-python dropped 2.x support
has caused the Debian Bug report #634271,
regarding have dh_python2 automatically detect python-pkg-resources dependency
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
634271: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634271
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python
Version: 2.6.6-14
Severity: wishlist
Since dh_python2 is now automatically detecting package dependencies
from egg-info data, I figured it would be appropriate to lodge this
request:
When you use the entry_points argument of setup(), Python scripts for
/usr/bin are automatically generated. These scripts import
pkg_resources, and therefore the containing package should have a
run-time dependency on python-pkg-resources. In my experience, this
is easy to forget and it's not really documented, because when you use
easy_install, python-setuptools depends on python-pkg-resources
anyway, so you don't really need to worry about it. Only when you use
Debian packages and uninstall python-pkg-resources (because
apt/aptitude tell you it's no longer needed), things start to break.
Perhaps dh_python2 could simply look whether
*.egg-info/entry_points.txt exists, and if so add python-pkg-resources
to ${python:Depends}.
--- End Message ---
--- Begin Message ---
Version: 5.20221202
Python 2.x (and PyPy 2.x) support was removed in 5.20221202:
dh-python (5.20221202) unstable; urgency=medium
* Deprecate the flit plugin in favour of pyproject.
- Reduce the auto-detect score of the flit plugin.
* dh_python3: Clean up more license files from dist-info directories.
* Write to debhelper.log files, in overrides.
* Add support for --remaining-packages to dh_python*. (closes: 1021875)
* Add a test that demonstrates building multiple libraries in a single
source package. (closes: 1018952)
* Remove dh_python2, dh_pypy, and related debhelper sequences, supporting
the removal of the Python 2.7 stack before bookworm release.
(closes: 942959)
SR
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
--- End Message ---