On Feb 15, 2016, at 11:37 AM, Matthias Klose wrote:

>No, in the first place it's a bug to not declare a proper Breaks/Replaces.

Well, in the meantime, you uploaded a new version of python-setuptools, so the
Breaks/Replaces that already exists in python-pip is now out of date.  But if
you agree to remove python-setuptools-whl in 20.0-3, I will update the B/R in
python-pip to match it.

>And yes, you asked me to remove the whl package, but without giving a reason
>for it in your forward.

Okay, but it was discussed fairly extensively in debian-python@ already, both
in terms of the technology and the changes in Debian Python Policy, which are
already committed to its vcs.  But to re-iterate:

Through the use of dirtbike, packages which require -whls will build them at
their own build-time, but this is limited to pip and virtualenv.  Because the
dependencies of upstream pip change, this is the only viable option for
sustainability.  Thus the previous -whl packages sprinkled throughout the
archive should now be removed.

I've included the patch here.  I'm not going to play whack-a-mole with this
bug, but it will be fixed when python-setuptools-whl is removed.
diff --git a/debian/control b/debian/control
index 164dc1c..d969756 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,6 @@ Build-Depends:
  python-all,
  python3-all,
  python3-sphinx,
- python3-wheel
 Build-Conflicts: python-setuptools, python3-setuptools
 Standards-Version: 3.9.6
 Homepage: https://pypi.python.org/pypi/setuptools
@@ -91,11 +90,3 @@ Depends:
 Suggests: python-setuptools-doc
 Description: PyPy Distutils Enhancements
  Extensions to the python-distutils for large or complex distributions.
-
-Package: python-setuptools-whl
-Architecture: all
-Depends: ${misc:Depends}
-Description: Python Distutils Enhancements (wheel package)
- Extensions to the python-distutils for large or complex distributions.
- .
- This package provides setuptools in PEP 427 wheel format.
diff --git a/debian/rules b/debian/rules
index d71db5a..564b847 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,10 +17,6 @@ override_dh_auto_install:
 
 	$(MAKE) -C docs html
 
-	mkdir -p debian/python-setuptools-whl/usr/share/python-wheels
-	python3 setup.py bdist_wheel --universal \
-	        -d debian/python-setuptools-whl/usr/share/python-wheels
-
 	# dh_pypy from dh-python < 1.20150705-1 falls over requires.txt
 	# and our requires.txt aren't useful
 	find debian/tmp -name requires.txt -delete

Attachment: pgpmkIZ9aavE1.pgp
Description: OpenPGP digital signature

Reply via email to