-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
BLD/CI: ResourceWarnings are back (sometimes)! #23680
Comments
Actually, I was only grepping into the Found the following in
@datapythonista Could it be that the ResourceWarning is coming form the doctests? This would make sense to me, because it always, always happens only in the travis-36 lint build. |
@h-vetinari I'm not sure where that error comes from. In #22854 I'm moving the doctests to azure, and after that I should be clear if the warning is generated in the doctests, as the logs for them will be displayed separate from the rest. If the problem is in the code you show, that should be fixed in #23201, as we should skip those lines from doctests. |
@datapythonista
Generally speaking, I don't understand why ResourceWarnings are only caught with |
In #22225, #23192 (and now #23582), I've had persistent a
ResourceWarning
the last few CI runs. I first thought it was a flaky thing like those warnings used to be, but this time, it stayed, and I can reproduce some of it locally (not withpytest pandas/tests/io/test_parquet.py
, but at least withpytest pandas/tests/io
).For example in:
and
There's also a
stderr
(orstdout
) warning from the parser-tests surfacing somewhere:I've narrowed one of the ResourceWarning down to the parquet-s3 tests, but at least one other one remains that I haven't been able to track (same for the
skipped line
warning). I couldn't grep anything about'df.parquet.gzip'
in various combinations, and tried disabling anything related to'gzip'
or S3 or_io
in several trial runs in #23192, to no avail.Any help would be appreciated. Would also be interested to hear if someone else has seen them already. The code in the PRs I linked on top cannot reasonably be the culprit (e.g. #23582 just adds tests)...
Potentially related xref: #22934
The text was updated successfully, but these errors were encountered: