Le mercredi 21 novembre 2012 à 22:35 +0100, Sébastien Villemot a écrit :

> This makes a total of 7 packages possibly affected. The brute force
> solution would be to binNMU all of them. A more elegant solution would
> be to investigate their source code to see if they are really affected,
> but this is time consuming.

I refined the list of affected packages. It appears that the following
packages were never affected (they don't really use
NPY_CHAR/PyArray_CHAR): hypre, grib-api, brian, stimfit, python-scipy,
mathgl, scikit-learn, magics++, openmeeg, nlopt.

Below is a table summarizing the (really) affected packages and the
action to be taken for each of them. Some packages need a sourceful
upload because they don't generate a versioned dependency on
python-numpy (and we want to support partial upgrades). I am going to
file the relevant bugs and the binNMU request.

| Source package    | Last affected version (present in testing/unstable?)      
       | Binary packages                                                  | 
Action needed on the package? |
|-------------------+------------------------------------------------------------------+------------------------------------------------------------------+-------------------------------|
| pygtk             | 2.24.0-3 (TU)                                             
       | python-gtk2, python-gtk2-dbg, python-glade2                      | 
binNMU                        |
| python-visual     | 1:5.12-1.4+b1 (TU)                                        
       | python-visual                                                    | 
sourceful upload              |
| python-enable     | 4.0.0-2                                                   
       | python-enable                                                    | 
none                          |
| pygame            | 1.9.1release+dfsg-6                                       
       | python-pygame                                                    | 
sourceful upload              |
| rpy               | 1.0.3-21                                                  
       | python-rpy                                                       | 
none                          |
| pymca             | 4.5.0-4                                                   
       | pymca                                                            | 
none                          |
| shogun            | 1.1.0-4                                                   
       | shogun-python-static, shogun-python-modular, shogun-elwms-static | 
none                          |
| babel             | 1.4.0.dfsg-8 [armhf s390x], 1.4.0.dfsg-8+b1 [!armhf 
!s390x] (TU) | python-sidl                                                      
| sourceful upload              |
| python-scientific | 2.8-3+b1 [armhf s390x], 2.8-3+b2 [!armhf !s390x]          
       | python-netcdf                                                    | 
none                          |

I also attach a patch to python-numpy that declares a Breaks on affected
reverse dependencies (again for supporting partial upgrades).

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594

diff -Nru python-numpy-1.6.2/debian/changelog python-numpy-1.6.2/debian/changelog
--- python-numpy-1.6.2/debian/changelog	2012-05-30 19:38:42.000000000 +0200
+++ python-numpy-1.6.2/debian/changelog	2013-01-12 22:41:00.000000000 +0100
@@ -1,3 +1,12 @@
+python-numpy (1:1.6.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/control: add versioned Breaks relationship on reverse
+    dependencies of python-numpy that are affected by the
+    NPY_CHAR/PyArray_CHAR ABI breakage (Closes: #685812)
+
+ -- Sébastien Villemot <sebast...@debian.org>  Sat, 12 Jan 2013 21:56:53 +0100
+
 python-numpy (1:1.6.2-1) unstable; urgency=low
 
   * New upstream release
diff -Nru python-numpy-1.6.2/debian/control python-numpy-1.6.2/debian/control
--- python-numpy-1.6.2/debian/control	2012-04-19 23:27:11.000000000 +0200
+++ python-numpy-1.6.2/debian/control	2013-01-12 21:49:44.000000000 +0100
@@ -16,6 +16,21 @@
 Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Suggests: python-numpy-doc, python-numpy-dbg, python-nose (>= 0.10.1), python-dev, gfortran, gcc (>= 4:4.6.1-5)
 Provides: ${python:Provides}, ${numpy:Provides}, python-numpy-dev, python-f2py
+Breaks: python-gtk2 (<= 2.24.0-3),
+        python-gtk2-dbg (<= 2.24.0-3),
+        python-glade2 (<= 2.24.0-3),
+        python-visual (<= 1:5.12-1.4+b1),
+        python-enable (<= 4.0.0-2),
+        python-pygame (<= 1.9.1release+dfsg-6),
+        python-rpy (<= 1.0.3-21),
+        pymca (<= 4.5.0-4),
+        shogun-python-static (<= 1.1.0-4),
+        shogun-python-modular (<= 1.1.0-4),
+        shogun-elwms-static (<= 1.1.0-4),
+        python-sidl (<= 1.4.0.dfsg-8) [armhf s390x],
+        python-sidl (<= 1.4.0.dfsg-8+b1) [!armhf !s390x],
+        python-netcdf (<= 2.8-3+b1) [armhf s390x],
+        python-netcdf (<= 2.8-3+b2) [!armhf !s390x]
 Description: Numerical Python adds a fast array facility to the Python language
  Numpy contains a powerful N-dimensional array object, sophisticated
  (broadcasting) functions, tools for integrating C/C++ and Fortran

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to