Make stubtest work on pyscreeze if you're using py312 (#11582)

This commit is contained in:
Alex Waygood
2024-03-12 22:04:57 +00:00
committed by GitHub
parent 417bdb9ac9
commit 8a9dcb1967

View File

@@ -5,3 +5,7 @@ requires = ["types-Pillow"]
[tool.stubtest]
# Linux has extra constants, win32 has different definitions
platforms = ["linux", "win32"]
# PyScreeze has an odd setup.py file
# that doesn't list Pillow as a dependency for py312+ yet:
# https://github.com/asweigart/pyscreeze/blob/eeca245a135cf171c163b3691300138518efa64e/setup.py#L38-L46
stubtest_requirements = ["Pillow"]