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 +1 -1
- zenml/integrations/github/code_repositories/github_code_repository.py +18 -1
- {zenml_nightly-0.73.0.dev20250202.dist-info → zenml_nightly-0.73.0.dev20250204.dist-info}/METADATA +1 -1
- {zenml_nightly-0.73.0.dev20250202.dist-info → zenml_nightly-0.73.0.dev20250204.dist-info}/RECORD +7 -7
- {zenml_nightly-0.73.0.dev20250202.dist-info → zenml_nightly-0.73.0.dev20250204.dist-info}/LICENSE +0 -0
- {zenml_nightly-0.73.0.dev20250202.dist-info → zenml_nightly-0.73.0.dev20250204.dist-info}/WHEEL +0 -0
- {zenml_nightly-0.73.0.dev20250202.dist-info → zenml_nightly-0.73.0.dev20250204.dist-info}/entry_points.txt +0 -0
zenml/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.73.0.
|
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(
|
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.
|
{zenml_nightly-0.73.0.dev20250202.dist-info → zenml_nightly-0.73.0.dev20250204.dist-info}/RECORD
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
zenml/README.md,sha256=827dekbOWAs1BpW7VF1a4d7EbwPbjwccX-2zdXBENZo,1777
|
2
|
-
zenml/VERSION,sha256=
|
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=
|
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.
|
1297
|
-
zenml_nightly-0.73.0.
|
1298
|
-
zenml_nightly-0.73.0.
|
1299
|
-
zenml_nightly-0.73.0.
|
1300
|
-
zenml_nightly-0.73.0.
|
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,,
|
{zenml_nightly-0.73.0.dev20250202.dist-info → zenml_nightly-0.73.0.dev20250204.dist-info}/LICENSE
RENAMED
File without changes
|
{zenml_nightly-0.73.0.dev20250202.dist-info → zenml_nightly-0.73.0.dev20250204.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|