[Debian-med-packaging] Bug#987517: dipy: attempts to access network resources during build
Étienne Mollier
etienne.mollier at mailoo.org
Sun Apr 25 07:58:26 BST 2021
Source: dipy
Version: 1.3.0-2
Severity: serious
Justification: Policy 4.9
Dear Fellow Maintainers,
While working on #987453 affecting python3-dipy-lib, I noticed
that the build time test suite behaved differently depending
whether I had network access, or was working in an insulated
virtual machine environment. I'm under the strong impression
the test suite fetches resources over the Internet.
I forced the proxy to non-configured address http://0.0.0.0 as a
quick & dirty way to disable the network access, and also tested
in offline virtual machine to validate my observations.
When online, the build shows these progress bars, example:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_dipy/build/dipy/viz/__init__.py:31: UserWarning: You do not have FURY installed. Some visualization functions might not work for you. For installation instructions, please visit: https://fury.gl/
warnings.warn(
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 4821.04 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 4963.67 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 5454.23 MB/s]
0%| | 0/2 [00:00<?, ? MB/s]
100%|██████████| 2/2 [00:00<00:00, 93.91 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 5236.33 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 5548.02 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 3823.43 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 6150.01 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 6452.78 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 6553.60 MB/s]
0%| | 0/1 [00:00<?, ? MB/s]
100%|██████████| 1/1 [00:00<00:00, 6241.52 MB/s]
Set numpy print options to "legacy" for new versions of numpy. ... ok
When offline, these tests fail immediately, example:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_dipy/build/dipy/viz/__init__.py:31: UserWarning: You do not have FURY installed. Some visualization functions might not work for you. For installation instructions, please visit: https://fury.gl/
warnings.warn(
Set numpy print options to "legacy" for new versions of numpy. ... ok
ERROR
These tests should probably be skipped if the point is to test
availability of resources; or just disable network access with
http_proxy altogether, since the outcome of build-time testing
is not checked anyway.
Kind Regards,
Étienne.
-- System Information:
Debian Release: 11.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-6-amd64 (SMP w/6 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
Étienne Mollier <etienne.mollier at mailoo.org>
Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
Sent from /dev/pts/3, please excuse my verbosity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20210425/33cd2712/attachment-0001.sig>
More information about the Debian-med-packaging
mailing list