Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Jan 21, 2024

Do not use test-image-results to upload images after test failures.

Suggested in #7733 (comment)

@radarhere radarhere changed the title Do not use test-image-results to upload images after test results Do not support using test-image-results to upload images after test failures Jan 21, 2024
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @wiredfool.

@radarhere radarhere merged commit 4175787 into python-pillow:main Jan 24, 2024
@radarhere radarhere deleted the test_image_results branch January 24, 2024 19:37
@radarhere radarhere changed the title Do not support using test-image-results to upload images after test failures Do not support using test-image-results uploading images after test failures Jan 24, 2024
@radarhere radarhere changed the title Do not support using test-image-results uploading images after test failures Do not support using test-image-results to upload images after test failures Jan 24, 2024
lbliii added a commit to lbliii/bengal that referenced this pull request Dec 23, 2025
…sing sequential generation

Root cause: Pillow's C extensions are not thread-safe without the GIL.
Python 3.14t (free-threading build) disables the GIL, causing segfaults
when ThreadPoolExecutor is used for parallel image generation.

Changes:
- Remove ThreadPoolExecutor parallel generation (unsafe in no-GIL mode)
- Add _is_free_threading() check to detect free-threading Python
- Use sequential generation for all Python builds (consistent, safe)
- Add progress logging for large sites (>100 pages)
- Performance: ~30ms/card, acceptable for 1000+ page sites

See: python-pillow/Pillow#7739
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