Bug#921636: python-fluids: FTBFS against scipy 1.2.0

Drew Parsons dparsons at debian.org
Thu Feb 7 14:28:15 GMT 2019


Package: python-fluids
Version: 0.1.72-2
Severity: normal
Control: affects -1 python3-scipy

python-fluids fails to build from source against scipy 1.2.0
(available in experimental).

Errors are in test_PSDLognormal_ds_discrete and test_PSDLognormal_dn

Build log attached.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-fluids depends on:
ii  python             2.7.15-4
ii  python-fuzzywuzzy  0.17.0-1
ii  python-ipython     5.8.0-1
ii  python-matplotlib  2.2.3-5
ii  python-pandas      0.23.3-1
ii  python-pint        0.9-1
ii  python-scipy       1.2.0-1
ii  python-sympy       1.3-2

python-fluids recommends no packages.

Versions of packages python-fluids suggests:
ii  python-fluids-doc  0.1.72-2

-- no debconf information
-------------- next part --------------
dpkg-buildpackage: info: source package python-fluids
dpkg-buildpackage: info: source version 0.1.72-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Kurt Kremitzki <kurt at kwk.systems>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 fakeroot debian/rules clean
dh clean --with python2,python3,sphinxdoc --buildsystem=pybuild --test-pytest
   dh_auto_clean -O--buildsystem=pybuild -O--test-pytest
I: pybuild base:217: python2.7 setup.py clean 
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require'
  warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running clean
removing '/home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build' (and everything under it)
'build/bdist.linux-arm64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
I: pybuild base:217: python3.7 setup.py clean 
running clean
removing '/home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build' (and everything under it)
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'extras_require'
  warnings.warn(msg)
'build/bdist.linux-arm64' does not exist -- can't clean it
'build/scripts-3.7' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild -O--test-pytest
   dh_clean -O--buildsystem=pybuild -O--test-pytest
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building python-fluids using existing ./python-fluids_0.1.72.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building python-fluids in python-fluids_0.1.72-2.debian.tar.xz
dpkg-source: info: building python-fluids in python-fluids_0.1.72-2.dsc
 debian/rules build
dh build --with python2,python3,sphinxdoc --buildsystem=pybuild --test-pytest
   dh_update_autotools_config -O--buildsystem=pybuild -O--test-pytest
   dh_autoreconf -O--buildsystem=pybuild -O--test-pytest
   dh_auto_configure -O--buildsystem=pybuild -O--test-pytest
I: pybuild base:217: python2.7 setup.py config 
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require'
  warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running config
I: pybuild base:217: python3.7 setup.py config 
running config
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'extras_require'
  warnings.warn(msg)
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/dparsons/scipy/python-fluids-0.1.72'
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build 
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require'
  warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running build
running build_py
creating /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/drag.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/open_flow.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/saltation.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/filters.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/vectorized.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/piping.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/packed_tower.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/units.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/packed_bed.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/design_climate.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/atmosphere.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/safety_valve.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/compressible.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/separator.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/friction.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/two_phase_voidage.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/particle_size_distribution.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/two_phase.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/control_valve.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/core.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/__init__.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/mixing.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/pump.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/fittings.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/geometry.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
copying fluids/flow_meter.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids
creating /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/data
copying fluids/data/ASTM E11 sieves.csv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/data
copying fluids/data/isd-history-cleaned.tsv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/data
copying fluids/data/residential power.csv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/data
copying fluids/data/ISO 3310-1 sieves.csv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/data
copying fluids/data/3 phase power.csv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/data
creating /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/README -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/nrlmsise_00_header.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/LICENSE -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/nrlmsise_00_data.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/__init__.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/nrlmsise_00.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/nrlmsise00
creating /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/gd2qd.dat -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/hwm93.for -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/hwm14.pyf -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/dwm07b104i.dat -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/hwm14.f90 -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/hwm123114.bin -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/pychebfun.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/__init__.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
copying fluids/optional/hwm93.pyf -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/optional
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
creating /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/drag.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/open_flow.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/saltation.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/filters.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/vectorized.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/piping.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/packed_tower.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/units.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/packed_bed.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/design_climate.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/atmosphere.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/safety_valve.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/compressible.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/separator.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/friction.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/two_phase_voidage.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/particle_size_distribution.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/two_phase.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/control_valve.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/core.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/__init__.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/mixing.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/pump.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/fittings.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/geometry.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
copying fluids/flow_meter.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids
creating /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/data
copying fluids/data/ASTM E11 sieves.csv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/data
copying fluids/data/isd-history-cleaned.tsv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/data
copying fluids/data/residential power.csv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/data
copying fluids/data/ISO 3310-1 sieves.csv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/data
copying fluids/data/3 phase power.csv -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/data
creating /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/README -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/nrlmsise_00_header.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/LICENSE -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/nrlmsise_00_data.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/__init__.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/nrlmsise00
copying fluids/nrlmsise00/nrlmsise_00.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/nrlmsise00
creating /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/gd2qd.dat -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/hwm93.for -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/hwm14.pyf -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/dwm07b104i.dat -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/hwm14.f90 -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/hwm123114.bin -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/pychebfun.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/__init__.py -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
copying fluids/optional/hwm93.pyf -> /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython3_3.7_fluids/build/fluids/optional
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'extras_require'
  warnings.warn(msg)
PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html # HTML generator
Running Sphinx v1.8.3
making output directory...
[autosummary] generating autosummary for: Examples/Crane TP 410 Solved Problems/7.1 Smooth Pipe (Plastic).ipynb, Examples/Crane TP 410 Solved Problems/7.10 Piping Systems - Steam.ipynb, Examples/Crane TP 410 Solved Problems/7.11 Flat heating Coils - Water.ipynb, Examples/Crane TP 410 Solved Problems/7.13 Flow given in English Units - Oil.ipynb, Examples/Crane TP 410 Solved Problems/7.14 Bernoulli's Theorem-Water.ipynb, Examples/Crane TP 410 Solved Problems/7.2 L, L over D and K from Kv for Conventional Type Valves.ipynb, Examples/Crane TP 410 Solved Problems/7.29 Orifice Flow Rate Calculation.ipynb, Examples/Crane TP 410 Solved Problems/7.3 L, L over D, K, and Kv for Conventional Type Valves.ipynb, Examples/Crane TP 410 Solved Problems/7.4 Venturi Type Valves.ipynb, Examples/Crane TP 410 Solved Problems/7.5 Lift Check Valves.ipynb, ..., fluids.safety_valve.rst, fluids.saltation.rst, fluids.separator.rst, fluids.two_phase.rst, fluids.two_phase_voidage.rst, fluids.units.rst, fluids.vectorized.rst, index.rst, modules.rst, tutorial.rst
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 42 source files that are out of date
updating environment: 42 added, 0 changed, 0 removed
reading sources... [  2%] Examples/Crane TP 410 Solved Problems/7.1 Smooth Pipe (Plastic)
reading sources... [  4%] Examples/Crane TP 410 Solved Problems/7.10 Piping Systems - Steam
reading sources... [  7%] Examples/Crane TP 410 Solved Problems/7.11 Flat heating Coils - Water
reading sources... [  9%] Examples/Crane TP 410 Solved Problems/7.13 Flow given in English Units - Oil
reading sources... [ 11%] Examples/Crane TP 410 Solved Problems/7.14 Bernoulli's Theorem-Water
reading sources... [ 14%] Examples/Crane TP 410 Solved Problems/7.2 L, L over D and K from Kv for Conventional Type Valves
reading sources... [ 16%] Examples/Crane TP 410 Solved Problems/7.29 Orifice Flow Rate Calculation
reading sources... [ 19%] Examples/Crane TP 410 Solved Problems/7.3 L, L over D, K, and Kv for Conventional Type Valves
reading sources... [ 21%] Examples/Crane TP 410 Solved Problems/7.4 Venturi Type Valves
reading sources... [ 23%] Examples/Crane TP 410 Solved Problems/7.5 Lift Check Valves
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
reading sources... [ 26%] Examples/Crane TP 410 Solved Problems/7.6 Reduced Port Ball Valve
reading sources... [ 28%] Examples/Crane TP 410 Solved Problems/7.7 Laminar flow in Valves, Fittings, and Pipe - System from Example 7.6
reading sources... [ 30%] Examples/Crane TP 410 Solved Problems/7.8 Laminar flow in Valves, Fittings, and Pipe - SAE oil through a pipe and globe valve
reading sources... [ 33%] examples
reading sources... [ 35%] fluids
reading sources... [ 38%] fluids.atmosphere
reading sources... [ 40%] fluids.compressible
reading sources... [ 42%] fluids.control_valve
reading sources... [ 45%] fluids.core
reading sources... [ 47%] fluids.drag
reading sources... [ 50%] fluids.filters
reading sources... [ 52%] fluids.fittings
reading sources... [ 54%] fluids.flow_meter
reading sources... [ 57%] fluids.friction
reading sources... [ 59%] fluids.geometry
reading sources... [ 61%] fluids.mixing
reading sources... [ 64%] fluids.open_flow
reading sources... [ 66%] fluids.packed_bed
reading sources... [ 69%] fluids.packed_tower
reading sources... [ 71%] fluids.particle_size_distribution
reading sources... [ 73%] fluids.piping
reading sources... [ 76%] fluids.pump
reading sources... [ 78%] fluids.safety_valve
reading sources... [ 80%] fluids.saltation
reading sources... [ 83%] fluids.separator
reading sources... [ 85%] fluids.two_phase
reading sources... [ 88%] fluids.two_phase_voidage
reading sources... [ 90%] fluids.units
reading sources... [ 92%] fluids.vectorized
reading sources... [ 95%] index
reading sources... [ 97%] modules
reading sources... [100%] tutorial

/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/usr/lib/python3/dist-packages/nbsphinx.py:1174: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  nbconvert.utils.pandoc.check_pandoc_version()
/home/dparsons/scipy/python-fluids-0.1.72/fluids/compressible.py:docstring of fluids.compressible.isentropic_T_rise_compression:51: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/dparsons/scipy/python-fluids-0.1.72/fluids/core.py:docstring of fluids.core.Stanton:48: WARNING: Duplicate explicit target name: "r114".
/home/dparsons/scipy/python-fluids-0.1.72/fluids/core.py:docstring of fluids.core.Stanton:48: WARNING: duplicate citation R114, other instance in /home/dparsons/scipy/python-fluids-0.1.72/docs/fluids.core.rst
/home/dparsons/scipy/python-fluids-0.1.72/fluids/packed_bed.py:docstring of fluids.packed_bed.Brauer:67: WARNING: Duplicate explicit target name: "r495".
/home/dparsons/scipy/python-fluids-0.1.72/fluids/packed_bed.py:docstring of fluids.packed_bed.Harrison_Brunner_Hecker:68: WARNING: Unexpected indentation.
/home/dparsons/scipy/python-fluids-0.1.72/fluids/packed_bed.py:docstring of fluids.packed_bed.Brauer:67: WARNING: duplicate citation R495, other instance in /home/dparsons/scipy/python-fluids-0.1.72/docs/fluids.packed_bed.rst
/home/dparsons/scipy/python-fluids-0.1.72/fluids/particle_size_distribution.py:docstring of fluids.particle_size_distribution.ParticleSizeDistribution.vssa:7: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/home/dparsons/scipy/python-fluids-0.1.72/fluids/particle_size_distribution.py:docstring of fluids.particle_size_distribution.ParticleSizeDistribution.vssa:8: WARNING: Unexpected section title.

