Skip to main content
Question

Packages Download Restrictions on CDF Fusion Jupyter Notebooks and Streamlit


Forum|alt.badge.img+2

We are collaborating with a client who has reported that neither Jupyter Notebook nor Streamlit functions on CDF Fusion. Upon investigation, we discovered that CDF Fusion dynamically downloads the Python standard library zip file, python-stdlib.zip, along with additional Python Wheel/package files from the Content Delivery Network cdn.jsdeliver.net. However, their security settings block this access. While they do not restrict access to the hosting website itself, it prevents the downloading of the essential Python standard library zip files and Python Wheel files.

We might be able to convense them to allow downloading packages from the official Python Index, however, we're not sure if CDF Fusion can be configured to change the source where it downloads the needed packages
 

2 replies

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

Anders Hafreager
Practitioner

Hi,

Pyodide does download Python packages from the official Python index, so that should be good to put on an allowlist. But it also downloads e.g. the Python runtime from the official `Pyodide` source. Some of the Python packages are specially compiled for Pyodide, and thus requires the special download from cdn. Pyodide is just another package so the same logic should be possible to apply on what to allow.

Does this help? There isn’t a simple configuration that would change anything unfortunately.


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings