René's URL Explorer Experiment


Title: Identify all installed Python versions · Issue #606 · actions/setup-python · GitHub

Open Graph Title: Identify all installed Python versions · Issue #606 · actions/setup-python

X Title: Identify all installed Python versions · Issue #606 · actions/setup-python

Description: Description: I'd like trivially use all of the installed Python versions (in full) in my cache keys (like "3.8.16" and "3.9.16 (PyPy 7.3.11)"). This could be implemented in several ways, including: A python-versions (plural!) output that...

Open Graph Description: Description: I'd like trivially use all of the installed Python versions (in full) in my cache keys (like "3.8.16" and "3.9.16 (PyPy 7.3.11)"). This could be implemented in several ways, including:...

X Description: Description: I'd like trivially use all of the installed Python versions (in full) in my cache keys (like "3.8.16" and "3.9.16 (PyPy 7.3.11)"). This could be implemented in ...

Opengraph URL: https://github.com/actions/setup-python/issues/606

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Identify all installed Python versions","articleBody":"\u003c!--- Please direct any generic questions related to actions to our support community forum at https://github.community/c/code-to-cloud/github-actions/41 ---\u003e\r\n\u003c!--- Before opening up a new feature request, please make sure to check for similar existing issues and pull requests --\u003e\r\n\r\n### **Description:**\r\n\r\nI'd like trivially use all of the installed Python versions (in full) in my cache keys (like \"3.8.16\" and \"3.9.16 (PyPy 7.3.11)\").\r\n\r\nThis could be implemented in several ways, including:\r\n\r\n* A `python-versions` (plural!) output that includes the full Python versions in full. (How it's delimited doesn't matter to me due to my use case.) For example, `3.8.10; 3.9.13; 3.9.16 (PyPy 7.3.11)`.\r\n* A file written at a known or configurable location that lists all of the install Python versions.\r\n\r\n### **Justification:**\r\n\r\nI'm very pleased with the new ability to install multiple Python versions simultaneously! This pairs well with tox-based testing.\r\n\r\nI'm wanting to cache and restore my `.tox/` directories between runs, particularly on Windows hosts, because it's expensive to set up the tox environments for each Python version. In the past, with only one Python version installed, I would use the action output, `python-version`, as a part of the cache key.\r\n\r\nHowever, when multiple versions are installed, if there is a cache hit but one of the Python versions that isn't the default has updated (say, if \"3.11\" is the default but \"3.8\" updates from \"3.8.10\" to \"3.8.11\") then tox will rebuild the 3.8 environment each time the cache is restored, the cache won't be invalidated, and test setup times will start to increase.\r\n\r\nI don't know of a trivial, cross-platform way to write this myself that will work consistently as new Python versions and host platforms are added (like Pyston, as I saw in another ticket)...but I'd prefer to avoid crawling the filesystem and executing `python -V` on every executable that looks like a Python interpreter.\r\n\r\nTherefore, I think that outputting this metadata from within the setup-python action would be the most ideal scenario.\r\n\r\n### **Are you willing to submit a PR?**\r\n\r\nI'd love to try! I don't know TypeScript and it might take a bit to write something that fits the requirements _and_ runs correctly.\r\n\r\nI'll take a look at what that might look like (particularly by studying the existing `python-version` output) while awaiting feedback for this idea.\r\n\r\n\u003c!--- We accept contributions! --\u003e","author":{"url":"https://github.com/kurtmckee","@type":"Person","name":"kurtmckee"},"datePublished":"2023-02-10T03:29:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/606/setup-python/issues/606"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c8d62f3d-d717-812e-d5db-217ea4d4f518
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9EBC:140A20:68C888:8CE52B:6969B5ED
html-safe-noncec365a490c007323b6c9be4be086a63ea45b9e18b0a9f76234770c01bc50836e3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUJDOjE0MEEyMDo2OEM4ODg6OENFNTJCOjY5NjlCNUVEIiwidmlzaXRvcl9pZCI6IjIwMjA2MjYyNDU4NzgzOTYzOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb8f3b35b9a2c7cdc13ae4594d654f8cb67b9aa55d6bdaac9261add9dd55ed52e
hovercard-subject-tagissue:1578927133
github-keyboard-shortcutsrepository,issues,actions,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/actions/setup-python/606/issue_layout
twitter:imagehttps://opengraph.githubassets.com/97483b74665a0606356f81dbf17cf885eea7dbd11c7490361f628ba7ccb666e9/actions/setup-python/issues/606
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/97483b74665a0606356f81dbf17cf885eea7dbd11c7490361f628ba7ccb666e9/actions/setup-python/issues/606
og:image:altDescription: I'd like trivially use all of the installed Python versions (in full) in my cache keys (like "3.8.16" and "3.9.16 (PyPy 7.3.11)"). This could be implemented in several ways, including:...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekurtmckee
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/actions/setup-python git https://github.com/actions/setup-python.git
octolytics-dimension-user_id44036562
octolytics-dimension-user_loginactions
octolytics-dimension-repository_id192625525
octolytics-dimension-repository_nwoactions/setup-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id192625525
octolytics-dimension-repository_network_root_nwoactions/setup-python
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/actions/setup-python/issues/606#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fissues%2F606
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Factions%2Fsetup-python%2Fissues%2F606
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=actions%2Fsetup-python
Reloadhttps://github.com/actions/setup-python/issues/606
Reloadhttps://github.com/actions/setup-python/issues/606
Reloadhttps://github.com/actions/setup-python/issues/606
actions https://github.com/actions
setup-pythonhttps://github.com/actions/setup-python
Notifications https://github.com/login?return_to=%2Factions%2Fsetup-python
Fork 692 https://github.com/login?return_to=%2Factions%2Fsetup-python
Star 2.1k https://github.com/login?return_to=%2Factions%2Fsetup-python
Code https://github.com/actions/setup-python
Issues 39 https://github.com/actions/setup-python/issues
Pull requests 36 https://github.com/actions/setup-python/pulls
Actions https://github.com/actions/setup-python/actions
Projects 0 https://github.com/actions/setup-python/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/actions/setup-python/security
Please reload this pagehttps://github.com/actions/setup-python/issues/606
Insights https://github.com/actions/setup-python/pulse
Code https://github.com/actions/setup-python
Issues https://github.com/actions/setup-python/issues
Pull requests https://github.com/actions/setup-python/pulls
Actions https://github.com/actions/setup-python/actions
Projects https://github.com/actions/setup-python/projects
Security https://github.com/actions/setup-python/security
Insights https://github.com/actions/setup-python/pulse
New issuehttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/606
New issuehttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/606
Identify all installed Python versionshttps://github.com/actions/setup-python/issues/606#top
feature requestNew feature or request to improve the current logichttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22feature%20request%22
https://github.com/kurtmckee
https://github.com/kurtmckee
kurtmckeehttps://github.com/kurtmckee
on Feb 10, 2023https://github.com/actions/setup-python/issues/606#issue-1578927133
feature requestNew feature or request to improve the current logichttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22feature%20request%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.