mlrun 1.8.0rc47__py3-none-any.whl → 1.9.0rc1__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.

Potentially problematic release.


This version of mlrun might be problematic. Click here for more details.

mlrun/config.py CHANGED
@@ -64,7 +64,7 @@ default_config = {
64
64
  # url to nuclio dashboard api (can be with user & token, e.g. https://username:password@dashboard-url.com)
65
65
  "nuclio_dashboard_url": "",
66
66
  "nuclio_version": "",
67
- "default_nuclio_runtime": "python:3.9",
67
+ "default_nuclio_runtime": "python:3.11",
68
68
  "nest_asyncio_enabled": "", # enable import of nest_asyncio for corner cases with old jupyter, set "1"
69
69
  "ui_url": "", # remote/external mlrun UI url (for hyperlinks) (This is deprecated in favor of the ui block)
70
70
  "remote_host": "",
mlrun/utils/helpers.py CHANGED
@@ -882,9 +882,12 @@ def enrich_image_url(
882
882
  image_url = image_url.strip()
883
883
  mlrun_version = config.images_tag or client_version or server_version
884
884
  tag = mlrun_version
885
- tag += resolve_image_tag_suffix(
886
- mlrun_version=mlrun_version, python_version=client_python_version
887
- )
885
+
886
+ # TODO: Remove condition when mlrun/mlrun-kfp image is also supported
887
+ if "mlrun-kfp" not in image_url:
888
+ tag += resolve_image_tag_suffix(
889
+ mlrun_version=mlrun_version, python_version=client_python_version
890
+ )
888
891
 
889
892
  # it's an mlrun image if the repository is mlrun
890
893
  is_mlrun_image = image_url.startswith("mlrun/") or "/mlrun/" in image_url
@@ -916,7 +919,7 @@ def resolve_image_tag_suffix(
916
919
  mlrun_version: Optional[str] = None, python_version: Optional[str] = None
917
920
  ) -> str:
918
921
  """
919
- resolves what suffix should be appended to the image tag
922
+ Resolves what suffix to be appended to the image tag
920
923
  :param mlrun_version: the mlrun version
921
924
  :param python_version: the requested python version
922
925
  :return: the suffix to append to the image tag
@@ -928,19 +931,19 @@ def resolve_image_tag_suffix(
928
931
  # mlrun version is higher than 1.3.0, but we can check the python version and if python version was passed it
929
932
  # means it 1.3.0-rc or higher, so we can add the suffix of the python version.
930
933
  if mlrun_version.startswith("0.0.0-") or "unstable" in mlrun_version:
931
- if python_version.startswith("3.7"):
932
- return "-py37"
934
+ if python_version.startswith("3.9"):
935
+ return "-py39"
933
936
  return ""
934
937
 
935
- # For mlrun 1.3.x and 1.4.x, we support mlrun runtimes images with both python 3.7 and 3.9 images.
936
- # While the python 3.9 images will continue to have no suffix, the python 3.7 images will have a '-py37' suffix.
937
- # Python 3.8 images will not be supported for mlrun 1.3.0, meaning that if the user has client with python 3.8
938
- # and mlrun 1.3.x then the image will be pulled without a suffix (which is the python 3.9 image).
938
+ # For mlrun 1.9.x and 1.10.x, we support mlrun runtimes images with both python 3.9 and 3.11 images.
939
+ # While the python 3.11 images will continue to have no suffix, the python 3.9 images will have a '-py39' suffix.
940
+ # Python 3.10 images are not supported in mlrun 1.9.0, meaning that if the user has client with python 3.10
941
+ # and mlrun 1.9.x then the image will be pulled without a suffix (which is the python 3.11 image).
939
942
  # using semver (x.y.z-X) to include rc versions as well
940
- if semver.VersionInfo.parse("1.5.0-X") > semver.VersionInfo.parse(
943
+ if semver.VersionInfo.parse("1.11.0-X") > semver.VersionInfo.parse(
941
944
  mlrun_version
942
- ) >= semver.VersionInfo.parse("1.3.0-X") and python_version.startswith("3.7"):
943
- return "-py37"
945
+ ) >= semver.VersionInfo.parse("1.9.0-X") and python_version.startswith("3.9"):
946
+ return "-py39"
944
947
  return ""
945
948
 
946
949
 
@@ -1,4 +1,4 @@
1
1
  {
2
- "git_commit": "8cf0a21cff514da3b76a73d9e51df5d86a5d796a",
3
- "version": "1.8.0-rc47"
2
+ "git_commit": "b08bde55bcb7fde423002ec145ace1e99e677955",
3
+ "version": "1.9.0-rc1"
4
4
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mlrun
3
- Version: 1.8.0rc47
3
+ Version: 1.9.0rc1
4
4
  Summary: Tracking and config of machine learning runs
5
5
  Home-page: https://github.com/mlrun/mlrun
6
6
  Author: Yaron Haviv
@@ -53,6 +53,7 @@ Requires-Dist: jinja2>=3.1.3,~=3.1
53
53
  Requires-Dist: orjson<4,>=3.9.15
54
54
  Requires-Dist: mlrun-pipelines-kfp-common~=0.3.12
55
55
  Requires-Dist: mlrun-pipelines-kfp-v1-8~=0.3.9; python_version < "3.11"
56
+ Requires-Dist: mlrun-pipelines-kfp-v2~=0.3.8; python_version >= "3.11"
56
57
  Requires-Dist: docstring_parser~=0.16
57
58
  Requires-Dist: aiosmtplib~=3.0
58
59
  Provides-Extra: s3
@@ -1,6 +1,6 @@
1
1
  mlrun/__init__.py,sha256=Cqm9U9eCEdLpMejhU2BEhubu0mHL71igJJIwYa738EA,7450
2
2
  mlrun/__main__.py,sha256=0NDzPf9VFRO8KFfGgb8mkGUPIDS285aASV8Hbxs-ND0,45920
3
- mlrun/config.py,sha256=GoUHHZ7782V7m6rMYpVVBcKJyoePDBSoEgskDIKVnWY,71931
3
+ mlrun/config.py,sha256=vjlKlex9TV1Gfgix4iOM_nzX5wN-YuV6xXPmh0JDWy4,71932
4
4
  mlrun/errors.py,sha256=LkcbXTLANGdsgo2CRX2pdbyNmt--lMsjGv0XZMgP-Nc,8222
5
5
  mlrun/execution.py,sha256=FUktsD3puSFjc3LZJU35b-OmFBrBPBNntViCLQVuwnk,50008
6
6
  mlrun/features.py,sha256=ReBaNGsBYXqcbgI012n-SO_j6oHIbk_Vpv0CGPXbUmo,15842
@@ -321,7 +321,7 @@ mlrun/utils/azure_vault.py,sha256=IEFizrDGDbAaoWwDr1WoA88S_EZ0T--vjYtY-i0cvYQ,34
321
321
  mlrun/utils/clones.py,sha256=yXOeuLtgIiKZdmjeKK0Z_vIrH19ds5JuoJaCeDjhwOo,7516
322
322
  mlrun/utils/condition_evaluator.py,sha256=-nGfRmZzivn01rHTroiGY4rqEv8T1irMyhzxEei-sKc,1897
323
323
  mlrun/utils/db.py,sha256=blQgkWMfFH9lcN4sgJQcPQgEETz2Dl_zwbVA0SslpFg,2186
324
- mlrun/utils/helpers.py,sha256=0qKuvXA88Xeu_pbIFE9VQQWonxbAQpkiRSzmsxM8jtk,74465
324
+ mlrun/utils/helpers.py,sha256=FflaMvt_8zYDsW5zHG8s1WWda3CbERTCMJUGyziWIjg,74587
325
325
  mlrun/utils/http.py,sha256=t6FrXQstZm9xVVjxqIGiLzrwZNCR4CSienSOuVgNIcI,8706
326
326
  mlrun/utils/logger.py,sha256=RG0m1rx6gfkJ-2C1r_p41MMpPiaDYqaYM2lYHDlNZEU,14767
327
327
  mlrun/utils/regex.py,sha256=jbR7IiOp6OO0mg9Fl_cVZCpWb9fL9nTPONCUxCDNWXg,5201
@@ -340,11 +340,11 @@ mlrun/utils/notifications/notification/mail.py,sha256=ZyJ3eqd8simxffQmXzqd3bgbAq
340
340
  mlrun/utils/notifications/notification/slack.py,sha256=eQvmctTh6wIG5xVOesLLV9S1-UUCu5UEQ9JIJOor3ts,7183
341
341
  mlrun/utils/notifications/notification/webhook.py,sha256=NeyIMSBojjjTJaUHmPbxMByp34GxYkl1-16NqzU27fU,4943
342
342
  mlrun/utils/version/__init__.py,sha256=7kkrB7hEZ3cLXoWj1kPoDwo4MaswsI2JVOBpbKgPAgc,614
343
- mlrun/utils/version/version.json,sha256=iZj1XFhvZQSJfGaf-HARGno3ngw7au4BvwBpPGED63o,89
343
+ mlrun/utils/version/version.json,sha256=WlaePndVtYxwhDSf-ETGiiy3I87M637FDZBAAl1SjvM,88
344
344
  mlrun/utils/version/version.py,sha256=eEW0tqIAkU9Xifxv8Z9_qsYnNhn3YH7NRAfM-pPLt1g,1878
345
- mlrun-1.8.0rc47.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
346
- mlrun-1.8.0rc47.dist-info/METADATA,sha256=bbDADwdUWOBKGBRWIeWcs8H7I_ijaMLV33Zas1Bxit4,26008
347
- mlrun-1.8.0rc47.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
348
- mlrun-1.8.0rc47.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
349
- mlrun-1.8.0rc47.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
350
- mlrun-1.8.0rc47.dist-info/RECORD,,
345
+ mlrun-1.9.0rc1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
346
+ mlrun-1.9.0rc1.dist-info/METADATA,sha256=sRPSncr_i_JhtIKIVROkuR5UMqd6VMEcav64CqOf1_0,26078
347
+ mlrun-1.9.0rc1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
348
+ mlrun-1.9.0rc1.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
349
+ mlrun-1.9.0rc1.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
350
+ mlrun-1.9.0rc1.dist-info/RECORD,,