unitlab 2.3.11__tar.gz → 2.3.12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unitlab
3
- Version: 2.3.11
3
+ Version: 2.3.12
4
4
  Home-page: https://github.com/teamunitlab/unitlab-sdk
5
5
  Author: Unitlab Inc.
6
6
  Author-email: team@unitlab.ai
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
2
2
 
3
3
  setup(
4
4
  name="unitlab",
5
- version="2.3.11",
5
+ version="2.3.12",
6
6
  license="MIT",
7
7
  author="Unitlab Inc.",
8
8
  author_email="team@unitlab.ai",
@@ -354,14 +354,17 @@ class UnitlabClient:
354
354
  try:
355
355
  logger.info("Starting Jupyter notebook...")
356
356
 
357
+ # Use NotebookApp for jupyter notebook (not jupyter-server)
357
358
  cmd = [
358
359
  "jupyter", "notebook",
359
360
  "--no-browser",
360
- "--ServerApp.token=''",
361
- "--ServerApp.password=''",
362
- "--ServerApp.allow_origin='*'",
363
- "--ServerApp.ip='0.0.0.0'",
364
- "--ServerApp.port=8888" # Explicitly use 8888 to match Cloudflare config
361
+ "--NotebookApp.token=''",
362
+ "--NotebookApp.password=''",
363
+ "--NotebookApp.allow_origin='*'",
364
+ "--NotebookApp.ip='0.0.0.0'", # Listen on all interfaces
365
+ "--NotebookApp.port=8888",
366
+ "--NotebookApp.allow_root=True", # Allow root if needed
367
+ "--NotebookApp.disable_check_xsrf=True" # For Cloudflare proxy
365
368
  ]
366
369
 
367
370
  self.jupyter_proc = subprocess.Popen(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unitlab
3
- Version: 2.3.11
3
+ Version: 2.3.12
4
4
  Home-page: https://github.com/teamunitlab/unitlab-sdk
5
5
  Author: Unitlab Inc.
6
6
  Author-email: team@unitlab.ai
File without changes
File without changes
File without changes
File without changes
File without changes