zenml-nightly 0.84.1.dev20250804__py3-none-any.whl → 0.84.1.dev20250805__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.1.dev20250804
1
+ 0.84.1.dev20250805
zenml/config/compiler.py CHANGED
@@ -454,9 +454,9 @@ class Compiler:
454
454
  Returns:
455
455
  The compiled step.
456
456
  """
457
- # Copy the invocation (including its referenced step) before we apply
458
- # the step configuration which is exclusive to this invocation.
459
- invocation = copy.deepcopy(invocation)
457
+ # Copy the step before we apply the step configuration which is
458
+ # exclusive to this invocation.
459
+ invocation.step = copy.deepcopy(invocation.step)
460
460
 
461
461
  step = invocation.step
462
462
  if step_config:
@@ -5999,6 +5999,14 @@ class SqlZenStore(BaseZenStore):
5999
5999
  except KeyError:
6000
6000
  pass
6001
6001
 
6002
+ # Acquire exclusive lock on the deployment to prevent deadlocks
6003
+ # during insertion
6004
+ session.exec(
6005
+ select(PipelineDeploymentSchema.id)
6006
+ .with_for_update()
6007
+ .where(PipelineDeploymentSchema.id == pipeline_run.deployment)
6008
+ )
6009
+
6002
6010
  if not pipeline_run.is_placeholder_request:
6003
6011
  # Only run this if the request is not a placeholder run itself,
6004
6012
  # as we don't want to replace a placeholder run with another
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: zenml-nightly
3
- Version: 0.84.1.dev20250804
3
+ Version: 0.84.1.dev20250805
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=c9e-f7bNfMw1nAemtJzfBOwxVs7isP5hmxGLUVKkDBY,19
2
+ zenml/VERSION,sha256=JgD203b6qhEP0gZ0HZYxfmgZpi3b8WAfHxs7VQjEn5I,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
@@ -65,7 +65,7 @@ zenml/code_repositories/local_repository_context.py,sha256=1VyiYkJBDVg0iGusgRQDT
65
65
  zenml/config/__init__.py,sha256=NIMS7QQo3-uVkNlzPvR5FbtgPdRibF2xFJB7Vr0fhCM,1826
66
66
  zenml/config/base_settings.py,sha256=itoLqc1cOwEYhgSGdZmSKSaBevQkvYH7NQh7PUamazc,1700
67
67
  zenml/config/build_configuration.py,sha256=jGGNwP0Cb7a80JXArNxDgxzxl9ytSZRtv-WW7_psLbM,6870
68
- zenml/config/compiler.py,sha256=Qx1Xd7o-IRT49Ufg5tfJoT68qRrOCqzD_0-mmu7td08,23830
68
+ zenml/config/compiler.py,sha256=uezFp9RKBhbh-zZSYMJ-QJNZQ4ksitsBsHX8mvR11jI,23802
69
69
  zenml/config/constants.py,sha256=QvSgMwXWxtspcJ45CrFDP1ZY3w6gS3bIhXLOtIDAbZA,713
70
70
  zenml/config/docker_settings.py,sha256=xZvoeC6v6RG_5MFK_RgdTgrkOLu-QT6frY4SGQNZUTo,18460
71
71
  zenml/config/global_config.py,sha256=59orl6xp4moxSo2Q8tXtDfpIBX4AxJ9FHcm8s2VHyWw,29712
@@ -1349,11 +1349,11 @@ zenml/zen_stores/secrets_stores/hashicorp_secrets_store.py,sha256=5err1a-TrV3SR5
1349
1349
  zenml/zen_stores/secrets_stores/secrets_store_interface.py,sha256=Q2Jbnt2Pp7NGlR-u1YBfRZV2g8su2Fd0ArBMdksAE-Q,2819
1350
1350
  zenml/zen_stores/secrets_stores/service_connector_secrets_store.py,sha256=DrXGMkBxQIy2n_kkux5Xh2OM3Ks3MOpqP1D4aY8bfyY,7047
1351
1351
  zenml/zen_stores/secrets_stores/sql_secrets_store.py,sha256=LPFW757WCJLP1S8vrvjsrl2Tf1yo281xUTjSBsos4qk,8788
1352
- zenml/zen_stores/sql_zen_store.py,sha256=YTd_YNqPvnlc6pnIO9zQpUZH9sAGH-r0Qr635u-7Ays,491254
1352
+ zenml/zen_stores/sql_zen_store.py,sha256=-3zeByIUjIvsx3564O2gJ463512QkZl04okL3eB-nJs,491568
1353
1353
  zenml/zen_stores/template_utils.py,sha256=iCXrXpqzVTY7roqop4Eh9J7DmLW6PQeILZexmw_l3b8,10074
1354
1354
  zenml/zen_stores/zen_store_interface.py,sha256=weiSULdI9AsbCE10a5TcwtybX-BJs9hKhjPJnTapWv4,93023
1355
- zenml_nightly-0.84.1.dev20250804.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1356
- zenml_nightly-0.84.1.dev20250804.dist-info/METADATA,sha256=g2yWcHJM9ECcJ7KC79O9sWF2dUhSYLXnY8w1aAiznsE,24296
1357
- zenml_nightly-0.84.1.dev20250804.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1358
- zenml_nightly-0.84.1.dev20250804.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1359
- zenml_nightly-0.84.1.dev20250804.dist-info/RECORD,,
1355
+ zenml_nightly-0.84.1.dev20250805.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1356
+ zenml_nightly-0.84.1.dev20250805.dist-info/METADATA,sha256=jJ1Pq_B-npNNW5qFIT8aOon1RsIHxqo2E7EIUSdPF6U,24296
1357
+ zenml_nightly-0.84.1.dev20250805.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1358
+ zenml_nightly-0.84.1.dev20250805.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1359
+ zenml_nightly-0.84.1.dev20250805.dist-info/RECORD,,