René's URL Explorer Experiment


Title: Testing third-party stubs in isolated environments · Issue #5952 · python/typeshed · GitHub

Open Graph Title: Testing third-party stubs in isolated environments · Issue #5952 · python/typeshed

X Title: Testing third-party stubs in isolated environments · Issue #5952 · python/typeshed

Description: At the moment, whenever there is change to typeshed, we test all stdlib and third-party packages in the same testing environment, using the --custom-typeshed-dir so that all packages can see each other. There are several practical proble...

Open Graph Description: At the moment, whenever there is change to typeshed, we test all stdlib and third-party packages in the same testing environment, using the --custom-typeshed-dir so that all packages can see each o...

X Description: At the moment, whenever there is change to typeshed, we test all stdlib and third-party packages in the same testing environment, using the --custom-typeshed-dir so that all packages can see each o...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Testing third-party stubs in isolated environments","articleBody":"At the moment, whenever there is change to typeshed, we test all stdlib and third-party packages in the same testing environment, using the `--custom-typeshed-dir` so that all packages can see each other. There are several practical problems with that:\r\n\r\n* We can't test the `requires` fields for correctness; all packages are always available.\r\n* We can't have packages that depend on external packages, see for example #5768, #5618, #5847, and the discussion in #5769 (all related to `cryptography`). (Except if we'd just install all non-types dependencies for all package into our venv.)\r\n* It doesn't scale if we increase the number of third-party packages in typeshed.\r\n* Ideas like per-package configuration is not possible at the moment, see for example #1526.\r\n\r\nMy suggestion: Only run the tests for the third-party stubs that have actually changed, and run each test in a separate environment. This environment only has the requirements from `METADATA.toml` installed. This fixes the problems above and also means:\r\n\r\n* The stubs will not be able to use features from stdlib that are not yet in the latest type checker distributions.\r\n* Changes that depend on changes in another third-party stub need to wait until that change has been released. (Happens every three hours, so it shouldn't be too much of a problem.)\r\n* Running the tests for all stubs will be slower, since each package needs its own venv installation.","author":{"url":"https://github.com/srittau","@type":"Person","name":"srittau"},"datePublished":"2021-08-23T14:33:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/5952/typeshed/issues/5952"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fe01f42f-b1b9-c652-e00c-fb311e2e3fad
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8430:35887C:D97026:1385CE6:6A634D8A
html-safe-nonce64e6ebc6d8138bbea780575bfd126d4e596e67fd37e1827895538fd7d96a9569
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDMwOjM1ODg3QzpEOTcwMjY6MTM4NUNFNjo2QTYzNEQ4QSIsInZpc2l0b3JfaWQiOiIxMTA3OTE3NjA2NDA4NjM3ODM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac016569f28fe218cccde8a36c583e6e17f33ccc2a8d38e771d07d011f27cfcbc7
hovercard-subject-tagissue:977102802
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/5952/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3121460ccdde0ce44f971a7a657a21080d91fb45dcffbb97b85d932390fd0b4f/python/typeshed/issues/5952
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3121460ccdde0ce44f971a7a657a21080d91fb45dcffbb97b85d932390fd0b4f/python/typeshed/issues/5952
og:image:altAt the moment, whenever there is change to typeshed, we test all stdlib and third-party packages in the same testing environment, using the --custom-typeshed-dir so that all packages can see each o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesrittau
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
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
release990295d92a4cc7b63fbbd83a046217cd7d77d49c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/issues/5952#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fissues%2F5952
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fissues%2F5952
Sign up https://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/5952
Reloadhttps://github.com/python/typeshed/issues/5952
Reloadhttps://github.com/python/typeshed/issues/5952
Please reload this pagehttps://github.com/python/typeshed/issues/5952
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/issues/5952
Notifications https://github.com/login?return_to=%2Fpython%2Ftypeshed
Fork 2.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Star 5.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Code https://github.com/python/typeshed
Issues 217 https://github.com/python/typeshed/issues
Pull requests 140 https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality 0 https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
Code https://github.com/python/typeshed
Issues https://github.com/python/typeshed/issues
Pull requests https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
Testing third-party stubs in isolated environmentshttps://github.com/python/typeshed/issues/5952#top
project: infrastructuretypeshed build, test, documentation, or distribution relatedhttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22project%3A%20infrastructure%22
https://github.com/srittau
srittauhttps://github.com/srittau
on Aug 23, 2021https://github.com/python/typeshed/issues/5952#issue-977102802
Allow non-types dependencies #5768https://github.com/python/typeshed/issues/5768
Remove cryptography (depends on #5952) #5618https://github.com/python/typeshed/issues/5618
paramiko: Change dependencies on types-cryptography, allow using upstream type hints #5847https://github.com/python/typeshed/pull/5847
Allow non-types dependencies #5769https://github.com/python/typeshed/pull/5769
mypy tests: Allow per distribution strictness options #1526https://github.com/python/typeshed/issues/1526
project: infrastructuretypeshed build, test, documentation, or distribution relatedhttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22project%3A%20infrastructure%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.