Movatterモバイル変換


[0]ホーム

URL:


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

Answeredbyhauntsaninja
jenstroeger asked this question inQ&A
Discussion options

Hello,

After reading Typeshed’sPackage versioning for third-party stubs, I’m still a little puzzled about versioning. For example, thepika package’s metadatahere 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-pikaSuccessfully 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 thepika 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 bysrittau
Comment options

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

You must be logged in to vote
5 replies
@hauntsaninja
Comment options

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

@hauntsaninja
Comment options

Pretty confusing situation overall

@Avasam
Comment options

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

@jenstroeger
Comment options

Oh I see:types-pika-ts the “ts” means Typeshed I assume? So I’m supposed topip install types-pika-ts then:

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

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

@Akuli
Comment options

Apparently we (typeshed maintainers) talked with the author inpython/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 freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
4 participants
@jenstroeger@Avasam@hauntsaninja@Akuli

[8]ページ先頭

©2009-2025 Movatter.jp