René's URL Explorer Experiment


Title: gh-143387: Raise an exception instead of returning None when metadata file is missing. by jaraco · Pull Request #146234 · python/cpython · GitHub

Open Graph Title: gh-143387: Raise an exception instead of returning None when metadata file is missing. by jaraco · Pull Request #146234 · python/cpython

X Title: gh-143387: Raise an exception instead of returning None when metadata file is missing. by jaraco · Pull Request #146234 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Syncs changes from importlib_metadata 9.0 Issue: Regression: importlib.metadata.PathDistribution.requires raises AttributeError, name/version raises TypeError #143387

X Description: Syncs changes from importlib_metadata 9.0 Issue: Regression: importlib.metadata.PathDistribution.requires raises AttributeError, name/version raises TypeError #143387

Opengraph URL: https://github.com/python/cpython/pull/146234

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3ca59fa7-70e6-bfb4-c5f2-a81902563244
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA024:1AF501:397FA3:4C7231:6A516B99
html-safe-nonce3a9169bc5a8423c1e26512f27cbaa44eeace4010dd69f51fb19c07d90bd5617b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDI0OjFBRjUwMTozOTdGQTM6NEM3MjMxOjZBNTE2Qjk5IiwidmlzaXRvcl9pZCI6IjQ1OTY1ODE5OTg5MTU1Nzg3NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2d54ddb4dcd1ba2631505dce821329daa25016339a206cd509c2fc45585a6283
hovercard-subject-tagpull_request:3426662918
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/146234/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7359044947c3acd9ba4531ba5b02ac0edef4c91cc5eea0083ef804e3d13ee584/python/cpython/pull/146234
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7359044947c3acd9ba4531ba5b02ac0edef4c91cc5eea0083ef804e3d13ee584/python/cpython/pull/146234
og:image:altSyncs changes from importlib_metadata 9.0 Issue: Regression: importlib.metadata.PathDistribution.requires raises AttributeError, name/version raises TypeError #143387
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejaraco
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
release60eaaf6d4dbaa817031b556aebd8a0a7eeb81b97
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/146234#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146234
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
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%2Fcpython%2Fpull%2F146234
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/146234
Reloadhttps://github.com/python/cpython/pull/146234
Reloadhttps://github.com/python/cpython/pull/146234
Please reload this pagehttps://github.com/python/cpython/pull/146234
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/146234
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
jaracohttps://github.com/jaraco
python:mainhttps://github.com/python/cpython/tree/main
jaraco:gh-143387/raise-exceptionhttps://github.com/jaraco/cpython/tree/gh-143387/raise-exception
Conversationhttps://github.com/python/cpython/pull/146234
Commits2 (2)https://github.com/python/cpython/pull/146234/commits
Checkshttps://github.com/python/cpython/pull/146234/checks
Files changedhttps://github.com/python/cpython/pull/146234/files
gh-143387: Raise an exception instead of returning None when metadata file is missing.https://github.com/python/cpython/pull/146234#top
jaracohttps://github.com/jaraco
python:mainhttps://github.com/python/cpython/tree/main
jaraco:gh-143387/raise-exceptionhttps://github.com/jaraco/cpython/tree/gh-143387/raise-exception
https://github.com/jaraco
jaracohttps://github.com/jaraco
Mar 20, 2026https://github.com/python/cpython/pull/146234#issue-4109917807
Please reload this pagehttps://github.com/python/cpython/pull/146234
Regression: importlib.metadata.PathDistribution.requires raises AttributeError, name/version raises TypeError #143387https://github.com/python/cpython/issues/143387
Please reload this pagehttps://github.com/python/cpython/pull/146234
https://github.com/jaraco
Raise an exception instead of returning None when metadata file is mi…https://github.com/python/cpython/pull/146234/commits/12bffff3c37a8374d9c6b9ab1b9e57619e8623f5
12bffffhttps://github.com/python/cpython/pull/146234/commits/12bffff3c37a8374d9c6b9ab1b9e57619e8623f5
https://github.com/jaraco
jaracohttps://github.com/jaraco
FFY00https://github.com/FFY00
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/b5e4c46be24d1fade0deda211785c04a74a722cc/.github/CODEOWNERS#L511
March 20, 2026 20:14https://github.com/python/cpython/pull/146234#event-23764172574
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 20, 2026https://github.com/python/cpython/pull/146234#event-23764174932
https://github.com/jaraco
Add blurbhttps://github.com/python/cpython/pull/146234/commits/8b81efd752fc6741a4627b182c9c61e1366ba7a3
8b81efdhttps://github.com/python/cpython/pull/146234/commits/8b81efd752fc6741a4627b182c9c61e1366ba7a3
https://github.com/jaraco
jaracohttps://github.com/jaraco
Mar 20, 2026https://github.com/python/cpython/pull/146234#event-23764305891
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 20, 2026 https://github.com/python/cpython/pull/146234#ref-issue-3777968678
Regression: importlib.metadata.PathDistribution.requires raises AttributeError, name/version raises TypeError #143387 https://github.com/python/cpython/issues/143387
https://github.com/jaraco
jaracohttps://github.com/jaraco
Mar 23, 2026https://github.com/python/cpython/pull/146234#issuecomment-4110504184
#143387https://github.com/python/cpython/issues/143387
Please reload this pagehttps://github.com/python/cpython/pull/146234
https://github.com/jaraco
jaracohttps://github.com/jaraco
f5d47fchttps://github.com/python/cpython/commit/f5d47fceb0d8384eb4cd4bd294ae4bc09383d57c
Mar 23, 2026https://github.com/python/cpython/pull/146234#event-23813398450
Please reload this pagehttps://github.com/python/cpython/pull/146234
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 23, 2026https://github.com/python/cpython/pull/146234#event-23813400198
CuriousLearnerhttps://github.com/CuriousLearner
Mar 23, 2026 https://github.com/python/cpython/pull/146234#ref-commit-3e05fa3
https://github.com/CuriousLearner
Merge branch 'main' of github.com:python/cpython into fix-https://github.com/CuriousLearner/cpython/commit/3e05fa35e0562de54252dab4d09da002fc358393
pythongh-13…https://github.com/python/cpython/issues/138577
3e05fa3https://github.com/CuriousLearner/cpython/commit/3e05fa35e0562de54252dab4d09da002fc358393
…8577https://github.com/python/cpython/issues/138577
pythongh-146197https://github.com/python/cpython/issues/146197
python#146332https://github.com/python/cpython/pull/146332
pythongh-146325https://github.com/python/cpython/issues/146325
python#146330https://github.com/python/cpython/pull/146330
pythongh-146197https://github.com/python/cpython/issues/146197
python#146198https://github.com/python/cpython/pull/146198
pythongh-143387https://github.com/python/cpython/issues/143387
python#146234https://github.com/python/cpython/pull/146234
pythongh-108907https://github.com/python/cpython/issues/108907
pythonGH-145837https://github.com/python/cpython/pull/145837
pythongh-146175https://github.com/python/cpython/issues/146175
pythonGH-146178https://github.com/python/cpython/pull/146178
pythongh-146056https://github.com/python/cpython/issues/146056
python#146167https://github.com/python/cpython/pull/146167
python#146276https://github.com/python/cpython/pull/146276
pythongh-145264https://github.com/python/cpython/issues/145264
pythonGH-145267https://github.com/python/cpython/pull/145267
pythongh-146308https://github.com/python/cpython/issues/146308
python#146309https://github.com/python/cpython/pull/146309
pythongh-146192https://github.com/python/cpython/issues/146192
pythonGH-146193https://github.com/python/cpython/pull/146193
pythongh-135953https://github.com/python/cpython/issues/135953
python#146045https://github.com/python/cpython/pull/146045
pythongh-143414https://github.com/python/cpython/issues/143414
pythonGH-144300https://github.com/python/cpython/pull/144300
pythongh-146261https://github.com/python/cpython/issues/146261
pythonGH-146291https://github.com/python/cpython/pull/146291
pythongh-145144https://github.com/python/cpython/issues/145144
pythonGH-145145https://github.com/python/cpython/pull/145145
pythongh-143959https://github.com/python/cpython/issues/143959
pythonGH-145248https://github.com/python/cpython/pull/145248
pythongh-146245https://github.com/python/cpython/issues/146245
pythonGH-146248https://github.com/python/cpython/pull/146248
pythongh-140049https://github.com/python/cpython/issues/140049
python#140051https://github.com/python/cpython/pull/140051
pythongh-146056https://github.com/python/cpython/issues/146056
pythonGH-146213https://github.com/python/cpython/pull/146213
hroncokhttps://github.com/hroncok
Apr 2, 2026 https://github.com/python/cpython/pull/146234#ref-commit-25abd40
https://github.com/hroncok
test: Add PKG-INFO to egg-info mocks for Python 3.15 compatibilityhttps://github.com/hroncok/rpmlint-1/commit/25abd409a0ca2b1aeb94e6fbcbc68022de65f716
25abd40https://github.com/hroncok/rpmlint-1/commit/25abd409a0ca2b1aeb94e6fbcbc68022de65f716
python/cpython#143387https://github.com/python/cpython/issues/143387
python/cpython#146234https://github.com/python/cpython/pull/146234
https://github.com/hroncok
hroncokhttps://github.com/hroncok
Apr 2, 2026 https://github.com/python/cpython/pull/146234#ref-pullrequest-4194041823
test: Add PKG-INFO to egg-info mocks for Python 3.15 compatibility rpm-software-management/rpmlint#1488 https://github.com/rpm-software-management/rpmlint/pull/1488
Conan-Kudohttps://github.com/Conan-Kudo
Apr 2, 2026 https://github.com/python/cpython/pull/146234#ref-commit-ccb7257
https://github.com/hroncok
https://github.com/Conan-Kudo
test: Add PKG-INFO to egg-info mocks for Python 3.15 compatibilityhttps://github.com/rpm-software-management/rpmlint/commit/ccb7257253150fc5494df877dd274ba77351ab15
ccb7257https://github.com/rpm-software-management/rpmlint/commit/ccb7257253150fc5494df877dd274ba77351ab15
python/cpython#143387https://github.com/python/cpython/issues/143387
python/cpython#146234https://github.com/python/cpython/pull/146234
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 4, 2026 https://github.com/python/cpython/pull/146234#ref-pullrequest-3716338400
gh-130273: Fix traceback color output with unicode characters #142529 https://github.com/python/cpython/pull/142529
https://github.com/KRRT7
KRRT7https://github.com/KRRT7
Apr 9, 2026 https://github.com/python/cpython/pull/146234#ref-pullrequest-4228740313
Fix test_trailing_slash_directory_metadata for Python 3.15 pypa/pip#13902 https://github.com/pypa/pip/pull/13902
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/146234#ref-commit-22d57db
https://github.com/jaraco
https://github.com/ljfp
pythongh-143387https://github.com/python/cpython/issues/143387
: Raise an exception instead of returning None when me…https://github.com/ljfp/cpython/commit/22d57db539e4aec0fc49aa6e4e91876f32144dd6
22d57dbhttps://github.com/ljfp/cpython/commit/22d57db539e4aec0fc49aa6e4e91876f32144dd6
python#146234https://github.com/python/cpython/pull/146234
frenzymadnesshttps://github.com/frenzymadness
Apr 27, 2026 https://github.com/python/cpython/pull/146234#ref-commit-fe89725
https://github.com/frenzymadness
Fix MetadataNotFound from importlib.metadata on Python 3.15+https://github.com/frenzymadness/poetry/commit/fe897257aff1a7225307c7348aa1c5b2b7e7bb53
fe89725https://github.com/frenzymadness/poetry/commit/fe897257aff1a7225307c7348aa1c5b2b7e7bb53
python/cpython#146234https://github.com/python/cpython/pull/146234
https://github.com/frenzymadness
frenzymadnesshttps://github.com/frenzymadness
Apr 27, 2026 https://github.com/python/cpython/pull/146234#ref-pullrequest-4334540374
Fix MetadataNotFound from importlib.metadata on Python 3.15+ python-poetry/poetry#10860 https://github.com/python-poetry/poetry/pull/10860
radoeringhttps://github.com/radoering
May 1, 2026 https://github.com/python/cpython/pull/146234#ref-commit-41ec955
https://github.com/frenzymadness
https://github.com/radoering
Fix MetadataNotFound from importlib.metadata on Python 3.15+https://github.com/frenzymadness/poetry/commit/41ec955cdc3b4eb5b230652578e58ff373c7a20b
41ec955https://github.com/frenzymadness/poetry/commit/41ec955cdc3b4eb5b230652578e58ff373c7a20b
python/cpython#146234https://github.com/python/cpython/pull/146234
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146234
https://github.com/warsaw
warsaw https://github.com/warsaw
https://github.com/FFY00
FFY00 https://github.com/FFY00
Please reload this pagehttps://github.com/python/cpython/pull/146234
https://github.com/jaraco
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.