File: README.DebianMaints

package info (click to toggle)
numpy 1%3A2.3.5%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 86,232 kB
  • sloc: python: 255,841; asm: 232,483; ansic: 212,578; cpp: 157,469; f90: 1,575; sh: 845; fortran: 567; makefile: 431; sed: 139; xml: 109; java: 97; perl: 82; cs: 62; javascript: 53; objc: 33; lex: 13; yacc: 9
file content (34 lines) | stat: -rw-r--r-- 1,569 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Information for Maintainers of packages depending on python3-numpy
------------------------------------------------------------------

With Numpy 1.4.1 upload in unstable, we had several packages failing
to execute due to a change in 'dtype' format (some fields were added
at the end of the data structure).

After that, we decided to provide a reliable way to specify strict
versioned depends on python3-numpy by the packages depending on it, in
order to avoid similar failures in future uploads.

python3-numpy provides a debhelper tool, dh_numpy3, that will add Numpy
dependencies to python3:Depends substvar; what dh_numpy3 does is:

* if the package is arch:all, a simple dependency on 'python3-numpy' is
  added;
* if the package is arch:any, two dependencies are added:
  * python3-numpy-abi$N, where N is the value for the current Numpy
    ABI, as defined by upstream C_ABI_VERSION value;
  * python3-numpy (>= $VER), where VER is the minimum python3-numpy
    package version implementing the current Numpy API, as defined by
    upstream C_API_VERSION value.
* if the package is arch:any and the '--strict' command-line option is
  passed to dh_numpy3, a dependency against python3-numpy-api$M is
  added, where M is the value for the current Numpy API, as defined by
  upstream C_API_VERSION value.

The current values for API, ABI and version are available in the file
/usr/share/numpy3/versions .

You should call dh_numpy3 regardless of the python helper you are using
in the package.

 -- Sandro Tosi <morph@debian.org>  Sun, 29 Jan 2012 11:01:45 +0100