zenml-nightly 0.75.0.dev20250307__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.dev20250307
1
+ 0.75.0.dev20250308
@@ -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(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: zenml-nightly
3
- Version: 0.75.0.dev20250307
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=l5xdQ_Tf9T99rlhNOzZbGAsZ4IZdK6GDgLCdv9nWvC4,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
@@ -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
@@ -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.dev20250307.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1293
- zenml_nightly-0.75.0.dev20250307.dist-info/METADATA,sha256=HIRmpgqyHjxhEYA_sg2ynjywcYDTIsiuUz5AHeSibwA,24274
1294
- zenml_nightly-0.75.0.dev20250307.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
1295
- zenml_nightly-0.75.0.dev20250307.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1296
- zenml_nightly-0.75.0.dev20250307.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,,