pybiolib 1.2.561__py3-none-any.whl → 1.2.565__py3-none-any.whl
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.
- biolib/compute_node/job_worker/executors/docker_executor.py +2 -10
 - biolib/compute_node/job_worker/executors/types.py +0 -1
 - {pybiolib-1.2.561.dist-info → pybiolib-1.2.565.dist-info}/METADATA +1 -1
 - {pybiolib-1.2.561.dist-info → pybiolib-1.2.565.dist-info}/RECORD +7 -7
 - {pybiolib-1.2.561.dist-info → pybiolib-1.2.565.dist-info}/LICENSE +0 -0
 - {pybiolib-1.2.561.dist-info → pybiolib-1.2.565.dist-info}/WHEEL +0 -0
 - {pybiolib-1.2.561.dist-info → pybiolib-1.2.565.dist-info}/entry_points.txt +0 -0
 
| 
         @@ -201,9 +201,6 @@ class DockerExecutor: 
     | 
|
| 
       201 
201 
     | 
    
         
             
                        stream=True,
         
     | 
| 
       202 
202 
     | 
    
         
             
                    )
         
     | 
| 
       203 
203 
     | 
    
         | 
| 
       204 
     | 
    
         
            -
                    logger_no_user_data.debug(f'Running diff for Docker container for {job_uuid}')
         
     | 
| 
       205 
     | 
    
         
            -
                    pre_start_diff = self._container.diff()
         
     | 
| 
       206 
     | 
    
         
            -
             
     | 
| 
       207 
204 
     | 
    
         
             
                    logger_no_user_data.debug(f'Starting Docker container for {job_uuid}')
         
     | 
| 
       208 
205 
     | 
    
         
             
                    startup_error_string: Optional[str] = None
         
     | 
| 
       209 
206 
     | 
    
         
             
                    try:
         
     | 
| 
         @@ -218,7 +215,6 @@ class DockerExecutor: 
     | 
|
| 
       218 
215 
     | 
    
         
             
                    self._metadata_for_save_output_on_cancel = MetadataToSaveOutput(
         
     | 
| 
       219 
216 
     | 
    
         
             
                        arguments=module_input['arguments'],
         
     | 
| 
       220 
217 
     | 
    
         
             
                        startup_error_string=startup_error_string,
         
     | 
| 
       221 
     | 
    
         
            -
                        pre_start_diff=pre_start_diff,
         
     | 
| 
       222 
218 
     | 
    
         
             
                    )
         
     | 
| 
       223 
219 
     | 
    
         | 
| 
       224 
220 
     | 
    
         
             
                    if self._options['job']['app_version'].get('stdout_render_type') != 'markdown':
         
     | 
| 
         @@ -264,7 +260,6 @@ class DockerExecutor: 
     | 
|
| 
       264 
260 
     | 
    
         
             
                        module_output_path=self._options['module_output_path'],
         
     | 
| 
       265 
261 
     | 
    
         
             
                        stderr=full_stderr,
         
     | 
| 
       266 
262 
     | 
    
         
             
                        stdout=full_stdout,
         
     | 
| 
       267 
     | 
    
         
            -
                        pre_start_diff=metadata['pre_start_diff'],
         
     | 
| 
       268 
263 
     | 
    
         
             
                    )
         
     | 
| 
       269 
264 
     | 
    
         | 
| 
       270 
265 
     | 
    
         
             
                def cleanup(self):
         
     | 
| 
         @@ -532,12 +527,11 @@ class DockerExecutor: 
     | 
|
| 
       532 
527 
     | 
    
         
             
                    module_output_path: str,
         
     | 
| 
       533 
528 
     | 
    
         
             
                    stderr: bytes,
         
     | 
| 
       534 
529 
     | 
    
         
             
                    stdout: bytes,
         
     | 
| 
       535 
     | 
    
         
            -
                    pre_start_diff: List[Dict],
         
     | 
| 
       536 
530 
     | 
    
         
             
                ) -> None:
         
     | 
| 
       537 
531 
     | 
    
         
             
                    mapped_files: List[FileInContainer] = []
         
     | 
| 
       538 
532 
     | 
    
         
             
                    try:
         
     | 
| 
       539 
533 
     | 
    
         
             
                        mappings = Mappings(mappings_list=self._options['module']['output_files_mappings'], arguments=arguments)
         
     | 
