]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
port mypy 0.990 fixes changelog from 1.4 to 2.0
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 12 Nov 2022 02:13:06 +0000 (21:13 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 12 Nov 2022 02:13:06 +0000 (21:13 -0500)
for 2.0, we fixed for mypy 0.990 in ebb54e80a5a52d0cce4cba1.
In 1.4, we did a smaller version specific to the
test runner in 910504b67c22bfc767e2e47e2.  Since people
run the tests sometimes, include that this was fixed
for the 1.4/2.0 series.

Change-Id: I18b2aa10bd8a128b5aa093af5e219bc987271139

doc/build/changelog/unreleased_14/mypy_fixes.rst [new file with mode: 0644]

diff --git a/doc/build/changelog/unreleased_14/mypy_fixes.rst b/doc/build/changelog/unreleased_14/mypy_fixes.rst
new file mode 100644 (file)
index 0000000..32e4f14
--- /dev/null
@@ -0,0 +1,9 @@
+.. change::
+    :tags: bug, tests
+
+    Adjusted the test suite which tests the Mypy plugin to accommodate for
+    changes in Mypy 0.990 regarding how it handles message output, which affect
+    how sys.path is interpreted when determining if notes and errors should be
+    printed for particular files. The change broke the test suite as the files
+    within the test directory itself no longer produced messaging when run
+    under the mypy API.