mlrun 1.8.0rc51__py3-none-any.whl → 1.9.0rc2__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.
- mlrun/config.py +1 -1
- mlrun/utils/helpers.py +20 -14
- mlrun/utils/version/version.json +2 -2
- {mlrun-1.8.0rc51.dist-info → mlrun-1.9.0rc2.dist-info}/METADATA +6 -6
- {mlrun-1.8.0rc51.dist-info → mlrun-1.9.0rc2.dist-info}/RECORD +9 -9
- {mlrun-1.8.0rc51.dist-info → mlrun-1.9.0rc2.dist-info}/WHEEL +0 -0
- {mlrun-1.8.0rc51.dist-info → mlrun-1.9.0rc2.dist-info}/entry_points.txt +0 -0
- {mlrun-1.8.0rc51.dist-info → mlrun-1.9.0rc2.dist-info}/licenses/LICENSE +0 -0
- {mlrun-1.8.0rc51.dist-info → mlrun-1.9.0rc2.dist-info}/top_level.txt +0 -0
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.
|
|
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
|
@@ -883,9 +883,12 @@ def enrich_image_url(
|
|
|
883
883
|
image_url = image_url.strip()
|
|
884
884
|
mlrun_version = config.images_tag or client_version or server_version
|
|
885
885
|
tag = mlrun_version
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
886
|
+
|
|
887
|
+
# TODO: Remove condition when mlrun/mlrun-kfp image is also supported
|
|
888
|
+
if "mlrun-kfp" not in image_url:
|
|
889
|
+
tag += resolve_image_tag_suffix(
|
|
890
|
+
mlrun_version=mlrun_version, python_version=client_python_version
|
|
891
|
+
)
|
|
889
892
|
|
|
890
893
|
# it's an mlrun image if the repository is mlrun
|
|
891
894
|
is_mlrun_image = image_url.startswith("mlrun/") or "/mlrun/" in image_url
|
|
@@ -917,7 +920,7 @@ def resolve_image_tag_suffix(
|
|
|
917
920
|
mlrun_version: Optional[str] = None, python_version: Optional[str] = None
|
|
918
921
|
) -> str:
|
|
919
922
|
"""
|
|
920
|
-
|
|
923
|
+
Resolves what suffix to be appended to the image tag
|
|
921
924
|
:param mlrun_version: the mlrun version
|
|
922
925
|
:param python_version: the requested python version
|
|
923
926
|
:return: the suffix to append to the image tag
|
|
@@ -929,19 +932,19 @@ def resolve_image_tag_suffix(
|
|
|
929
932
|
# mlrun version is higher than 1.3.0, but we can check the python version and if python version was passed it
|
|
930
933
|
# means it 1.3.0-rc or higher, so we can add the suffix of the python version.
|
|
931
934
|
if mlrun_version.startswith("0.0.0-") or "unstable" in mlrun_version:
|
|
932
|
-
if python_version.startswith("3.
|
|
933
|
-
return "-
|
|
935
|
+
if python_version.startswith("3.9"):
|
|
936
|
+
return "-py39"
|
|
934
937
|
return ""
|
|
935
938
|
|
|
936
|
-
# For mlrun 1.
|
|
937
|
-
# While the python 3.
|
|
938
|
-
# Python 3.
|
|
939
|
-
# and mlrun 1.
|
|
939
|
+
# For mlrun 1.9.x and 1.10.x, we support mlrun runtimes images with both python 3.9 and 3.11 images.
|
|
940
|
+
# While the python 3.11 images will continue to have no suffix, the python 3.9 images will have a '-py39' suffix.
|
|
941
|
+
# Python 3.10 images are not supported in mlrun 1.9.0, meaning that if the user has client with python 3.10
|
|
942
|
+
# and mlrun 1.9.x then the image will be pulled without a suffix (which is the python 3.11 image).
|
|
940
943
|
# using semver (x.y.z-X) to include rc versions as well
|
|
941
|
-
if semver.VersionInfo.parse("1.
|
|
944
|
+
if semver.VersionInfo.parse("1.11.0-X") > semver.VersionInfo.parse(
|
|
942
945
|
mlrun_version
|
|
943
|
-
) >= semver.VersionInfo.parse("1.
|
|
944
|
-
return "-
|
|
946
|
+
) >= semver.VersionInfo.parse("1.9.0-X") and python_version.startswith("3.9"):
|
|
947
|
+
return "-py39"
|
|
945
948
|
return ""
|
|
946
949
|
|
|
947
950
|
|
|
@@ -2216,7 +2219,10 @@ class Workflow:
|
|
|
2216
2219
|
def _get_workflow_manifest(
|
|
2217
2220
|
workflow_id: str,
|
|
2218
2221
|
) -> typing.Optional[mlrun_pipelines.models.PipelineManifest]:
|
|
2219
|
-
kfp_client = mlrun_pipelines.utils.get_client(
|
|
2222
|
+
kfp_client = mlrun_pipelines.utils.get_client(
|
|
2223
|
+
url=mlrun.mlconf.kfp_url,
|
|
2224
|
+
namespace=mlrun.mlconf.namespace,
|
|
2225
|
+
)
|
|
2220
2226
|
|
|
2221
2227
|
# arbitrary timeout of 5 seconds, the workflow should be done by now
|
|
2222
2228
|
kfp_run = kfp_client.wait_for_run_completion(workflow_id, 5)
|
mlrun/utils/version/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mlrun
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0rc2
|
|
4
4
|
Summary: Tracking and config of machine learning runs
|
|
5
5
|
Home-page: https://github.com/mlrun/mlrun
|
|
6
6
|
Author: Yaron Haviv
|
|
@@ -51,8 +51,8 @@ Requires-Dist: setuptools>=75.2
|
|
|
51
51
|
Requires-Dist: deprecated~=1.2
|
|
52
52
|
Requires-Dist: jinja2>=3.1.3,~=3.1
|
|
53
53
|
Requires-Dist: orjson<4,>=3.9.15
|
|
54
|
-
Requires-Dist: mlrun-pipelines-kfp-common~=0.
|
|
55
|
-
Requires-Dist: mlrun-pipelines-kfp-v1-8~=0.
|
|
54
|
+
Requires-Dist: mlrun-pipelines-kfp-common~=0.4.1
|
|
55
|
+
Requires-Dist: mlrun-pipelines-kfp-v1-8~=0.4.0
|
|
56
56
|
Requires-Dist: docstring_parser~=0.16
|
|
57
57
|
Requires-Dist: aiosmtplib~=3.0
|
|
58
58
|
Provides-Extra: s3
|
|
@@ -103,7 +103,7 @@ Requires-Dist: taoswswrap~=0.3.5; extra == "tdengine"
|
|
|
103
103
|
Provides-Extra: snowflake
|
|
104
104
|
Requires-Dist: snowflake-connector-python~=3.7; extra == "snowflake"
|
|
105
105
|
Provides-Extra: kfp18
|
|
106
|
-
Requires-Dist: mlrun_pipelines_kfp_v1_8[kfp]>=0.
|
|
106
|
+
Requires-Dist: mlrun_pipelines_kfp_v1_8[kfp]>=0.4.0; python_version < "3.11" and extra == "kfp18"
|
|
107
107
|
Provides-Extra: api
|
|
108
108
|
Requires-Dist: uvicorn~=0.32.1; extra == "api"
|
|
109
109
|
Requires-Dist: dask-kubernetes~=0.11.0; extra == "api"
|
|
@@ -119,7 +119,7 @@ Requires-Dist: timelength~=1.1; extra == "api"
|
|
|
119
119
|
Requires-Dist: memray~=1.12; sys_platform != "win32" and extra == "api"
|
|
120
120
|
Requires-Dist: aiosmtplib~=3.0; extra == "api"
|
|
121
121
|
Requires-Dist: pydantic<2,>=1; extra == "api"
|
|
122
|
-
Requires-Dist: mlrun-pipelines-kfp-v1-8
|
|
122
|
+
Requires-Dist: mlrun-pipelines-kfp-v1-8~=0.4.0; extra == "api"
|
|
123
123
|
Requires-Dist: grpcio~=1.70.0; extra == "api"
|
|
124
124
|
Provides-Extra: all
|
|
125
125
|
Requires-Dist: adlfs==2023.9.0; extra == "all"
|
|
@@ -215,7 +215,7 @@ Requires-Dist: igz-mgmt~=0.4.1; extra == "complete-api"
|
|
|
215
215
|
Requires-Dist: kafka-python~=2.0; extra == "complete-api"
|
|
216
216
|
Requires-Dist: memray~=1.12; sys_platform != "win32" and extra == "complete-api"
|
|
217
217
|
Requires-Dist: mlflow~=2.16; extra == "complete-api"
|
|
218
|
-
Requires-Dist: mlrun-pipelines-kfp-v1-8
|
|
218
|
+
Requires-Dist: mlrun-pipelines-kfp-v1-8~=0.4.0; extra == "complete-api"
|
|
219
219
|
Requires-Dist: msrest~=0.6.21; extra == "complete-api"
|
|
220
220
|
Requires-Dist: objgraph~=3.6; extra == "complete-api"
|
|
221
221
|
Requires-Dist: oss2==2.18.1; extra == "complete-api"
|
|
@@ -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=
|
|
3
|
+
mlrun/config.py,sha256=JptQ5cano4qGdSt8sFiEMQpT96Wr9Rv4A9q_cyMJgOo,72127
|
|
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=
|
|
324
|
+
mlrun/utils/helpers.py,sha256=KCvosDXfFNpxnoRAj33BbmMsQqK4wz1Wfj0s9MwOvSY,76782
|
|
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=
|
|
343
|
+
mlrun/utils/version/version.json,sha256=tuXJq2nSzgMkR_1BOzctty9vrj-bvCoa4ec-YhoGWco,88
|
|
344
344
|
mlrun/utils/version/version.py,sha256=eEW0tqIAkU9Xifxv8Z9_qsYnNhn3YH7NRAfM-pPLt1g,1878
|
|
345
|
-
mlrun-1.
|
|
346
|
-
mlrun-1.
|
|
347
|
-
mlrun-1.
|
|
348
|
-
mlrun-1.
|
|
349
|
-
mlrun-1.
|
|
350
|
-
mlrun-1.
|
|
345
|
+
mlrun-1.9.0rc2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
346
|
+
mlrun-1.9.0rc2.dist-info/METADATA,sha256=pkNMIypdTNvy1-_p1nJ_KsfFG2DbtD5mRNA0BpuMM-U,25916
|
|
347
|
+
mlrun-1.9.0rc2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
348
|
+
mlrun-1.9.0rc2.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
|
|
349
|
+
mlrun-1.9.0rc2.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
|
|
350
|
+
mlrun-1.9.0rc2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|