@@ -16,7 +16,8 @@ dependencies = [
1616 ' typing_extensions ~= 4.10; python_version < "3.13"' ,
1717 ' cssselect ~= 1.2' , # inline annotation
1818 ' beautifulsoup4 ~= 4.13' , # inline annotation
19- ' types-html5lib ~= 1.1.11, != 1.1.11.20250516' , # breaks pyright
19+ # 1.1.11.20250516 breaks pyright
20+ ' types-html5lib ~= 1.1.11.20241018, != 1.1.11.20250516' ,
2021]
2122keywords = [' lxml' , ' typing' , ' stubs' , ' annotation' ]
2223authors = [
@@ -48,14 +49,16 @@ basedpyright = ['basedpyright >= 1.4.0']
4849# mostly pinned for tox testing except dev group
4950[dependency-groups ]
5051basic = [
51- # pyright unhappy with 20250516 Incomplete change
52- " types-html5lib == 1.1.11.20250809" ,
53- " typing_extensions == 4.15.0; python_version < '3.13'" ,
52+ ' types-html5lib == 1.1.11.20241018; python_version <= "3.8"' ,
53+ ' types-html5lib == 1.1.11.20250809; python_version >= "3.9"' ,
54+ ' typing_extensions == 4.13.2; python_version == "3.8"' ,
55+ ' typing_extensions == 4.15.0; python_version >= "3.9" and python_version < "3.13"' ,
5456 " cssselect == 1.2.0; python_version <= '3.8'" ,
5557 " cssselect == 1.3.0; python_version >= '3.9'" ,
5658 " beautifulsoup4 == 4.13.5" ,
5759]
5860mypy = [
61+ # 1.17 breaks union syntax
5962 " mypy == 1.16.1; python_version >= '3.9'" ,
6063 " mypy == 1.14.0; python_version <= '3.8'" ,
6164]
0 commit comments