Skip to content

Conversation

vlad-perevezentsev
Copy link
Contributor

This PR suggests using from packaging.requirements import Requirement instead of import pkg_resources to avoid DeprecationWarning.
These changes also remove ignoring of DeprecationWarning in filterwarnings pytest settings

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you filing the PR as a draft?

Copy link
Contributor

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good test improvement, many thanks @vlad-perevezentsev

Copy link
Contributor

github-actions bot commented Nov 7, 2024

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@vlad-perevezentsev vlad-perevezentsev merged commit 06f6e33 into master Nov 7, 2024
46 checks passed
@vlad-perevezentsev vlad-perevezentsev deleted the remove_pkg_resources branch November 7, 2024 15:13
github-actions bot added a commit that referenced this pull request Nov 7, 2024
* Replace pkg_resources to packaging to avoid DeprecationWarning

* A small update cupy with_requires() func

* Remove pkg_resources filterwarning 06f6e33
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.

2 participants