Returns
-------
/home/dparsons/scipy/python-fluids-0.1.72/fluids/two_phase_voidage.py:docstring of fluids.two_phase_voidage.Lin_Kwok:2: WARNING: Unknown target name: "3".
/home/dparsons/scipy/python-fluids-0.1.72/docs/tutorial.rst:561: WARNING: Inline interpreted text or phrase reference start-string without end-string.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  2%] Examples/Crane TP 410 Solved Problems/7.1 Smooth Pipe (Plastic)
writing output... [  4%] Examples/Crane TP 410 Solved Problems/7.10 Piping Systems - Steam
writing output... [  7%] Examples/Crane TP 410 Solved Problems/7.11 Flat heating Coils - Water
writing output... [  9%] Examples/Crane TP 410 Solved Problems/7.13 Flow given in English Units - Oil
writing output... [ 11%] Examples/Crane TP 410 Solved Problems/7.14 Bernoulli's Theorem-Water
writing output... [ 14%] Examples/Crane TP 410 Solved Problems/7.2 L, L over D and K from Kv for Conventional Type Valves
writing output... [ 16%] Examples/Crane TP 410 Solved Problems/7.29 Orifice Flow Rate Calculation
writing output... [ 19%] Examples/Crane TP 410 Solved Problems/7.3 L, L over D, K, and Kv for Conventional Type Valves
writing output... [ 21%] Examples/Crane TP 410 Solved Problems/7.4 Venturi Type Valves
writing output... [ 23%] Examples/Crane TP 410 Solved Problems/7.5 Lift Check Valves
writing output... [ 26%] Examples/Crane TP 410 Solved Problems/7.6 Reduced Port Ball Valve
writing output... [ 28%] Examples/Crane TP 410 Solved Problems/7.7 Laminar flow in Valves, Fittings, and Pipe - System from Example 7.6
writing output... [ 30%] Examples/Crane TP 410 Solved Problems/7.8 Laminar flow in Valves, Fittings, and Pipe - SAE oil through a pipe and globe valve
writing output... [ 33%] examples
writing output... [ 35%] fluids
writing output... [ 38%] fluids.atmosphere
writing output... [ 40%] fluids.compressible
writing output... [ 42%] fluids.control_valve
writing output... [ 45%] fluids.core
writing output... [ 47%] fluids.drag
writing output... [ 50%] fluids.filters
writing output... [ 52%] fluids.fittings
writing output... [ 54%] fluids.flow_meter
writing output... [ 57%] fluids.friction
writing output... [ 59%] fluids.geometry
writing output... [ 61%] fluids.mixing
writing output... [ 64%] fluids.open_flow
writing output... [ 66%] fluids.packed_bed
writing output... [ 69%] fluids.packed_tower
writing output... [ 71%] fluids.particle_size_distribution
writing output... [ 73%] fluids.piping
writing output... [ 76%] fluids.pump
writing output... [ 78%] fluids.safety_valve
writing output... [ 80%] fluids.saltation
writing output... [ 83%] fluids.separator
writing output... [ 85%] fluids.two_phase
writing output... [ 88%] fluids.two_phase_voidage
writing output... [ 90%] fluids.units
writing output... [ 92%] fluids.vectorized
writing output... [ 95%] index
writing output... [ 97%] modules
writing output... [100%] tutorial

/home/dparsons/scipy/python-fluids-0.1.72/fluids/packed_bed.py:docstring of fluids.packed_bed.Brauer:2: WARNING: citation not found: R496
/home/dparsons/scipy/python-fluids-0.1.72/fluids/packed_bed.py:docstring of fluids.packed_bed.Brauer:56: WARNING: citation not found: R496
/home/dparsons/scipy/python-fluids-0.1.72/docs/tutorial.rst:357: WARNING: undefined label: <tank> (if the link has no caption the label must precede a section header)
generating indices... genindex py-modindex
highlighting module code... [  4%] fluids.atmosphere
highlighting module code... [  9%] fluids.compressible
highlighting module code... [ 13%] fluids.control_valve
highlighting module code... [ 18%] fluids.core
highlighting module code... [ 22%] fluids.drag
highlighting module code... [ 27%] fluids.filters
highlighting module code... [ 31%] fluids.fittings
highlighting module code... [ 36%] fluids.flow_meter
highlighting module code... [ 40%] fluids.friction
highlighting module code... [ 45%] fluids.geometry
highlighting module code... [ 50%] fluids.mixing
highlighting module code... [ 54%] fluids.open_flow
highlighting module code... [ 59%] fluids.packed_bed
highlighting module code... [ 63%] fluids.packed_tower
highlighting module code... [ 68%] fluids.particle_size_distribution
highlighting module code... [ 72%] fluids.piping
highlighting module code... [ 77%] fluids.pump
highlighting module code... [ 81%] fluids.safety_valve
highlighting module code... [ 86%] fluids.saltation
highlighting module code... [ 90%] fluids.separator
highlighting module code... [ 95%] fluids.two_phase
highlighting module code... [100%] fluids.two_phase_voidage

