[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965354: bcolz: FTBFS with newer python3-numpydoc



Source: bcolz
Version: 1.2.1+ds2-5
Severity: serious
Justification: FTBFS

Hi,

bcolz FTBFS on amd64 with an updated version of python3-numpydoc.

Here is the tail of the build log. The error seems to originate
during the build of the documentation:


PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bcolz/build \
http_proxy='127.0.0.1:9' sphinx-build -N docs/ debian/bcolz-doc/usr/share/doc/bcolz-doc/html/
Running Sphinx v2.4.3
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: [new config] 7 added, 0 changed, 0 removed
reading sources... [ 14%] defaults
reading sources... [ 28%] index
reading sources... [ 42%] install
reading sources... [ 57%] intro
reading sources... [ 71%] opt-tips
reading sources... [ 85%] reference

Exception occurred:
  File "/usr/lib/python3/dist-packages/numpydoc/docscrape.py", line 324, in _parse_see_also
    raise ParseError("%s is not a item name" % line)
numpydoc.docscrape.ParseError: cparams.setdefaults() is not a item name in "cparams(clevel=None, shuffle=None, cname=None, quantize=None)\n\nClass to host parameters for compression and other filters.\n\nParameters\n----------\nclevel : int (0 <= clevel < 10)\n    The compression level.\nshuffle : int\n    The shuffle filter to be activated.  Allowed values are\n    bcolz.NOSHUFFLE (0), bcolz.SHUFFLE (1) and bcolz.BITSHUFFLE (2).  The\n    default is bcolz.SHUFFLE.\ncname : string ('blosclz', 'lz4', 'lz4hc', 'snappy', 'zlib', 'zstd')\n    Select the compressor to use inside Blosc.\nquantize : int (number of significant digits)\n    Quantize data to improve (lossy) compression.  Data is quantized using\n    np.around(scale*data)/scale, where scale is 2**bits, and bits is\n    determined from the quantize value.  For example, if quantize=1, bits\n    will be 4.  0 means that the quantization is disabled.\n\nIn case some of the parameters are not passed, they will be\nset to a default (see `setdefaults()` method).\n\nSee also\n--------\ncparams.setdefaults()"
The full traceback has been saved in /tmp/sphinx-err-ec7z35mu.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:22: override_dh_auto_install] Error 2
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

Reply to: