zenml-nightly 0.73.0.dev20250202__py3-none-any.whl → 0.73.0.dev20250204__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.
zenml/VERSION CHANGED
@@ -1 +1 @@
1
- 0.73.0.dev20250202
1
+ 0.73.0.dev20250204
@@ -187,12 +187,29 @@ class GitHubCodeRepository(BaseCodeRepository):
187
187
  directory=local_path,
188
188
  repo_sub_directory=content.path,
189
189
  )
190
+ # For symlinks, content.type is initially wrongly set to "file",
191
+ # which is why we need to read it from the raw data instead.
192
+ elif content.raw_data["type"] == "symlink":
193
+ try:
194
+ os.symlink(src=content.raw_data["target"], dst=local_path)
195
+ except Exception as e:
196
+ logger.error(
197
+ "Failed to create symlink `%s` (%s): %s",
198
+ content.path,
199
+ content.html_url,
200
+ e,
201
+ )
190
202
  else:
191
203
  try:
192
204
  with open(local_path, "wb") as f:
193
205
  f.write(content.decoded_content)
194
206
  except (GithubException, IOError, AssertionError) as e:
195
- logger.error("Error processing %s: %s", content.path, e)
207
+ logger.error(
208
+ "Error processing `%s` (%s): %s",
209
+ content.path,
210
+ content.html_url,
211
+ e,
212
+ )
196
213
 
197
214
  def get_local_context(self, path: str) -> Optional[LocalRepositoryContext]:
198
215
  """Gets the local repository context.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: zenml-nightly
3
- Version: 0.73.0.dev20250202
3
+ Version: 0.73.0.dev20250204
4
4
  Summary: ZenML: Write production-ready ML code.
5
5
  License: Apache-2.0
6
6
  Keywords: machine learning,production,pipeline,mlops,devops
@@ -1,5 +1,5 @@
1
1
  zenml/README.md,sha256=827dekbOWAs1BpW7VF1a4d7EbwPbjwccX-2zdXBENZo,1777
2
- zenml/VERSION,sha256=ef4hsdDc48pq_C2Kwy8-XusZWsxndp0BVpbW9Goz1sA,19
2
+ zenml/VERSION,sha256=TmboNIl0EidcW2cq1AoH5542zl0I2SL5vBC_z0JE-9o,19
3
3
  zenml/__init__.py,sha256=SkMObQA41ajqdZqGErN00S1Vf3KAxpLvbZ-OBy5uYoo,2130
4
4
  zenml/actions/__init__.py,sha256=mrt6wPo73iKRxK754_NqsGyJ3buW7RnVeIGXr1xEw8Y,681
5
5
  zenml/actions/base_action.py,sha256=UcaHev6BTuLDwuswnyaPjdA8AgUqB5xPZ-lRtuvf2FU,25553
@@ -276,7 +276,7 @@ zenml/integrations/gcp/step_operators/__init__.py,sha256=iPkob2LtPIQ-OHszhbNz_oj
276
276
  zenml/integrations/gcp/step_operators/vertex_step_operator.py,sha256=X8CCniyAo7NHiy3Mv_YSKQ4Hw3UYMXob6B3uWKsCJ-0,13567
277
277
  zenml/integrations/github/__init__.py,sha256=A8Yd--BbAG3HEfbWYOIEy_kzyLs2tBiawiLMosXd1Do,1467
278
278
  zenml/integrations/github/code_repositories/__init__.py,sha256=ub_hSE2ks2mZB1aeHRjQYz7QIRQIgOw2s080IIqJaGs,817
279
- zenml/integrations/github/code_repositories/github_code_repository.py,sha256=rhX2lRYN-zk9j4GlRj4Jc00aDeg5dt8FI1aWuRoy7Jw,7534
279
+ zenml/integrations/github/code_repositories/github_code_repository.py,sha256=CBXrnLRu8wFJObBr9nTo2VU-4ObSNgf2Lg0AMZ3oewk,8252
280
280
  zenml/integrations/github/plugins/__init__.py,sha256=yf7xkBs8wEUMP2-nFbDIVeXs1omHtZoyZBgobMYB1l0,804
281
281
  zenml/integrations/github/plugins/event_sources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
282
282
  zenml/integrations/github/plugins/event_sources/github_webhook_event_source.py,sha256=x5OSiWOsQprrleo8s8oIjgFZ7hz_tw66MLJYlSqONvc,17239
@@ -1293,8 +1293,8 @@ zenml/zen_stores/secrets_stores/sql_secrets_store.py,sha256=nEO0bAPlULBLxLVk-UTR
1293
1293
  zenml/zen_stores/sql_zen_store.py,sha256=GEBQDPhm52-YyxLBJcebNviwtr-VK_dnaHrg21fzJOw,417086
1294
1294
  zenml/zen_stores/template_utils.py,sha256=EKYBgmDLTS_PSMWaIO5yvHPLiQvMqHcsAe6NUCrv-i4,9068
1295
1295
  zenml/zen_stores/zen_store_interface.py,sha256=vf2gKBWfUUPtcGZC35oQB6pPNVzWVyQC8nWxVLjfrxM,92692
1296
- zenml_nightly-0.73.0.dev20250202.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1297
- zenml_nightly-0.73.0.dev20250202.dist-info/METADATA,sha256=nmYGVPtbXZzHEmT2psgCsYABsyY6Mx4_ztCXMta2Nkk,21428
1298
- zenml_nightly-0.73.0.dev20250202.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
1299
- zenml_nightly-0.73.0.dev20250202.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1300
- zenml_nightly-0.73.0.dev20250202.dist-info/RECORD,,
1296
+ zenml_nightly-0.73.0.dev20250204.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1297
+ zenml_nightly-0.73.0.dev20250204.dist-info/METADATA,sha256=8j0D64_f5T7tS-ACFS6JwvWGkI7cllXsJEGvFP2ReCc,21428
1298
+ zenml_nightly-0.73.0.dev20250204.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
1299
+ zenml_nightly-0.73.0.dev20250204.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1300
+ zenml_nightly-0.73.0.dev20250204.dist-info/RECORD,,