]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
add mypy issue 13856 to bug reporting template
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 30 Mar 2023 14:14:23 +0000 (10:14 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 30 Mar 2023 14:14:23 +0000 (10:14 -0400)
Change-Id: Ie25810bfb188794858ba39e246a72b06c484e474
References: #9567

.github/ISSUE_TEMPLATE/typing.yaml

index bf21a5f0748644f76a876c760443b72c0ac1b23c..28149f651d40de991fa6f035707b675261fe32cb 100644 (file)
@@ -35,6 +35,21 @@ Currently the SQLAlchemy team is targeting mypy support, with best effort suppor
         - label: The api is not in a module listed in [#6810](https://github.com/sqlalchemy/sqlalchemy/issues/6810) so it should pass type checking
           required: true
 
+  - type: checkboxes
+    id: mypy13856
+    attributes:
+      label: Confirm this is not Mypy dataclasses issue 13856
+      description: "Mypy 1.1.1 has a bug in its pep-681 implementation that affects SQLAlchemy
+      ``MappedAsDataclass``.  If the issue is using Mypy 1.1.1 and involves attribute types
+      for a ``MappedAsDataclass`` class, please consult the workarounds at
+      https://docs.sqlalchemy.org/en/20/orm/dataclasses.html#declarative-dataclass-mapping to
+      disable pep-681 for Mypy.
+
+      "
+      options:
+        - label: This is not related to Mypy issue 13856
+          required: true
+
   - type: textarea
     attributes:
       label: Describe the typing issue