zenml-nightly 0.84.3.dev20250831__py3-none-any.whl → 0.84.3.dev20250903__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.84.3.dev20250831
1
+ 0.84.3.dev20250903
@@ -5692,6 +5692,8 @@ class SqlZenStore(BaseZenStore):
5692
5692
  EntityExistsError: If a run with the same name already exists or
5693
5693
  a log entry with the same source already exists within the
5694
5694
  scope of the same pipeline run.
5695
+ KeyError: If the run requires a model version that doesn't exist and
5696
+ can not be created.
5695
5697
  """
5696
5698
  self._set_request_user_id(request_model=pipeline_run, session=session)
5697
5699
  self._get_reference_schema_by_id(
@@ -5762,9 +5764,16 @@ class SqlZenStore(BaseZenStore):
5762
5764
  f"within the scope of the same pipeline run '{new_run.id}'."
5763
5765
  )
5764
5766
 
5765
- if model_version_id := self._get_or_create_model_version_for_run(
5766
- new_run
5767
- ):
5767
+ try:
5768
+ model_version_id = self._get_or_create_model_version_for_run(
5769
+ new_run
5770
+ )
5771
+ except KeyError as e:
5772
+ session.delete(new_run)
5773
+ session.commit()
5774
+ raise e
5775
+
5776
+ if model_version_id:
5768
5777
  new_run.model_version_id = model_version_id
5769
5778
  session.add(new_run)
5770
5779
  session.commit()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: zenml-nightly
3
- Version: 0.84.3.dev20250831
3
+ Version: 0.84.3.dev20250903
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=5PUqUGnh_8hAs1wVn8nIWhN9oFCwQMQ3p4dOcOrCqxM,19
2
+ zenml/VERSION,sha256=ouJDJKYOvUFMlyUN-y3sdOniHgu3Q8Bo4ArSugmDIOk,19
3
3
  zenml/__init__.py,sha256=r7JUg2SVDf_dPhS7iU6vudKusEqK4ics7_jFMZhq0o4,2731
4
4
  zenml/actions/__init__.py,sha256=mrt6wPo73iKRxK754_NqsGyJ3buW7RnVeIGXr1xEw8Y,681
5
5
  zenml/actions/base_action.py,sha256=UcaHev6BTuLDwuswnyaPjdA8AgUqB5xPZ-lRtuvf2FU,25553
@@ -1353,11 +1353,11 @@ zenml/zen_stores/secrets_stores/hashicorp_secrets_store.py,sha256=5err1a-TrV3SR5
1353
1353
  zenml/zen_stores/secrets_stores/secrets_store_interface.py,sha256=Q2Jbnt2Pp7NGlR-u1YBfRZV2g8su2Fd0ArBMdksAE-Q,2819
1354
1354
  zenml/zen_stores/secrets_stores/service_connector_secrets_store.py,sha256=DrXGMkBxQIy2n_kkux5Xh2OM3Ks3MOpqP1D4aY8bfyY,7047
1355
1355
  zenml/zen_stores/secrets_stores/sql_secrets_store.py,sha256=LPFW757WCJLP1S8vrvjsrl2Tf1yo281xUTjSBsos4qk,8788
1356
- zenml/zen_stores/sql_zen_store.py,sha256=-3zeByIUjIvsx3564O2gJ463512QkZl04okL3eB-nJs,491568
1356
+ zenml/zen_stores/sql_zen_store.py,sha256=nGuLAhFMlDUMaL9DwpwmuDCSZrJqyl60tIxdN6E3mH0,491850
1357
1357
  zenml/zen_stores/template_utils.py,sha256=iCXrXpqzVTY7roqop4Eh9J7DmLW6PQeILZexmw_l3b8,10074
1358
1358
  zenml/zen_stores/zen_store_interface.py,sha256=weiSULdI9AsbCE10a5TcwtybX-BJs9hKhjPJnTapWv4,93023
1359
- zenml_nightly-0.84.3.dev20250831.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1360
- zenml_nightly-0.84.3.dev20250831.dist-info/METADATA,sha256=Fp9xH9J3lDtShKo4AtTNux072gmgS4NONW4YQhwC8h4,25252
1361
- zenml_nightly-0.84.3.dev20250831.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1362
- zenml_nightly-0.84.3.dev20250831.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1363
- zenml_nightly-0.84.3.dev20250831.dist-info/RECORD,,
1359
+ zenml_nightly-0.84.3.dev20250903.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1360
+ zenml_nightly-0.84.3.dev20250903.dist-info/METADATA,sha256=s-rHNx_7rfqNAYEJo66y_V94H7RzKxgTfLvyeR9AmIo,25252
1361
+ zenml_nightly-0.84.3.dev20250903.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1362
+ zenml_nightly-0.84.3.dev20250903.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1363
+ zenml_nightly-0.84.3.dev20250903.dist-info/RECORD,,