writing additional pages... search
copying images... [  6%] fittings/contraction_sharp.png
copying images... [ 13%] fittings/contraction_round.png
copying images... [ 20%] fittings/contraction_conical.png
copying images... [ 26%] fittings/contraction_beveled.png
copying images... [ 33%] fittings/diffuser_conical.png
copying images... [ 40%] fittings/curved_wall_diffuser.png
copying images... [ 46%] fittings/flush_mounted_sharp_edged_entrance.png
copying images... [ 53%] fittings/sharp_edged_entrace_extended_mount.png
copying images... [ 60%] fittings/entrance_mounted_at_an_angle.png
copying images... [ 66%] fittings/flush_mounted_rounded_entrance.png
copying images... [ 73%] fittings/flush_mounted_beveled_entrance.png
copying images... [ 80%] fittings/flush_mounted_beveled_orifice_entrance.png
copying images... [ 86%] fittings/flush_mounted_exit.png
copying images... [ 93%] fittings/bend_rounded.png
copying images... [100%] fittings/bend_mitre.png

copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 13 warnings.

The HTML pages are in build/html.
make[1]: Leaving directory '/home/dparsons/scipy/python-fluids-0.1.72'
   dh_auto_test -O--buildsystem=pybuild -O--test-pytest
I: pybuild base:217: cd /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build; python2.7 -m pytest tests
============================= test session starts ==============================
platform linux2 -- Python 2.7.15+, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /home/dparsons/scipy/python-fluids-0.1.72, inifile: pytest.ini
plugins: cov-2.6.0
collected 271 items

tests/test_atmosphere.py ...                                             [  1%]
tests/test_compressible.py .................                             [  7%]
tests/test_control_valve.py ...                                          [  8%]
tests/test_core.py ...                                                   [  9%]
tests/test_design_climate.py ..s...s                                     [ 12%]
tests/test_drag.py .....                                                 [ 14%]
tests/test_filters.py .                                                  [ 14%]
tests/test_fittings.py ....................                              [ 21%]
tests/test_flow_meter.py ...................................             [ 34%]
tests/test_friction.py ...........................                       [ 44%]
tests/test_geometry.py ...........                                       [ 48%]
tests/test_mixing.py .                                                   [ 49%]
tests/test_open_flow.py .                                                [ 49%]
tests/test_packed_bed.py ..                                              [ 50%]
tests/test_packed_tower.py ....                                          [ 51%]
tests/test_particle_size_distribution.py ...................FF.......... [ 63%]
                                                                         [ 63%]
tests/test_piping.py ..                                                  [ 63%]
tests/test_pump.py ...........                                           [ 67%]
tests/test_safety_valve.py .                                             [ 68%]
tests/test_saltation.py .......                                          [ 70%]
tests/test_separator.py ....                                             [ 72%]
tests/test_two_phase.py .........................                        [ 81%]
tests/test_two_phase_voidage.py ......................................   [ 95%]
tests/test_units.py ........                                             [ 98%]
tests/test_vectorized.py .                                               [ 98%]
tests/nrlmsise00/nrlmsise_00_test.py .                                   [ 99%]
tests/nrlmsise00/test_nrlmsise00_file_output.py .                        [ 99%]
tests/nrlmsise00/test_nrlmsise00_full.py .                               [100%]

=================================== FAILURES ===================================
________________________ test_PSDLognormal_ds_discrete _________________________

    def test_PSDLognormal_ds_discrete():
        # Test the cdf discrete
        dist = PSDLognormal(s=0.5, d_characteristic=5E-6)
        ds = dist.ds_discrete(d_min=1e-7, d_max=1e-6, pts=8)
        ans = dist.fractions_discrete(ds)
        fractions_expect = [2.55351295663786e-15, 3.831379657981415e-13, 3.762157252396037e-11, 2.41392961175535e-09, 1.01281244724305e-07, 2.7813750147487326e-06, 5.004382447515443e-05, 0.00059054208024234]
