-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
Move filterwarnings
calls from sage.all
to sage.all__sagemath_repl
#35160
Conversation
Codecov ReportBase: 88.60% // Head: 88.58% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #35160 +/- ##
===========================================
- Coverage 88.60% 88.58% -0.02%
===========================================
Files 2140 2140
Lines 397273 397271 -2
===========================================
- Hits 352004 351940 -64
- Misses 45269 45331 +62
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Documentation preview for this PR is ready! 🎉 |
I guess this is unrelated to the current PR, I copy it here so it won't get lost.
|
I agree, it's unrelated; just more trouble with PARI |
Works for me, tested in void linux x86_64. I wonder:;
I just worry that we silence deprecation warnings and miss the chance to fix the issues before functionality is removed. |
Thank you! |
It would probably be a good idea to create an Issue whenever such a deprecation warning is silenced. I think most of the filtered warnings are/were coming from upstream packages that had not been updated yet. Instead of attempting to patch the packages, we'd just add the filter. |
📚 Description
We can use
sage -t
to test with a top-level environment other thansage.all
using the parameter--environment=sage.all__sagemath_categories
etc.To make sure that the warnings configuration is also set up in this case, we move the
filterwarnings
calls fromsage.all
tosage.all__sagemath_repl
. (The doctester loadssage.repl
.)📝 Checklist
⌛ Dependencies