agronholm / typeguard

Run-time type checker for Python
Other
1.5k stars 112 forks source link

typing_extensions.Buffer requires `typing-extensions>=4.6` #472

Closed ymerkli closed 1 month ago

ymerkli commented 2 months ago

Things to check first

Typeguard version

4.2.1

Python version

3.10.12

What happened?

typeguard uses typing_extensions.Buffer, which was only added to typing_extenions>=4.6.0.

How can we reproduce the bug?

pip install typing_extensions==4.5.0
python -c "from typeguard import check_type"
agronholm commented 1 month ago

Typeguard already depends on typing_extensions >= 4.10.0, so I have no clue why you would report this as a bug.