mlrun 1.7.0rc52__py3-none-any.whl → 1.7.0rc54__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.

@@ -13,6 +13,7 @@
13
13
  # limitations under the License.
14
14
 
15
15
  import json
16
+ import traceback
16
17
  from typing import Any, Optional, Union
17
18
 
18
19
  import mlrun.common.schemas.alert as alert_objects
@@ -161,7 +162,10 @@ class _ApplicationErrorHandler(StepToDict):
161
162
  :param event: Application event.
162
163
  """
163
164
 
164
- logger.error(f"Error in application step: {event}")
165
+ exception_with_trace = "".join(
166
+ traceback.format_exception(None, event.error, event.error.__traceback__)
167
+ )
168
+ logger.error(f"Error in application step: {exception_with_trace}")
165
169
 
166
170
  event_data = alert_objects.Event(
167
171
  kind=alert_objects.EventKind.MM_APP_FAILED,
@@ -217,7 +217,7 @@ class TDEngineConnector(TSDBConnector):
217
217
  drop_statements.append(
218
218
  self.tables[table]._drop_subtable_query(subtable=subtable[0])
219
219
  )
220
- self.connection.run(statements=[drop_statements])
220
+ self.connection.run(statements=drop_statements)
221
221
  logger.debug(
222
222
  "Deleted all project resources using the TDEngine connector",
223
223
  project=self.project,
@@ -593,7 +593,7 @@ class _KFPRunner(_PipelineRunner):
593
593
  logger.warning(
594
594
  "Setting notifications on kfp pipeline runner uses old notification behavior. "
595
595
  "Notifications will only be sent if you wait for pipeline completion. "
596
- "To use the new notification behavior, use the remote pipeline runner."
596
+ "Some of the features (like setting message or severity level) are not supported."
597
597
  )
598
598
  # for start message, fallback to old notification behavior
599
599
  for notification in notifications or []:
@@ -1,4 +1,4 @@
1
1
  {
2
- "git_commit": "2c302d1e0b0ca25ab0b515fe43e3df47ebe8bd62",
3
- "version": "1.7.0-rc52"
2
+ "git_commit": "303352377135c79684172981c339c097637aea1a",
3
+ "version": "1.7.0-rc54"
4
4
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mlrun
3
- Version: 1.7.0rc52
3
+ Version: 1.7.0rc54
4
4
  Summary: Tracking and config of machine learning runs
5
5
  Home-page: https://github.com/mlrun/mlrun
6
6
  Author: Yaron Haviv
@@ -85,7 +85,7 @@ Requires-Dist: s3fs <2024.7,>=2023.9.2 ; extra == 'all'
85
85
  Requires-Dist: snowflake-connector-python ~=3.7 ; extra == 'all'
86
86
  Requires-Dist: sqlalchemy ~=1.4 ; extra == 'all'
87
87
  Requires-Dist: taos-ws-py ==0.3.2 ; extra == 'all'
88
- Requires-Dist: taoswswrap ~=0.1.0 ; extra == 'all'
88
+ Requires-Dist: taoswswrap ~=0.2.0 ; extra == 'all'
89
89
  Provides-Extra: api
90
90
  Requires-Dist: uvicorn ~=0.27.1 ; extra == 'api'
91
91
  Requires-Dist: dask-kubernetes ~=0.11.0 ; extra == 'api'
@@ -139,7 +139,7 @@ Requires-Dist: s3fs <2024.7,>=2023.9.2 ; extra == 'complete'
139
139
  Requires-Dist: snowflake-connector-python ~=3.7 ; extra == 'complete'
140
140
  Requires-Dist: sqlalchemy ~=1.4 ; extra == 'complete'
141
141
  Requires-Dist: taos-ws-py ==0.3.2 ; extra == 'complete'
142
- Requires-Dist: taoswswrap ~=0.1.0 ; extra == 'complete'
142
+ Requires-Dist: taoswswrap ~=0.2.0 ; extra == 'complete'
143
143
  Provides-Extra: complete-api
144
144
  Requires-Dist: adlfs ==2023.9.0 ; extra == 'complete-api'
145
145
  Requires-Dist: aiobotocore <2.16,>=2.5.0 ; extra == 'complete-api'
@@ -177,7 +177,7 @@ Requires-Dist: s3fs <2024.7,>=2023.9.2 ; extra == 'complete-api'
177
177
  Requires-Dist: snowflake-connector-python ~=3.7 ; extra == 'complete-api'
178
178
  Requires-Dist: sqlalchemy ~=1.4 ; extra == 'complete-api'
179
179
  Requires-Dist: taos-ws-py ==0.3.2 ; extra == 'complete-api'
180
- Requires-Dist: taoswswrap ~=0.1.0 ; extra == 'complete-api'
180
+ Requires-Dist: taoswswrap ~=0.2.0 ; extra == 'complete-api'
181
181
  Requires-Dist: timelength ~=1.1 ; extra == 'complete-api'
182
182
  Requires-Dist: uvicorn ~=0.27.1 ; extra == 'complete-api'
183
183
  Requires-Dist: memray ~=1.12 ; (sys_platform != "win32") and extra == 'complete-api'
@@ -213,7 +213,7 @@ Provides-Extra: sqlalchemy
213
213
  Requires-Dist: sqlalchemy ~=1.4 ; extra == 'sqlalchemy'
214
214
  Provides-Extra: tdengine
215
215
  Requires-Dist: taos-ws-py ==0.3.2 ; extra == 'tdengine'
216
- Requires-Dist: taoswswrap ~=0.1.0 ; extra == 'tdengine'
216
+ Requires-Dist: taoswswrap ~=0.2.0 ; extra == 'tdengine'
217
217
 
218
218
  <a id="top"></a>
219
219
  [![Build Status](https://github.com/mlrun/mlrun/actions/workflows/build.yaml/badge.svg?branch=development)](https://github.com/mlrun/mlrun/actions/workflows/build.yaml?query=branch%3Adevelopment)
@@ -221,7 +221,7 @@ mlrun/model_monitoring/stream_processing.py,sha256=0eu1Gq1Obq87LFno6eIZ55poXoFae
221
221
  mlrun/model_monitoring/tracking_policy.py,sha256=sQq956akAQpntkrJwIgFWcEq-JpyVcg0FxgNa4h3V70,5502
222
222
  mlrun/model_monitoring/writer.py,sha256=TrBwngRmdwr67De71UCcCFsJOfcqQe8jDp0vkBvGf0o,10177
223
223
  mlrun/model_monitoring/applications/__init__.py,sha256=QYvzgCutFdAkzqKPD3mvkX_3c1X4tzd-kW8ojUOE9ic,889
224
- mlrun/model_monitoring/applications/_application_steps.py,sha256=fvZbtat7eXe5mo927_jyhq4BqWCapKZn7OVjptepIAI,7055
224
+ mlrun/model_monitoring/applications/_application_steps.py,sha256=i6gyVaZHif0xEWl60QoU4VJCJx5-KRVdR1djUKuLBjI,7222
225
225
  mlrun/model_monitoring/applications/base.py,sha256=uzc14lFlwTJnL0p2VBCzmp-CNoHd73cK_Iz0YHC1KAs,4380
226
226
  mlrun/model_monitoring/applications/context.py,sha256=vOZ_ZgUuy5UsNe22-puJSt7TB32HiZtqBdN1hegykuQ,12436
227
227
  mlrun/model_monitoring/applications/evidently_base.py,sha256=FSzmoDZP8EiSQ3tq5RmU7kJ6edh8bWaKQh0rBORjODY,5099
@@ -245,7 +245,7 @@ mlrun/model_monitoring/db/tsdb/helpers.py,sha256=0oUXc4aUkYtP2SGP6jTb3uPPKImIUsV
245
245
  mlrun/model_monitoring/db/tsdb/tdengine/__init__.py,sha256=vgBdsKaXUURKqIf3M0y4sRatmSVA4CQiJs7J5dcVBkQ,620
246
246
  mlrun/model_monitoring/db/tsdb/tdengine/schemas.py,sha256=LqWJebDXrXo0mteKVG6LnvPYlWBYh2lMCXEcv-lWoKA,10551
247
247
  mlrun/model_monitoring/db/tsdb/tdengine/stream_graph_steps.py,sha256=Hb0vcCBP-o0ET78mU4P32fnhUL65QZv-pMuv2lnCby4,1586
248
- mlrun/model_monitoring/db/tsdb/tdengine/tdengine_connector.py,sha256=drNq_EpERU4lUNr_HyKBHVE4gB3CTz34Oi49XcO64EQ,18990
248
+ mlrun/model_monitoring/db/tsdb/tdengine/tdengine_connector.py,sha256=tx8W40cqKKnwuAvFVa7pbX8mv6P-gS1dWNifjPuIG7c,18988
249
249
  mlrun/model_monitoring/db/tsdb/v3io/__init__.py,sha256=aL3bfmQsUQ-sbvKGdNihFj8gLCK3mSys0qDcXtYOwgc,616
250
250
  mlrun/model_monitoring/db/tsdb/v3io/stream_graph_steps.py,sha256=mbmhN4f_F58ptVjhwoMF6ifZSdnZWhK7x8eNsWS39IA,6217
251
251
  mlrun/model_monitoring/db/tsdb/v3io/v3io_connector.py,sha256=1H-IBXPNJPRAaxDMGWpUU25QqfR87LpZbJ03vaJkICs,32858
@@ -272,7 +272,7 @@ mlrun/platforms/__init__.py,sha256=ggSGF7inITs6S-vj9u4S9X_5psgbA0G3GVqf7zu8qYc,2
272
272
  mlrun/platforms/iguazio.py,sha256=1h5BpdAEQJBg2vIt7ySjUADU0ip5OkaMYr0_VREi9ys,13084
273
273
  mlrun/projects/__init__.py,sha256=Lv5rfxyXJrw6WGOWJKhBz66M6t3_zsNMCfUD6waPwx4,1153
274
274
  mlrun/projects/operations.py,sha256=gtqSU9OvYOV-b681uQtWgnW7YSnX6qfa1Mt1Xm4f1ZI,19752
275
- mlrun/projects/pipelines.py,sha256=9IZjfm9ccBO5xPW6FFY0em9w2ETNBP0hTvzfUf_YDjM,40951
275
+ mlrun/projects/pipelines.py,sha256=tJsoqHYJw0jsB9rawUtTHQ71xnT03b_JVyPROPX-EGU,40962
276
276
  mlrun/projects/project.py,sha256=FjgkBBBP6geuxOGGp1Es5EFqsrs3M6PNWejBdoM08ng,190769
277
277
  mlrun/runtimes/__init__.py,sha256=egLM94cDMUyQ1GVABdFGXUQcDhU70lP3k7qSnM_UnHY,9008
278
278
  mlrun/runtimes/base.py,sha256=JXWmTIcm3b0klGUOHDlyFNa3bUgsNzQIgWhUQpSZoE0,37692
@@ -341,11 +341,11 @@ mlrun/utils/notifications/notification/ipython.py,sha256=ZtVL30B_Ha0VGoo4LxO-voT
341
341
  mlrun/utils/notifications/notification/slack.py,sha256=wqpFGr5BTvFO5KuUSzFfxsgmyU1Ohq7fbrGeNe9TXOk,7006
342
342
  mlrun/utils/notifications/notification/webhook.py,sha256=cb9w1Mc8ENfJBdgan7iiVHK9eVls4-R3tUxmXM-P-8I,4746
343
343
  mlrun/utils/version/__init__.py,sha256=7kkrB7hEZ3cLXoWj1kPoDwo4MaswsI2JVOBpbKgPAgc,614
344
- mlrun/utils/version/version.json,sha256=aebwGt4rZOROuMZJhVbQLjSTK6WxjEeI0k5kbplPv10,89
344
+ mlrun/utils/version/version.json,sha256=RGDxCQDLM1wfA0pE0GHsTxg69fa8DrFb5OM8qya1G2k,89
345
345
  mlrun/utils/version/version.py,sha256=eEW0tqIAkU9Xifxv8Z9_qsYnNhn3YH7NRAfM-pPLt1g,1878
346
- mlrun-1.7.0rc52.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
347
- mlrun-1.7.0rc52.dist-info/METADATA,sha256=4xKf0fr7nekI1lzBspdArputjtfZNMTiXwjBWx0dQHo,24485
348
- mlrun-1.7.0rc52.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
349
- mlrun-1.7.0rc52.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
350
- mlrun-1.7.0rc52.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
351
- mlrun-1.7.0rc52.dist-info/RECORD,,
346
+ mlrun-1.7.0rc54.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
347
+ mlrun-1.7.0rc54.dist-info/METADATA,sha256=qgMgrMww1s52HjGVuW-6jBVNVTFMpQ0fg-sgozxXl5Y,24485
348
+ mlrun-1.7.0rc54.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
349
+ mlrun-1.7.0rc54.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
350
+ mlrun-1.7.0rc54.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
351
+ mlrun-1.7.0rc54.dist-info/RECORD,,