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
[INFRA] Remove CI workflow to error on DeprecationWarnings of dependencies #4149
Conversation
dbf20d4
to
a8dcb2f
Compare
👋 @ymzayek Thanks for creating a PR! Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft. Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.
For new features:
For bug fixes:
We will review it as quick as possible, feel free to ping us with questions if needed. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4149 +/- ##
=======================================
Coverage 91.90% 91.90%
=======================================
Files 145 145
Lines 16330 16330
Branches 3404 3404
=======================================
Hits 15008 15008
Misses 778 778
Partials 544 544
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
I have no personal opinion on this. What is the motivation for removing it ?
At the moment it's failing on a deprecation warning that would need to be handled by an external library. It's purpose was to notify us about deprecation warnings that we actually need to handle ourselves before they even fail on new releases or even pre releases of our dependencies. In any case removing it is not risky for us and we still have the python 3.12 job with pre releases that will fail if we have deprecated code associated with a pre release of one of our dependencies and that's usually handled quickly enough |
Definitely low risk to remove. Chekcing the latest runs: Last one could not even start and the one before that did catch a few things though. Would it be worth thinking of better ways to replace it (as part of this PR or another?) |
Yes let's do it in another PR I would say. I can reopen the original issue.
The one before seems to only have caught internal deprecation warnings (the _LEGACY_FORMAT_MSG) which is also not the purpose of this workflow |
Ok let's merge this and reopen the old issue then. |
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.
Thx for the explanations.
Changes proposed in this pull request:
This job doesn't work very well. I think there might be a better way to manage this with tox. I suggest to remove for now. Also, we are pretty up-to-date on handling deprecations