| 1 |
Information for Maintainers of packages depending on python3-numpy |
| 2 |
------------------------------------------------------------------ |
| 3 |
|
| 4 |
With Numpy 1.4.1 upload in unstable, we had several packages failing |
| 5 |
to execute due to a change in 'dtype' format (some fields were added |
| 6 |
at the end of the data structure). |
| 7 |
|
| 8 |
After that, we decided to provide a reliable way to specify strict |
| 9 |
versioned depends on python3-numpy by the packages depending on it, in |
| 10 |
order to avoid similar failures in future uploads. |
| 11 |
|
| 12 |
python3-numpy provides a debhelper tool, dh_numpy3, that will add Numpy |
| 13 |
dependencies to python3:Depends substvar; what dh_numpy3 does is: |
| 14 |
|
| 15 |
* if the package is arch:all, a simple dependency on 'python3-numpy' is |
| 16 |
added; |
| 17 |
* if the package is arch:any, two dependencies are added: |
| 18 |
* python3-numpy-abi$N, where N is the value for the current Numpy |
| 19 |
ABI, as defined by upstream C_ABI_VERSION value; |
| 20 |
* python3-numpy (>= $VER), where VER is the minimum python3-numpy |
| 21 |
package version implementing the current Numpy API, as defined by |
| 22 |
upstream C_API_VERSION value. |
| 23 |
* if the package is arch:any and the '--strict' command-line option is |
| 24 |
passed to dh_numpy3, a dependency against python3-numpy-api$M is |
| 25 |
added, where M is the value for the current Numpy API, as defined by |
| 26 |
upstream C_API_VERSION value. |
| 27 |
|
| 28 |
The current values for API, ABI and version are available in the file |
| 29 |
/usr/share/numpy3/versions . |
| 30 |
|
| 31 |
You should call dh_numpy3 regardless of the python helper you are using |
| 32 |
in the package. |
| 33 |
|
| 34 |
-- Sandro Tosi <[email protected]> Sun, 29 Jan 2012 11:01:45 +0100 |