Skip to content

Commit ade3e26

Browse files
committed
Fix bug
1 parent 47823f0 commit ade3e26

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

myst_libre/tools/docker_registry_client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
from .rest_client import RestClient
99
from .authenticator import Authenticator
1010
from .decorators import request_set_decorator
11-
from dotenv import load_dotenv
12-
import os
13-
14-
load_dotenv()
1511

1612
class DockerRegistryClient(Authenticator):
1713
"""

myst_libre/tools/jupyter_hub_local_spawner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ def spawn_jupyter_hub(self):
9090
self.rees.get_project_name()
9191

9292
if self.rees.dataset_name:
93-
mnt_vol = {f'{os.path.join(self.host_data_parent_dir,self.rees.dataset_name)}': {'bind': os.path.join(self.container_data_mount_dir,self.rees.get_project_name()), 'mode': 'ro'},
93+
print(self.container_data_mount_dir)
94+
print(self.rees.dataset_name)
95+
mnt_vol = {f'{os.path.join(self.host_data_parent_dir,self.rees.dataset_name)}': {'bind': os.path.join(self.container_data_mount_dir,self.rees.dataset_name), 'mode': 'ro'},
9496
self.rees.build_dir: {'bind': f'{self.container_build_source_mount_dir}', 'mode': 'rw'}}
9597
else:
9698
mnt_vol = {self.rees.build_dir: {'bind': f'{self.container_build_source_mount_dir}', 'mode': 'rw'}}

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ hashlib
66
termcolor
77
mystmd
88
requests
9+
setuptools
910
setuptools_scm

0 commit comments

Comments
 (0)