]> git.ipfire.org Git - thirdparty/psycopg.git/commit
chore: bump mypy to 1.4.1
authorDenis Laxalde <denis.laxalde@dalibo.com>
Wed, 12 Jul 2023 06:39:51 +0000 (08:39 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 21 Jul 2023 01:36:55 +0000 (02:36 +0100)
commit44ae8e75b3d1f99d1c9c5609af4d626af521d473
treed8e5d2b78e430d69ecc9f9c471c145e1bba9fa0d
parent597326a5e1ac926b67b6a39fe0c87383db244962
chore: bump mypy to 1.4.1

The issue previously mentioned about '# type: ignore[arg-type]' in
rows.py got resolved.

The new '# type: ignore[comparison-overlap]' in test_pipeline*.py are
due to https://github.com/python/mypy/issues/15509, a known regression
from Mypy 1.4. We use the workaround documented in the release blog post
https://mypy-lang.blogspot.com/2023/06/mypy-140-released.html (section
"Narrowing Enum Values Using “==”").
psycopg/psycopg/rows.py
psycopg/setup.py
tests/constraints.txt
tests/test_pipeline.py
tests/test_pipeline_async.py