1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Author: Chiara Marmo <marmochiaskl@gmail.com>
Date: Thu Sep 8 06:54:57 2022 +0000
Description: prevent network access while building the docs
--- a/examples/compressors_comparison.py
+++ b/examples/compressors_comparison.py
@@ -25,6 +25,10 @@
import pandas as pd
+if int(os.getenv('DEBIAN_POLICY_SECTION_4_9_NO_NETWORK_ACCESS', '0')) > 0:
+ raise IOError('Debian Policy Section 4.9 prohibits network access during build')
+
+
url = "https://github.com/joblib/dataset/raw/main/kddcup.data.gz"
names = ("duration, protocol_type, service, flag, src_bytes, "
"dst_bytes, land, wrong_fragment, urgent, hot, "
|