Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Typeshed stub versions & availability #2049

Answered by hauntsaninja
jenstroeger asked this question in Q&A
Discussion options

Hello,

After reading Typeshed’s Package versioning for third-party stubs, I’m still a little puzzled about versioning. For example, the pika package’s metadata here claims

version = "1.3.*"

and yet that version fails to install:

ERROR: Could not find a version that satisfies the requirement types-pika==1.3.*; extra == "dev" (from ...) (from versions: 1.2.0b1)
ERROR: No matching distribution found for types-pika==1.3.*; extra == "dev"

but then this works:

> pip install types-pika
...
Installing collected packages: types-pika
Successfully installed types-pika-1.2.0b1

but it’s v1.2.0.

Question: where can I see the various available version for stub packages? And what happened here with the pika stub?

You must be logged in to vote

types-pika isn't a typeshed stub. It's maintained by someone else

Replies: 2 comments 5 replies

Comment options

types-pika isn't a typeshed stub. It's maintained by someone else

You must be logged in to vote
0 replies
Answer selected by srittau
Comment options

@srittau opened the initial PR python/typeshed#9200 and @Avasam contributed as well — so they’d know?

You must be logged in to vote
5 replies
Comment options

I think the typeshed one is https://pypi.org/project/types-pika-ts/

Comment options

Pretty confusing situation overall

Comment options

Yeah someone already published types-pika, so typeshed's had to use a different name.

Comment options

Oh I see: types-pika-ts the "ts" means Typeshed I assume? So I’m supposed to pip install types-pika-ts then:

> pip install types-pika-ts
...
Installing collected packages: types-pika-ts
Successfully installed types-pika-ts-1.3.0.20250516

In contrast, the types-pika seems pretty stale. The author didn’t collaborate to merge the packages?

Comment options

Apparently we (typeshed maintainers) talked with the author in python/typeshed#9246.

A quick google search suggests that it is possible to transfer the ownership of a PyPI project to another account. Maybe we should do that? I agree that the current situation is confusing.

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

AltStyle によって変換されたページ (->オリジナル) /