zenml-nightly 0.75.0.dev20250306__py3-none-any.whl → 0.75.0.dev20250308__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.75.0.dev20250306
1
+ 0.75.0.dev20250308
zenml/cli/login.py CHANGED
@@ -1042,7 +1042,7 @@ def logout(
1042
1042
  credentials_store.clear_credentials(server_url=server)
1043
1043
  cli_utils.declare(
1044
1044
  "Logged out from ZenML Pro.\n"
1045
- f"Hint: You can run 'zenml login {credentials.server_name}' to "
1045
+ f"Hint: You can run `zenml login '{credentials.server_name}'` to "
1046
1046
  "login again to the same ZenML Pro server or 'zenml server "
1047
1047
  "list' to view other available servers that you can connect to "
1048
1048
  "with 'zenml login <server-id-name-or-url>'."
@@ -1053,7 +1053,7 @@ def logout(
1053
1053
  credentials_store.clear_credentials(server_url=server)
1054
1054
  cli_utils.declare(
1055
1055
  f"Logged out from {server}."
1056
- f"Hint: You can run 'zenml login {server}' to log in again "
1056
+ f"Hint: You can run `zenml login '{server}'` to log in again "
1057
1057
  "to the same server or 'zenml server list' to view other available "
1058
1058
  "servers that you can connect to with 'zenml login <server-url>'."
1059
1059
  )
@@ -16,6 +16,7 @@
16
16
  import os
17
17
  import re
18
18
  from typing import Any, Dict, Optional
19
+ from urllib.parse import urlparse
19
20
  from uuid import uuid4
20
21
 
21
22
  from gitlab import Gitlab
@@ -126,8 +127,7 @@ class GitLabCodeRepository(BaseCodeRepository):
126
127
  repo_sub_directory: The sub directory to download from.
127
128
  """
128
129
  contents = self.gitlab_project.repository_tree(
129
- ref=commit,
130
- path=repo_sub_directory or "",
130
+ ref=commit, path=repo_sub_directory or "", iterator=True
131
131
  )
132
132
  for content in contents:
133
133
  logger.debug(f"Processing {content['path']}")
@@ -175,8 +175,13 @@ class GitLabCodeRepository(BaseCodeRepository):
175
175
  Returns:
176
176
  Whether the remote url is correct.
177
177
  """
178
- https_url = f"https://{self.config.host}/{self.config.group}/{self.config.project}.git"
179
- if url == https_url:
178
+ parsed_url = urlparse(url)
179
+ if (
180
+ parsed_url.scheme == "https"
181
+ and parsed_url.hostname == self.config.host
182
+ and parsed_url.path
183
+ == f"/{self.config.group}/{self.config.project}.git"
184
+ ):
180
185
  return True
181
186
 
182
187
  ssh_regex = re.compile(
@@ -151,7 +151,7 @@ def show_dashboard(url: str) -> None:
151
151
  """
152
152
  environment = get_environment()
153
153
  if environment in (EnvironmentType.NOTEBOOK, EnvironmentType.COLAB):
154
- from IPython.core.display import display
154
+ from IPython.core.display_functions import display
155
155
  from IPython.display import IFrame
156
156
 
157
157
  display(IFrame(src=url, width="100%", height=720))
@@ -16,7 +16,8 @@
16
16
  import json
17
17
  from typing import TYPE_CHECKING, Optional
18
18
 
19
- from IPython.core.display import HTML, JSON, Image, Markdown, display
19
+ from IPython.core.display_functions import display
20
+ from IPython.display import HTML, JSON, Image, Markdown
20
21
 
21
22
  from zenml.artifacts.utils import load_artifact_visualization
22
23
  from zenml.enums import VisualizationType
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: zenml-nightly
3
- Version: 0.75.0.dev20250306
3
+ Version: 0.75.0.dev20250308
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=Ge7DbBMACwSSoufM5PYwTLBtfXtk8JAtnOKf0r8Z4TU,19
2
+ zenml/VERSION,sha256=tAXldOMczLWAWwg60bNV7WICCMJVuSJQ9oSDVuryBwY,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
@@ -38,7 +38,7 @@ zenml/cli/downgrade.py,sha256=eTpXts8y4s3wEUwOlvZGWsTngoMV8Stuzj0K-SAQUGU,1887
38
38
  zenml/cli/feature.py,sha256=Q8tNvWBlRze3FUyn0_VpOdl316ZW87476j7ezJb16GA,4387
39
39
  zenml/cli/formatter.py,sha256=OoAzgxpOEXrzT9FSFG0Bs5VRtVFEYck0gDYo02GCjzI,6440
40
40
  zenml/cli/integration.py,sha256=IsG1WR9H7tEEQl2bxm-i2P5hWU63sGCKAMbraJtRN9s,16208
41
- zenml/cli/login.py,sha256=qTbeP7X9YkEB8z5d0AvH6O6250ZYDlE9lw6s_D7pZFQ,38305
41
+ zenml/cli/login.py,sha256=x1j8l4o-l4CXpxWsbt_BrQ-gU3qr2bBfuMqMMZ2i8ZU,38309
42
42
  zenml/cli/model.py,sha256=hXRXkMUOOf0eTo07WnQHNeeDDQLiH0m76E-xypFLYF0,22993
43
43
  zenml/cli/model_registry.py,sha256=zzxWXXFhKu2B1Wp0u7prKVnN1ftM-JdGdQwlD-5G-QM,20786
44
44
  zenml/cli/pipeline.py,sha256=ZK_J_GE1OGZkLCBsdTiHnSh7BBp29QiigtxvQNifxAc,19228
@@ -283,7 +283,7 @@ zenml/integrations/github/plugins/event_sources/github_webhook_event_source.py,s
283
283
  zenml/integrations/github/plugins/github_webhook_event_source_flavor.py,sha256=jth8sxrmyg22-wT5Ax0fdsiLhTQwHXxaiTnB3kD97pk,1669
284
284
  zenml/integrations/gitlab/__init__.py,sha256=4Vz6XiPJYDZ9mos6L1FlgWsmueRCck86Sd8KRVj9NWQ,1003
285
285
  zenml/integrations/gitlab/code_repositories/__init__.py,sha256=Ds7NL6tCqLApRsOgvUofEq3Ms2No5_Z095uvi1gLVIk,817
286
- zenml/integrations/gitlab/code_repositories/gitlab_code_repository.py,sha256=PEk0v-xVG8TGjpxfcX1nwy6D1ItVUAzQoCaS2nkqX0Q,6257
286
+ zenml/integrations/gitlab/code_repositories/gitlab_code_repository.py,sha256=1i4XLkHoaR1ap5ZlQOkfG2G_-mkXLs3yQmvPABgdK5k,6421
287
287
  zenml/integrations/great_expectations/__init__.py,sha256=Vp7qJ2iA3BfPK1QZFYEiE8SB8lIM2S8SGmW35dW8A7M,2448
288
288
  zenml/integrations/great_expectations/data_validators/__init__.py,sha256=Z16qmLfUoataEABQ6Ec-HSLM_a9VRALHFa4OoAyozIk,857
289
289
  zenml/integrations/great_expectations/data_validators/ge_data_validator.py,sha256=qp2ZFqQiYPszRc6vGhZhK22GEHhGoTQ0Y9u0trXNQyg,21404
@@ -760,7 +760,7 @@ zenml/utils/code_repository_utils.py,sha256=-Zw8TvCSPfISB30Gmj0Yryk-RYrpzwCkqH7_
760
760
  zenml/utils/code_utils.py,sha256=SsfE4sHcBX3yPyrk3QWZXpXfsTcjycbVIuqVV6zKPDY,11463
761
761
  zenml/utils/cuda_utils.py,sha256=RR21m__Zs-OnI5n-veFUzWniZjwLSbalHE5QV3jK1Hw,1624
762
762
  zenml/utils/daemon.py,sha256=GZ7Dx6GLHK04SR50wBxpKYmFhxPBfdLWxJiAWzJC6cM,11863
763
- zenml/utils/dashboard_utils.py,sha256=fV1U0KeQEmipVRfrhkgXFVenWiz2qctm0kx7aaI5Aww,6073
763
+ zenml/utils/dashboard_utils.py,sha256=DdZwKaXEiGAWk8VSEdJa4wMr_F3XL3u7O7IDGzerLtI,6083
764
764
  zenml/utils/deprecation_utils.py,sha256=QcWkOnzIRDKPOfkr523n3l2MoY2wE0LIPfbx99t4Gmg,6343
765
765
  zenml/utils/dict_utils.py,sha256=i7KAaKrkaWA_cG5IvVfMnr0CwWlBJ7KAsGvP2wxjZI8,2667
766
766
  zenml/utils/docker_utils.py,sha256=QvkKnvIYSKAhW7mErXwSaQ432-q1LAsLjo2YWSXD8Bk,13889
@@ -793,7 +793,7 @@ zenml/utils/time_utils.py,sha256=-9Y9zwJ-6Gv7hoZQCoftPyC2LCLo2bYj6OgdyBaE44o,407
793
793
  zenml/utils/typed_model.py,sha256=00EAo1I1VnOBHG4-ce8dPkyHRPpgi67SRIU-KdewRWs,4757
794
794
  zenml/utils/typing_utils.py,sha256=jP7JKrlLsuMIStXhwKFNWykE6SMOR72tJIJ_qEbQSNc,6555
795
795
  zenml/utils/uuid_utils.py,sha256=aOGQ2SdREexcVQICPU2jUAgjvAJxTmh4ESdM52PEhck,2045
796
- zenml/utils/visualization_utils.py,sha256=bRhgho_c8oKSBGtT4ptWj0PsXsKTKs64L3qZty3sBTM,4702
796
+ zenml/utils/visualization_utils.py,sha256=ZGAnmE4s_rBSyz2FBu9FOIu054blfXuxLEz8wWqv-3s,4739
797
797
  zenml/utils/yaml_utils.py,sha256=747M_BTf3lcHFgJDF8RJxnnGIbCU8e9YxBBMmoQ5O_U,5834
798
798
  zenml/zen_server/__init__.py,sha256=WyltI9TzFW2mEHZVOs6alLWMCQrrZaFALtrQXs83STA,1355
799
799
  zenml/zen_server/auth.py,sha256=xr9OI0AMHo7Y7nIBO7Tg_xj0GvW8wT-XYJ1Kd2iLj78,39249
@@ -1289,8 +1289,8 @@ zenml/zen_stores/secrets_stores/sql_secrets_store.py,sha256=nEO0bAPlULBLxLVk-UTR
1289
1289
  zenml/zen_stores/sql_zen_store.py,sha256=L3PtBT-VULJVh4udD4eY4TbU_o1iEC23VyUh26uBo5Y,415902
1290
1290
  zenml/zen_stores/template_utils.py,sha256=EKYBgmDLTS_PSMWaIO5yvHPLiQvMqHcsAe6NUCrv-i4,9068
1291
1291
  zenml/zen_stores/zen_store_interface.py,sha256=vf2gKBWfUUPtcGZC35oQB6pPNVzWVyQC8nWxVLjfrxM,92692
1292
- zenml_nightly-0.75.0.dev20250306.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1293
- zenml_nightly-0.75.0.dev20250306.dist-info/METADATA,sha256=sPXL13JpfthswcyLqMcJg2moW_oheshRYNS-4BiBt4Y,24274
1294
- zenml_nightly-0.75.0.dev20250306.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
1295
- zenml_nightly-0.75.0.dev20250306.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1296
- zenml_nightly-0.75.0.dev20250306.dist-info/RECORD,,
1292
+ zenml_nightly-0.75.0.dev20250308.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1293
+ zenml_nightly-0.75.0.dev20250308.dist-info/METADATA,sha256=VTC9eB20tY9dGHIEf_YXWKorg7VN2dadazfU8xJQZ9E,24274
1294
+ zenml_nightly-0.75.0.dev20250308.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
1295
+ zenml_nightly-0.75.0.dev20250308.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1296
+ zenml_nightly-0.75.0.dev20250308.dist-info/RECORD,,