Skip to content

No stubs for mysql #146

Closed
Closed

Description

@jukebox
⌁ [juke:~/minimysqconnector] 1 % cat mini.py                              
from mysql.connector import connect
⌁ [juke:~/minimysqconnector] % mypy mini.py               
mini.py:1: error: Cannot find module named 'mysql.connector'
mini.py:1: note: (Perhaps setting MYPYPATH would help)

Activity

  1. changed the title [-] Cannot find module named 'mysql.connector'[/-] [+]No stubs for mysql[/+] on Apr 14, 2016
  2. gvanrossum commented on Apr 14, 2016

    @gvanrossum
    Member

    There are no stubs for mysql at all. Would you mind asking the mysql project for permission to add stubs to typeshed? (This is needed because of a policy set in PEP 484: https://www.python.org/dev/peps/pep-0484/#the-typeshed-repo; see also the README.md file in the typeshed repo.)

  3. added a commit that references this issue on Jul 5, 2016
    7d4bc9b
  4. srittau commented on Aug 26, 2020

    @srittau
    Collaborator

    We are closing all third-party stub requests issues without recent activity. We still welcome pull requests that add these to typeshed, although distributing the stubs with the the third-party package itself is preferable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: requestOUTDATED! Request to add stubs for a new package to typeshed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions