-
Notifications
You must be signed in to change notification settings - Fork 3.6k
tests: ignore future warning for oldest configurations #21185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
for more information, see https://pre-commit.ci
⚡ Required checks status: All passing 🟢Groups summary🟢 pytorch_lightning: Tests workflow
These checks are required after the changes to 🟢 pytorch_lightning: Azure GPU
These checks are required after the changes to 🟢 fabric: Docs
These checks are required after the changes to 🟢 pytorch_lightning: Docs
These checks are required after the changes to 🟢 pytorch_lightning: Docker
These checks are required after the changes to 🟢 lightning_fabric: CPU workflow
These checks are required after the changes to 🟢 lightning_fabric: Azure GPU
These checks are required after the changes to 🟢 mypy
These checks are required after the changes to 🟢 install
These checks are required after the changes to Thank you for your contribution! 💜
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #21185 +/- ##
=======================================
- Coverage 87% 87% -0%
=======================================
Files 269 269
Lines 23656 23656
=======================================
- Hits 20636 20633 -3
- Misses 3020 3023 +3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR modifies the testing configuration to ignore FutureWarnings when testing with the oldest supported dependency versions. The changes recognize that minimal/oldest dependency configurations are expected to generate FutureWarnings and should not fail tests due to these warnings.
- Removes a specific pynvml deprecation warning filter from the main test configuration
- Adds sed commands to CI workflows to automatically remove FutureWarning error filters when testing oldest dependencies
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
pyproject.toml | Removes specific pynvml FutureWarning ignore filter from test configuration |
.github/workflows/ci-tests-pytorch.yml | Adds sed command to remove FutureWarning error filters for oldest dependency testing |
.github/workflows/ci-tests-fabric.yml | Adds sed command to remove FutureWarning error filters for oldest dependency testing |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
for more information, see https://pre-commit.ci
What does this PR do?
Testing Future warning for minimal/oldest dependencies is false case
It's almost sure that the min configuration will or should raise warnings
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:
Reviewer checklist
📚 Documentation preview 📚: https://pytorch-lightning--21185.org.readthedocs.build/en/21185/