Skip to content

BUG: Fix refcounting errors found using pytest-leaks#22798

Merged
charris merged 1 commit intonumpy:mainfrom
seberg:pytest-leaks
Dec 14, 2022
Merged

BUG: Fix refcounting errors found using pytest-leaks#22798
charris merged 1 commit intonumpy:mainfrom
seberg:pytest-leaks

Conversation

@seberg
Copy link
Copy Markdown
Member

@seberg seberg commented Dec 14, 2022

These are the clear errors I found based on pytest-leaks. One day it would be nice to fix up pytest-leaks to better support newer versions of pytest and cleaning up fixtures...

These are the clear errors I found based on pytest-leaks.  One day
it would be nice to fix up pytest-leaks to better support newer
versions of pytest and cleaning up fixtures...
@seberg seberg added 09 - Backport-Candidate PRs tagged should be backported 00 - Bug labels Dec 14, 2022
@charris charris added this to the 1.24.1 release milestone Dec 14, 2022
@charris charris merged commit b8f7c79 into numpy:main Dec 14, 2022
@charris
Copy link
Copy Markdown
Member

charris commented Dec 14, 2022

Thanks Sebastian. I put a 1.24.1 milestone on this as I plan to release 1.24.0 this weekend and don't want anymore new stuff in it.

@seberg seberg deleted the pytest-leaks branch December 14, 2022 15:32
@seberg
Copy link
Copy Markdown
Member Author

seberg commented Dec 14, 2022

Can't we backport it without an RC? Half of it is in new functionality, so it doesn't matter much, but the filling leak may hit people in practice if they use arr.fill(some_float) (or similar) in a tight loop.

@charris
Copy link
Copy Markdown
Member

charris commented Dec 14, 2022

We could, but the amount of new stuff keeps accumulating and eventually small risks become big risks. A 1.24.1 won't be too far in the future, probably early January.

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Dec 19, 2022
@charris charris removed this from the 1.24.1 release milestone Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants