This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
Reduce the number of warnings in the CI #486
Labels
low priority
Not currently essential for any projects but would be great for a contributor to work on
warnings
Like a bug, but not as critical
@bendichter requested me to work to reduce some warnings. In the last two weeks the number has been reduced from around 600 before any warning reduction related PR to around 300 with #481
I think that now most of the low hanging fruit has been taken and the remaining ones have to do with other packages or require modify our tests slightly. So this is to document the work that has been done and establish a roadmap ahead:
dict_deep_update
to solve warnings. #481np.int
andnp.float
deprecation warnings Warning reduction : remove numpy type warnings. #459. (there are some PRs inroiextractors
andspikeextractors
here as well)The remaining warnings come from different sources. I list them here in no particular order.
As I mentioned, I think that most of the low-hanging fruit has already been picked and I will add this as low-priority unless @bendichter things it should be higher:
scipy.io.matlab.mio5_params
in roi-extractor.test_si
(this probably should be solved when we address issue Convert many tests to unittest.TestCases #287warn("could not find TwoPhotonSeries, using ImagingExtractor to create an nwbfile")
roiextractors.As I mentioned, there is also a bunch of errors that come from other libraries. Not clear if they could be solved by updating their version (I think this should be the case for some of the
pandas
warnings).Here is a log from running pytest on main on my system for future reference.
warnings_main.txt
The text was updated successfully, but these errors were encountered: