Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-361

Ship PEP 561 py.typed markers so the connector's inline type hints reach downstream users

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 2.0.0-rc3
    • None
    • None

    Description

      The connector is fully type-annotated, but per PEP 561 a type checker ignores an installed package's inline hints unless it ships a py.typed marker. so pip install mariadb users (and cross-package checks of mariadb_shared) see everything as Any.

      fix: Add empty py.typed files to each packages and ship them via package-data in every wheel.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.