>       assert_allclose(fractions_expect, ans, rtol=1e-5)
E       AssertionError: 
E       Not equal to tolerance rtol=1e-05, atol=0
E       
E       Mismatch: 12.5%
E       Max absolute difference: 5.55111512e-17
E       Max relative difference: 0.00014491
E        x: array([2.553513e-15, 3.831380e-13, 3.762157e-11, 2.413930e-09,
E              1.012812e-07, 2.781375e-06, 5.004382e-05, 5.905421e-04])
E        y: array([2.553513e-15, 3.830825e-13, 3.762163e-11, 2.413930e-09,
E              1.012812e-07, 2.781375e-06, 5.004382e-05, 5.905421e-04])

tests/test_particle_size_distribution.py:430: AssertionError
_____________________________ test_PSDLognormal_dn _____________________________

    def test_PSDLognormal_dn():
        disc = PSDLognormal(s=0.5, d_characteristic=5E-6)
    
        # Test input of 1
        ans = disc.dn(1)
        # The answer can vary quite a lot near the end, so it is safest just to
        # compare with the reverse, plugging it back to cdf
        assert_allclose(disc.cdf(ans), 1, rtol=1E-12)
    #    assert_allclose(ans, 0.0002964902595794474)
    
        # Test zero input
        assert_allclose(disc.dn(0), 0)
    
        # Test 50% input
        ans = disc.dn(.5)
        assert_allclose(ans,  5.0e-06, rtol=1E-6)
    
        with pytest.raises(Exception):
            disc.dn(1.5)
        with pytest.raises(Exception):
            disc.dn(-.5)
    
        # Other orders of n - there is no comparison data for this yet!!
        assert_allclose(disc.pdf(1E-5), disc.pdf(1E-5, 3))
        assert_allclose(disc.pdf(1E-5, 2), 13468.122877854335)
        assert_allclose(disc.pdf(1E-5, 1), 4628.2482296943508)
        assert_allclose(disc.pdf(1E-5, 0), 1238.6613794833427)
    
        # Some really large s tests - found some issues with this
        dist = PSDLognormal(s=4, d_characteristic=5E-6)
>       assert_allclose(dist.dn(1e-15), 8.220922763476676e-20, rtol=1e-3)
E       AssertionError: 
E       Not equal to tolerance rtol=0.001, atol=0
E       
E       Mismatch: 100%
E       Max absolute difference: 1.08103573e-21
E       Max relative difference: 0.01314981
E        x: array(8.112819e-20)
E        y: array(8.220923e-20)

tests/test_particle_size_distribution.py:463: AssertionError
=============================== warnings summary ===============================
.pybuild/cpython2_2.7_fluids/build/tests/test_particle_size_distribution.py::test_PSDLognormal_mean_sizes_numerical
  /usr/lib/python2.7/dist-packages/numpy/core/function_base.py:277: DeprecationWarning: object of type <type 'float'> cannot be safely interpreted as an integer.
    y = linspace(start, stop, num=num, endpoint=endpoint, axis=axis)

.pybuild/cpython2_2.7_fluids/build/tests/test_particle_size_distribution.py::test_PSDCustom_mean_sizes_numerical
  /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build/fluids/particle_size_distribution.py:2035: IntegrationWarning: The maximum number of subdivisions (50) has been achieved.
    If increasing the limit yields no improvement it is advised to analyze 
    the integrand in order to determine the difficulties.  If the position of a 
    local difficulty can be determined (singularity, discontinuity) one will 
    probably gain from splitting up the interval and calling the integrator 
    on the subranges.  Perhaps a special-purpose integrator should be used.
    return float(quad(to_int, d_min, d_max, points=points)[0]) #

-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 2 failed, 267 passed, 2 skipped, 2 warnings in 46.23 seconds =========
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /home/dparsons/scipy/python-fluids-0.1.72/.pybuild/cpython2_2.7_fluids/build; python2.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


More information about the debian-science-maintainers mailing list