-
Notifications
You must be signed in to change notification settings - Fork 287
Typeshed stub versions & availability #2049
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
types-pika isn't a typeshed stub. It's maintained by someone else
Replies: 2 comments 5 replies
-
types-pika isn't a typeshed stub. It's maintained by someone else
Beta Was this translation helpful? Give feedback.
All reactions
-
@srittau opened the initial PR python/typeshed#9200 and @Avasam contributed as well — so they’d know?
Beta Was this translation helpful? Give feedback.
All reactions
-
I think the typeshed one is https://pypi.org/project/types-pika-ts/
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Pretty confusing situation overall
Beta Was this translation helpful? Give feedback.
All reactions
-
Yeah someone already published types-pika, so typeshed's had to use a different name.
Beta Was this translation helpful? Give feedback.
All reactions
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1