griptape-nodes 0.66.1__py3-none-any.whl → 0.66.2__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.
@@ -1163,6 +1163,7 @@ def _shallow_clone_with_pygit2(remote_url: str, ref: str) -> tuple[str, str, dic
1163
1163
  """
1164
1164
  with tempfile.TemporaryDirectory() as temp_dir:
1165
1165
  temp_path = Path(temp_dir)
1166
+ repo = None # Initialize for finally block
1166
1167
 
1167
1168
  try:
1168
1169
  # Use SSH callbacks for SSH URLs
@@ -1222,6 +1223,11 @@ def _shallow_clone_with_pygit2(remote_url: str, ref: str) -> tuple[str, str, dic
1222
1223
  except pygit2.GitError as e:
1223
1224
  msg = f"Git error during clone from {remote_url}: {e}"
1224
1225
  raise GitCloneError(msg) from e
1226
+ finally:
1227
+ # Release repository file handles before temp directory cleanup
1228
+ # Critical on Windows where open handles prevent directory deletion
1229
+ if repo is not None:
1230
+ repo.free()
1225
1231
 
1226
1232
  return (library_version, commit_sha, library_data)
1227
1233
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: griptape-nodes
3
- Version: 0.66.1
3
+ Version: 0.66.2
4
4
  Summary: Add your description here
5
5
  Requires-Dist: griptape>=1.8.12
6
6
  Requires-Dist: pydantic>=2.10.6
@@ -253,7 +253,7 @@ griptape_nodes/utils/__init__.py,sha256=kzDZW_VPyxWJFonM3kYTl7A91_JmtHPK0Io4KPLT
253
253
  griptape_nodes/utils/async_utils.py,sha256=4IrW8Ub8iJ2QB9yguZtfN1EB9B5nXHS7jbDaLOHWso0,4844
254
254
  griptape_nodes/utils/dict_utils.py,sha256=1VP2EoyOP0nswoAgjPehpA0izpkygWRX7L--ArN6LV8,7314
255
255
  griptape_nodes/utils/file_utils.py,sha256=Lj1SQH8XyuJx3WoHmWhyZf2gHPirZ0ZpQtPPcuP-ONQ,3288
256
- griptape_nodes/utils/git_utils.py,sha256=J25Z3_Kh567oRd4enjHDF9GbRnpuO1U7irHfrDkqqQs,45388
256
+ griptape_nodes/utils/git_utils.py,sha256=Gz55JqSFPuxbTzvnXHKHsbMy3PvkNDAYyMQ7szekcL0,45674
257
257
  griptape_nodes/utils/huggingface_utils.py,sha256=txR5XS_01W3TvsH4SQ3AJrFy8oS8Ah9M-ePRSs3jHYA,4737
258
258
  griptape_nodes/utils/image_preview.py,sha256=NhYIqohRF9vbFpWIEvZHdPLLPK_JdUBvC4RvNAsSa1w,4480
259
259
  griptape_nodes/utils/library_utils.py,sha256=UwTdOJcPwJljWYD-DbctjExicaw-6isXZ-Js02jrGCw,4224
@@ -272,7 +272,7 @@ griptape_nodes/version_compatibility/versions/v0_65_5/__init__.py,sha256=4UyspOV
272
272
  griptape_nodes/version_compatibility/versions/v0_65_5/flux_2_removed_parameters.py,sha256=jOlmY5kKHXh8HPzAUtvwMJqzD4bP7pkE--yHUb7jTRA,3305
273
273
  griptape_nodes/version_compatibility/versions/v0_7_0/__init__.py,sha256=IzPPmGK86h2swfGGTOHyVcBIlOng6SjgWQzlbf3ngmo,51
274
274
  griptape_nodes/version_compatibility/versions/v0_7_0/local_executor_argument_addition.py,sha256=Thx8acnbw5OychhwEEj9aFxvbPe7Wgn4V9ZmZ7KRZqc,2082
275
- griptape_nodes-0.66.1.dist-info/WHEEL,sha256=ZyFSCYkV2BrxH6-HRVRg3R9Fo7MALzer9KiPYqNxSbo,79
276
- griptape_nodes-0.66.1.dist-info/entry_points.txt,sha256=qvevqd3BVbAV5TcantnAm0ouqaqYKhsRO3pkFymWLWM,82
277
- griptape_nodes-0.66.1.dist-info/METADATA,sha256=wf5GdcViPaYyMMpwKRLIExwSWNmDg3hl2UWcuWVNRZc,5374
278
- griptape_nodes-0.66.1.dist-info/RECORD,,
275
+ griptape_nodes-0.66.2.dist-info/WHEEL,sha256=ZyFSCYkV2BrxH6-HRVRg3R9Fo7MALzer9KiPYqNxSbo,79
276
+ griptape_nodes-0.66.2.dist-info/entry_points.txt,sha256=qvevqd3BVbAV5TcantnAm0ouqaqYKhsRO3pkFymWLWM,82
277
+ griptape_nodes-0.66.2.dist-info/METADATA,sha256=VC-QhMlVIUuf9pJUTECmxxFkGGcOBDfIc0EDMcfn8ls,5374
278
+ griptape_nodes-0.66.2.dist-info/RECORD,,