Skip to content

Conversation

@jelmer
Copy link
Owner

@jelmer jelmer commented Jan 2, 2026

No description provided.

jelmer added 28 commits January 2, 2026 17:36
- Add __del__ method to Protocol that raises ResourceWarning if not explicitly closed
- Fix test_client tests to properly close Protocol objects returned by _connect()
- Fix TestSSHVendor.Subprocess mock methods to accept proper arguments
- Add __del__ methods to Pack and PackData that raise ResourceWarning if not explicitly closed
- Fix test_bundle to properly close PackData objects using addCleanup
- Set _file/_data/_idx to None after closing to prevent double-close
Add proper cleanup for MemoryRepo instances in test files to prevent
resource leaks.
@jelmer jelmer enabled auto-merge January 2, 2026 17:49
@jelmer jelmer force-pushed the fix-various-warnings branch from fdf1e45 to ef3934e Compare January 4, 2026 17:56
@jelmer jelmer merged commit 3631ba1 into master Jan 4, 2026
27 checks passed
@jelmer jelmer deleted the fix-various-warnings branch January 4, 2026 18:26
github-actions bot pushed a commit that referenced this pull request Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants