René's URL Explorer Experiment


Title: Explore building third party stubs as packages · Issue #2491 · python/typeshed · GitHub

Open Graph Title: Explore building third party stubs as packages · Issue #2491 · python/typeshed

X Title: Explore building third party stubs as packages · Issue #2491 · python/typeshed

Description: This is an alternative to #2440 (disallowing third-party stubs). The idea is that typeshed remains/becomes a central repository for third-party stubs that are not bundled with the parent package, similar to DefinitelyTyped. In the future...

Open Graph Description: This is an alternative to #2440 (disallowing third-party stubs). The idea is that typeshed remains/becomes a central repository for third-party stubs that are not bundled with the parent package, s...

X Description: This is an alternative to #2440 (disallowing third-party stubs). The idea is that typeshed remains/becomes a central repository for third-party stubs that are not bundled with the parent package, s...

Opengraph URL: https://github.com/python/typeshed/issues/2491

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Explore building third party stubs as packages","articleBody":"This is an alternative to #2440 (disallowing third-party stubs). The idea is that typeshed remains/becomes a central repository for third-party stubs that are not bundled with the parent package, similar to [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped). In the future I expect type checkers will not want to bundle all third-party stubs for a variety of reasons, so third-party stubs would be distributed as separate [PEP 561](https://www.python.org/dev/peps/pep-0561/) stub-only packages, one per upstream package.\r\n\r\n(I tried to integrate points raised there into this issue, especially those by @JukkaL in [this comment](https://github.com/python/typeshed/issues/2440#issuecomment-423939393).)\r\n\r\n## Advantages\r\n\r\n* Due to typeshed's tests, packages in typeshed will continue to work with the latests versions of mypy and pytype.\r\n* Basic level of consistency and standards due to review by typeshed maintainers.\r\n* Consistent naming scheme for third-party stubs packages, allowing users to just \"pip install <guessed name>\" and it will work when there are stubs.\r\n* Tooling (like tests) is easier to manage as it can remain part of the typeshed package.\r\n* Easier to contribute to stubs, since contributors don't need to learn the intricacies of multiple stubs projects.\r\n* No need to start a separate project just to distribute stubs for a new package.\r\n\r\n## Issues\r\n\r\n* Workload issues for typeshed maintainers.\r\n* Typeshed maintainers will often not be familiar with the package for which pull requests are opened.\r\n* Publishing stubs takes longer due to the necessary reviews.\r\n\r\n## Further Considerations\r\n\r\nWhat should the generated packages be called? @ethanhs's PEP 561 actually requires stubs-only package to be named `\u003cpackage>-stubs`. typeshed could squat these names and release them (and remove the stubs) on the request of upstream maintainers. Alternatively, typeshed could add a common prefix or suffix (`ts`, `typeshed`) or in addition to or instead of the `-stubs` suffix. This would be in violation of PEP 561, so we'd need to get broader consensus to amend the PEP. My personal favorite would be `\u003cpackage>-ts`.\r\n\r\nTo guarantee a fairly quick turnaround on stubs, to minimize work for publishing stubs, and to prevent all third-party stub packages to be updated whenever a new typeshed version is released, stubs for a specific third-party package should be published automatically when it changes.\r\n\r\n## Possible Implementation\r\n\r\n* Add a generic `setup-tp.py` to typeshed that takes its package name from the directory it's in and uses the current date and time as version number.\r\n* Amend the CI process for `master` only so that after a successful test run, for every third-party package that was changed since the last successful run, the following is done automatically:\r\n    1. Copy `setup-tp.py` into the third-party module directory as `setup.py`.\r\n    1. Build the package in that directory.\r\n    1. Upload to pypi.\r\n","author":{"url":"https://github.com/srittau","@type":"Person","name":"srittau"},"datePublished":"2018-09-27T06:02:07Z","url":"https://github.com/python/typeshed/issues/2491"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:55877e2a-7d4a-8529-7660-36934860e81d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC69A:43251:1779012:1F3D0A7:6B002BCC
html-safe-nonceb3466ae28065fc300fe23be5389386c45ef323f07b9717e2fb84014abcf4fef4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjlBOjQzMjUxOjE3NzkwMTI6MUYzRDBBNzo2QjAwMkJDQyIsInZpc2l0b3JfaWQiOiIzNTEzMDU3NTAyMTQ3MTI4MjY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8b1f1967a9b9ad63edcb7821082fad39c50a1bb86a68e45d89a53448a36cd717
hovercard-subject-tagissue:364316789
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typeshed/2491/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7321488395185f601cb80af555203a7aed71737d6f70a45dede000e8aee79c5a/python/typeshed/issues/2491
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7321488395185f601cb80af555203a7aed71737d6f70a45dede000e8aee79c5a/python/typeshed/issues/2491
og:image:altThis is an alternative to #2440 (disallowing third-party stubs). The idea is that typeshed remains/becomes a central repository for third-party stubs that are not bundled with the parent package, s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesrittau
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/typeshed/issues/2491#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fissues%2F2491
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fissues%2F2491
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://github.com/python/typeshed/issues/2491
Reloadhttps://github.com/python/typeshed/issues/2491
Reloadhttps://github.com/python/typeshed/issues/2491
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
New issuehttps://github.com/login?return_to=https://github.com/python/typeshed/issues/2491
New issuehttps://github.com/login?return_to=https://github.com/python/typeshed/issues/2491
Explore building third party stubs as packageshttps://github.com/python/typeshed/issues/2491#top
project: policyOrganization of the typeshed projecthttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22project%3A%20policy%22
https://github.com/srittau
srittauhttps://github.com/srittau
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issue-364316789
#2440https://github.com/python/typeshed/issues/2440
DefinitelyTypedhttps://github.com/DefinitelyTyped/DefinitelyTyped
PEP 561https://www.python.org/dev/peps/pep-0561/
@JukkaLhttps://github.com/JukkaL
this commenthttps://github.com/python/typeshed/issues/2440#issuecomment-423939393
@ethanhshttps://github.com/ethanhs
Nexthttps://github.com/python/typeshed/issues/2491?timeline_page=1
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issuecomment-424993411
pypi/warehouse#4164https://github.com/pypi/warehouse/issues/4164
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issuecomment-425036459
#2440https://github.com/python/typeshed/issues/2440
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issuecomment-425042127
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issuecomment-425043758
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issuecomment-425156737
https://github.com/ambv/blackhttps://github.com/ambv/black
https://github.com/sproshev
sproshevhttps://github.com/sproshev
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issuecomment-425168859
https://github.com/sproshev
sproshevhttps://github.com/sproshev
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issuecomment-425169827
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Sep 27, 2018https://github.com/python/typeshed/issues/2491#issuecomment-425184856
@sproshevhttps://github.com/sproshev
srittauhttps://github.com/srittau
project: policyOrganization of the typeshed projecthttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22project%3A%20policy%22
on Oct 1, 2018https://github.com/python/typeshed/issues/2491#event-1876348932
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on Oct 4, 2018https://github.com/python/typeshed/issues/2491#issuecomment-427178999
PEP 561https://www.python.org/dev/peps/pep-0561/#stub-only-packages
https://github.com/srittau
srittauhttps://github.com/srittau
on Oct 21, 2018https://github.com/python/typeshed/issues/2491#issuecomment-431668289
#754https://github.com/python/typeshed/issues/754
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Oct 21, 2018https://github.com/python/typeshed/issues/2491#issuecomment-431685623
srittauhttps://github.com/srittau
on Oct 23, 2018https://github.com/python/typeshed/issues/2491#event-1921831225
Build script for third-party distributionshttps://github.com/srittau/typeshed/commit/3ae60a6d1ecd32d1ca69fbac08de3db7631cbd35
3ae60a6https://github.com/srittau/typeshed/commit/3ae60a6d1ecd32d1ca69fbac08de3db7631cbd35
https://github.com/srittau
srittauhttps://github.com/srittau
on Oct 23, 2018https://github.com/python/typeshed/issues/2491#issuecomment-432434890
#2545https://github.com/python/typeshed/pull/2545
https://github.com/srittau
srittauhttps://github.com/srittau
on Oct 26, 2018https://github.com/python/typeshed/issues/2491#issuecomment-433319035
@ethanhshttps://github.com/ethanhs
rchen152https://github.com/rchen152
on Jan 27, 2021https://github.com/python/typeshed/issues/2491#event-4257691210
Support typeshed's new directory structure.https://github.com/google/pytype/commit/4a40c69bcdc7ccad3d071ba8b332cc34815f82eb
4a40c69https://github.com/google/pytype/commit/4a40c69bcdc7ccad3d071ba8b332cc34815f82eb
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jan 27, 2021https://github.com/python/typeshed/issues/2491#issuecomment-768544518
@JukkaLhttps://github.com/JukkaL
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jan 27, 2021https://github.com/python/typeshed/issues/2491#issuecomment-768608064
@rchen152https://github.com/rchen152
@hauntsaninjahttps://github.com/hauntsaninja
https://github.com/erictraut
erictrauthttps://github.com/erictraut
on Jan 28, 2021https://github.com/python/typeshed/issues/2491#issuecomment-768770774
@ilevkivskyihttps://github.com/ilevkivskyi
@srittauhttps://github.com/srittau
ilevkivskyihttps://github.com/ilevkivskyi
on Jan 28, 2021https://github.com/python/typeshed/issues/2491#event-4259966436
Update documentation to better reflect new directory structure. (#4976)https://github.com/python/typeshed/commit/e70d06962a621afc333c38015b8b759d30544d55
#4976https://github.com/python/typeshed/pull/4976
e70d069https://github.com/python/typeshed/commit/e70d06962a621afc333c38015b8b759d30544d55
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jan 29, 2021https://github.com/python/typeshed/issues/2491#issuecomment-770038621
https://github.com/ymotongpoo
ymotongpoohttps://github.com/ymotongpoo
on Feb 1, 2021https://github.com/python/typeshed/issues/2491#issuecomment-770583449
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Feb 2, 2021https://github.com/python/typeshed/issues/2491#issuecomment-771990289
typeshed-internal/stub_uploader@96cb137https://github.com/typeshed-internal/stub_uploader/commit/96cb137b2e94af55261ada4cc97365171c9b4952
ilevkivskyihttps://github.com/ilevkivskyi
completedhttps://github.com/python/typeshed/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 2, 2021https://github.com/python/typeshed/issues/2491#event-4281725262
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Feb 2, 2021https://github.com/python/typeshed/issues/2491#issuecomment-771991257
https://github.com/ymotongpoo
ymotongpoohttps://github.com/ymotongpoo
on Feb 3, 2021https://github.com/python/typeshed/issues/2491#issuecomment-772134155
@ilevkivskyihttps://github.com/ilevkivskyi
version "0.1"https://github.com/python/typeshed/blob/master/stubs/paramiko/METADATA.toml
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Feb 3, 2021https://github.com/python/typeshed/issues/2491#issuecomment-772145780
#4981https://github.com/python/typeshed/issues/4981
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Feb 3, 2021https://github.com/python/typeshed/issues/2491#issuecomment-772724864
https://github.com/ymotongpoo
ymotongpoohttps://github.com/ymotongpoo
on Feb 5, 2021https://github.com/python/typeshed/issues/2491#issuecomment-773993541
@hauntsaninjahttps://github.com/hauntsaninja
@JukkaLhttps://github.com/JukkaL
#4981https://github.com/python/typeshed/issues/4981
https://github.com/ofek
ofekhttps://github.com/ofek
on Aug 18, 2024https://github.com/python/typeshed/issues/2491#issuecomment-2295370419
https://discuss.python.org/t/pep-752-package-repository-namespaces/61227https://discuss.python.org/t/pep-752-package-repository-namespaces/61227
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/typeshed/issues/2491
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/typeshed/issues/2491
project: policyOrganization of the typeshed projecthttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22project%3A%20policy%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.