Skip to content

Stub versioning #3

Closed
Closed

Description

@JukkaL

Several people have expressed interest in versioning stub files.

Here are some reasons:

  • A library maintainer is worried that stubs maintained by 3rd parties for his or her library will get out of date, and people will complain to the library maintainer instead of the one who maintains the stubs.
  • A new version of a library breaks compatibility with earlier versions and it's no longer possible to use the same stub with all version of the library in any meaningful way.

Activity

  1. vlasovskikh commented on Apr 13, 2015

    @vlasovskikh
    Member

    TypeScript guys have created a set of tools for managing their stubs:

    This is their contribution guide.

  2. matthiaskramm commented on Apr 17, 2015

    @matthiaskramm
    Contributor

    I like the TypeScript approach of putting the version into the file name. If we do the same thing, we might have something like
    typeshed/python3/dist-packages/numpy-1.8.2.pyi

  3. gvanrossum commented on Jan 26, 2016

    @gvanrossum
    Member

    Closing. We now have a policy for this.

  4. added a commit that references this issue on Dec 29, 2016
  5. added a commit that references this issue on Aug 30, 2018
  6. added a commit that references this issue on Nov 24, 2021
  7. added a commit that references this issue on May 25, 2025
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions