Skip to content

Ignore warnings for Notebook test runs - #3603

Merged
javed-73 merged 2 commits into
mainfrom
user/moansa/ignorenbwarnings
May 30, 2025
Merged

Ignore warnings for Notebook test runs#3603
javed-73 merged 2 commits into
mainfrom
user/moansa/ignorenbwarnings

Conversation

@javed-73

@javed-73 javed-73 commented May 30, 2025

Copy link
Copy Markdown
Member

Description

Few of the notebook test jobs are failing at "check notebook output" step as notebook code cell output throws warnings.
Ignoring the warnings to get the runs succeeded.

Below are the warning thrown:

/opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/site-packages/azureml/dataprep/api/_loggerfactory.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81

opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/site-packages/azure/ai/ml/entities/_deployment/batch_deployment.py:137: UserWarning: This class is intended as a base class and it's direct usage is deprecated. Use one of the concrete implementations instead:

  • ModelBatchDeployment - For model-based batch deployments
  • PipelineComponentBatchDeployment - For pipeline component-based batch deployments
      warnings. Warn(

sdk-jobs-automl-standalone-jobs-automl-forecasting-github-dau-auto-ml-forecasting-github-dau

Checklist

  • I have read the contribution guidelines.
  • I have coordinated with the docs team (mldocs@microsoft.com) if this PR deletes files or changes any file names or file extensions.
  • Pull request includes test coverage for the included changes.
  • This notebook or file is added to the CODEOWNERS file, pointing to the author or the author's team.

@javed-73
javed-73 force-pushed the user/moansa/ignorenbwarnings branch from 58dc5fb to df2162b Compare May 30, 2025 09:57
@javed-73
javed-73 merged commit f6e39a4 into main May 30, 2025
@javed-73
javed-73 deleted the user/moansa/ignorenbwarnings branch May 30, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants