René's URL Explorer Experiment


Title: Python-version output for PyPy isn't unique across different versions · Issue #1109 · actions/setup-python · GitHub

Open Graph Title: Python-version output for PyPy isn't unique across different versions · Issue #1109 · actions/setup-python

X Title: Python-version output for PyPy isn't unique across different versions · Issue #1109 · actions/setup-python

Description: Description: At the moment the python-version output for PyPy only includes the PyPy release version. In our workflow we use the python-version output to calculate a custom cache key. This breaks if the output for different minor version...

Open Graph Description: Description: At the moment the python-version output for PyPy only includes the PyPy release version. In our workflow we use the python-version output to calculate a custom cache key. This breaks i...

X Description: Description: At the moment the python-version output for PyPy only includes the PyPy release version. In our workflow we use the python-version output to calculate a custom cache key. This breaks i...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python-version output for PyPy isn't unique across different versions","articleBody":"**Description:**\nAt the moment the `python-version` output for PyPy only includes the PyPy release version. In our workflow we use the `python-version` output to calculate a custom cache key. This breaks if the output for different minor version is the same. PyPy itself uses a combination of python version and internal version to identify each release.\n\n| PyPy file name [^1] | `python-version` output | expected output |\n| --- | --- | --- |\n| pypy3.10-v7.3.19-... | pypy7.3.19 | pypy3.10.16-7.3.19 |\n| pypy3.11-v7.3.19-... | pypy7.3.19 | pypy3.11.11-7.3.19 |\n\nhttps://github.com/actions/setup-python/blob/a26af69be951a213d495a4c3e4e4022e16d87065/src/find-pypy.ts#L99\n\nIt would be great if the output could be adjusted to include the python version as well. For it's own caching key, the action already uses a combine version identifier.\n\nhttps://github.com/actions/setup-python/blob/a26af69be951a213d495a4c3e4e4022e16d87065/src/setup-python.ts#L111\n\n--\nAFAICT this also affects `graalpy`. In that case it isn't an issue though as a particular release only supports one minor python version.\n\n**Expected behavior:**\nThe `python-version` output for PyPy contains both the fully resolved python version as well as the resolved PyPy version. E.g.\n```ts\n`pypy${resolvedPythonVersion}-${resolvedPyPyVersion}`\n```\n\n**Actual behavior:**\n```ts\n'pypy' + resolvedPyPyVersion\n```\n\n**Action version:**\nv5.6.0\n\n**Platform:**\n- [x] Ubuntu\n- [x] macOS\n- [x] Windows\n\n**Runner type:**\n- [x] Hosted\n- [ ] Self-hosted\n\n**Tools version:**\nPyPy\n\n**Repro steps:**  \n```yaml\n  tests:\n    name: \"Test ${{ matrix.python-version }}\"\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\", \"pypy-3.10\", \"pypy-3.11\"]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.2.2\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5.6.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n      - run: echo \"${{ steps.python.outputs.python-version }}\"\n      - name: Restore Python venv\n        id: cache-venv\n        uses: actions/cache@v4.2.3\n        with:\n          path: venv\n          key: \u003e-\n            ${{ runner.os }}-${{ runner.arch }}-${{ steps.python.outputs.python-version\n            }}-${{ hashFiles('pyproject.toml', 'requirements_test.txt') }}\n      - name: Create Python venv\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          pip install -r requirements_test.txt\n          pip install .\n      - name: Run pytest\n        run: |\n          . venv/bin/activate\n          pip install . --no-deps\n          pytest tests/\n```\n\n[^1]: https://downloads.python.org/pypy/versions.json","author":{"url":"https://github.com/cdce8p","@type":"Person","name":"cdce8p"},"datePublished":"2025-05-17T19:14:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1109/setup-python/issues/1109"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bccb23f7-ae5b-ae48-29a4-6d932efaa7bc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC948:2DA0A8:A0B9F9:D7D449:6969C21F
html-safe-noncef4e554af06ea5cc26684f21d96e16df572002cc0979b0fa42716656be24c1537
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTQ4OjJEQTBBODpBMEI5Rjk6RDdENDQ5OjY5NjlDMjFGIiwidmlzaXRvcl9pZCI6IjYzMDAwMzgyMzExODkyMDk2MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3681bce91ae78e70689f9e7ec26a1ef52a28aca6ad2b77cf05c3e949212d2d4c
hovercard-subject-tagissue:3071006696
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/1109/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b41c6624395376b139257dc83a2688881bf429f7ad2b20b184f4aa0b7f1aebf4/actions/setup-python/issues/1109
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b41c6624395376b139257dc83a2688881bf429f7ad2b20b184f4aa0b7f1aebf4/actions/setup-python/issues/1109
og:image:altDescription: At the moment the python-version output for PyPy only includes the PyPy release version. In our workflow we use the python-version output to calculate a custom cache key. This breaks i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecdce8p
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/1109#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fissues%2F1109
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%2F1109
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/1109
Reloadhttps://github.com/actions/setup-python/issues/1109
Reloadhttps://github.com/actions/setup-python/issues/1109
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/1109
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/1109
New issuehttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/1109
#1110https://github.com/actions/setup-python/pull/1110
Python-version output for PyPy isn't unique across different versionshttps://github.com/actions/setup-python/issues/1109#top
#1110https://github.com/actions/setup-python/pull/1110
https://github.com/aparnajyothi-y
bugSomething isn't workinghttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/cdce8p
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
on May 17, 2025https://github.com/actions/setup-python/issues/1109#issue-3071006696
1https://github.com/actions/setup-python/issues/1109#user-content-fn-1-5b26549394d67adc8ebdd5e6fc6913f7
setup-python/src/find-pypy.tshttps://github.com/actions/setup-python/blob/a26af69be951a213d495a4c3e4e4022e16d87065/src/find-pypy.ts#L99
a26af69https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065
setup-python/src/setup-python.tshttps://github.com/actions/setup-python/blob/a26af69be951a213d495a4c3e4e4022e16d87065/src/setup-python.ts#L111
a26af69https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065
https://downloads.python.org/pypy/versions.jsonhttps://downloads.python.org/pypy/versions.json
https://github.com/actions/setup-python/issues/1109#user-content-fnref-1-5b26549394d67adc8ebdd5e6fc6913f7
aparnajyothi-yhttps://github.com/aparnajyothi-y
bugSomething isn't workinghttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22bug%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.