Debian Codegraph @

debian/patches/sphinx-doc-no-download

raw symbols SCIP
1 Authorscip-debian debian joblib 1.5.3-2 joblib/patches/sphinx-doc-no-download#Author.: Chiara Marmo <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian joblib 1.5.3-2 joblib/patches/sphinx-doc-no-download#Date.: Thu Sep 8 06:54:57 2022 +0000
3 Descriptionscip-debian debian joblib 1.5.3-2 joblib/patches/sphinx-doc-no-download#Description.: prevent network access while building the docs
4
5 --- joblib.orig/examples/compressors_comparison.pyscip-debian debian joblib 1.5.3-2 joblib/upstream/`joblib.orig/examples/compressors_comparison.py`:
6 +++ joblib/examples/compressors_comparison.pyscip-debian debian joblib 1.5.3-2 joblib/upstream/`joblib/examples/compressors_comparison.py`:
7 @@ -24,6 +24,10 @@
8 # and load it in a pandas dataframe.
9 import pandas as pd
10
11 +if int(os.getenv('DEBIAN_POLICY_SECTION_4_9_NO_NETWORK_ACCESS', '0')) > 0:
12 + raise IOError('Debian Policy Section 4.9 prohibits network access during build')
13 +
14 +
15 url = "https://github.com/joblib/dataset/raw/main/kddcup.data.gz"
16 names = (
17 "duration, protocol_type, service, flag, src_bytes, "