| 
       540 
     | 
    
         
            -
                        changed_files: List[FileInContainer] = self._get_changed_files_in_docker_container( 
     | 
| 
      
 534 
     | 
    
         
            +
                        changed_files: List[FileInContainer] = self._get_changed_files_in_docker_container()
         
     | 
| 
       541 
535 
     | 
    
         | 
| 
       542 
536 
     | 
    
         
             
                        for file in changed_files:
         
     | 
| 
       543 
537 
     | 
    
         
             
                            if file.is_file():
         
     | 
| 
         @@ -602,15 +596,13 @@ class DockerExecutor: 
     | 
|
| 
       602 
596 
     | 
    
         | 
| 
       603 
597 
     | 
    
         
             
                    return None
         
     | 
| 
       604 
598 
     | 
    
         | 
| 
       605 
     | 
    
         
            -
                def _get_changed_files_in_docker_container(self 
     | 
| 
      
 599 
     | 
    
         
            +
                def _get_changed_files_in_docker_container(self) -> List[FileInContainer]:
         
     | 
| 
       606 
600 
     | 
    
         
             
                    from_mappings = [mapping['from_path'] for mapping in self._options['module']['output_files_mappings']]
         
     | 
| 
       607 
     | 
    
         
            -
                    pre_start_diff_paths = [obj['Path'] for obj in pre_start_diff]
         
     | 
| 
       608 
601 
     | 
    
         
             
                    post_run_diff = self._container.diff()
         
     | 
| 
       609 
602 
     | 
    
         
             
                    run_diff_paths: List[str] = [
         
     | 
| 
       610 
603 
     | 
    
         
             
                        obj['Path']
         
     | 
| 
       611 
604 
     | 
    
         
             
                        for obj in post_run_diff
         
     | 
| 
       612 
605 
     | 
    
         
             
                        if obj['Kind'] in (DockerDiffKind.CHANGED.value, DockerDiffKind.ADDED.value)
         
     | 
| 
       613 
     | 
    
         
            -
                        and obj['Path'] not in pre_start_diff_paths
         
     | 
| 
       614 
606 
     | 
    
         
             
                    ]
         
     | 
| 
       615 
607 
     | 
    
         | 
| 
       616 
608 
     | 
    
         
             
                    known_directories = set()
         
     | 
| 
         @@ -76,10 +76,10 @@ biolib/compute_node/job_worker/cache_state.py,sha256=MwjSRzcJJ_4jybqvBL4xdgnDYSI 
     | 
|
| 
       76 
76 
     | 
    
         
             
            biolib/compute_node/job_worker/cache_types.py,sha256=ajpLy8i09QeQS9dEqTn3T6NVNMY_YsHQkSD5nvIHccQ,818
         
     | 
| 
       77 
77 
     | 
    
         
             
            biolib/compute_node/job_worker/docker_image_cache.py,sha256=ansHIkJIq_EMW1nZNlW-RRLVVeKWTbzNICYaOHpKiRE,7460
         
     | 
| 
       78 
78 
     | 
    
         
             
            biolib/compute_node/job_worker/executors/__init__.py,sha256=bW6t1qi3PZTlHM4quaTLa8EI4ALTCk83cqcVJfJfJfE,145
         
     | 
| 
       79 
     | 
    
         
            -
            biolib/compute_node/job_worker/executors/docker_executor.py,sha256= 
     | 
| 
      
 79 
     | 
    
         
            +
            biolib/compute_node/job_worker/executors/docker_executor.py,sha256=RBBPjxL-zqI77vHWG7ssrFGFSsHVob7TuIMw36URPQ0,31111
         
     | 
| 
       80 
80 
     | 
    
         
             
            biolib/compute_node/job_worker/executors/docker_types.py,sha256=VhsU1DKtJjx_BbCkVmiPZPH4ROiL1ygW1Y_s1Kbpa2o,216
         
     | 
| 
       81 
81 
     | 
    
         
             
            biolib/compute_node/job_worker/executors/tars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
         
     | 
| 
       82 
     | 
    
         
            -
            biolib/compute_node/job_worker/executors/types.py,sha256= 
     | 
| 
      
 82 
     | 
    
         
            +
            biolib/compute_node/job_worker/executors/types.py,sha256=wbjWZZ2f9FttjqUCCOeZmn7n3L3Hu-7-2PZJ3BVf_Ps,1626
         
     | 
| 
       83 
83 
     | 
    
         
             
            biolib/compute_node/job_worker/job_legacy_input_wait_timeout_thread.py,sha256=_cvEiZbOwfkv6fYmfrvdi_FVviIEYr_dSClQcOQaUWM,1198
         
     | 
| 
       84 
84 
     | 
    
         
             
            biolib/compute_node/job_worker/job_max_runtime_timer_thread.py,sha256=K_xgz7IhiIjpLlXRk8sqaMyLoApcidJkgu29sJX0gb8,1174
         
     | 
| 
       85 
85 
     | 
    
         
             
            biolib/compute_node/job_worker/job_storage.py,sha256=lScHI3ubcHKagSEW243tgbIWXUfbWDHDjEOPMvXxJE8,4603
         
     | 
| 
         @@ -119,8 +119,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3 
     | 
|
| 
       119 
119 
     | 
    
         
             
            biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
         
     | 
| 
       120 
120 
     | 
    
         
             
            biolib/utils/seq_util.py,sha256=Ozk0blGtPur_D9MwShD02r_mphyQmgZkx-lOHOwnlIM,6730
         
     | 
| 
       121 
121 
     | 
    
         
             
            biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
         
     | 
| 
       122 
     | 
    
         
            -
            pybiolib-1.2. 
     | 
| 
       123 
     | 
    
         
            -
            pybiolib-1.2. 
     | 
| 
       124 
     | 
    
         
            -
            pybiolib-1.2. 
     | 
| 
       125 
     | 
    
         
            -
            pybiolib-1.2. 
     | 
| 
       126 
     | 
    
         
            -
            pybiolib-1.2. 
     | 
| 
      
 122 
     | 
    
         
            +
            pybiolib-1.2.565.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
         
     | 
| 
      
 123 
     | 
    
         
            +
            pybiolib-1.2.565.dist-info/METADATA,sha256=_CM-jsOMgyM_KMENpfQz0auad3iMgTcoiGDKlvfTcC8,1570
         
     | 
| 
      
 124 
     | 
    
         
            +
            pybiolib-1.2.565.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
         
     | 
| 
      
 125 
     | 
    
         
            +
            pybiolib-1.2.565.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
         
     | 
| 
      
 126 
     | 
    
         
            +
            pybiolib-1.2.565.dist-info/RECORD,,
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     |