René's URL Explorer Experiment


Title: version 6.0.0 change of making Distribution an abstract class breaks some projects · Issue #422 · python/importlib_metadata · GitHub

Open Graph Title: version 6.0.0 change of making Distribution an abstract class breaks some projects · Issue #422 · python/importlib_metadata

X Title: version 6.0.0 change of making Distribution an abstract class breaks some projects · Issue #422 · python/importlib_metadata

Description: Hello, As stated in the changelog: #419: Declared Distribution as an abstract class, enforcing definition of abstract methods in instantiated subclasses. It's no longer possible to instantiate a Distribution or any subclasses unless they...

Open Graph Description: Hello, As stated in the changelog: #419: Declared Distribution as an abstract class, enforcing definition of abstract methods in instantiated subclasses. It's no longer possible to instantiate a Di...

X Description: Hello, As stated in the changelog: #419: Declared Distribution as an abstract class, enforcing definition of abstract methods in instantiated subclasses. It's no longer possible to instantiate ...

Opengraph URL: https://github.com/python/importlib_metadata/issues/422

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"version 6.0.0 change of making Distribution an abstract class breaks some projects","articleBody":"Hello,\r\n\r\nAs stated in the changelog:\r\n\r\n>   #419: Declared Distribution as an abstract class, enforcing definition of abstract methods in instantiated subclasses. It's no longer possible to instantiate a Distribution or any subclasses unless they define the abstract methods.\r\n> \r\n>   Please comment in the issue if this change breaks any projects. This change will likely be rolled back if it causes significant disruption.\r\n\r\nThis change indeed breaks at least 2 projects (logilab.common and pytest-capture-deprecated-warnings). Both those projects are using importlib_metadata this way:\r\n\r\n```python\r\n{x.metadata[\"Name\"].lower(): x.metadata[\"Version\"] for x in importlib_metadata.Distribution().discover()}\r\n```\r\n\r\n(this might not be the best way to use this lib)\r\n\r\nWhile not having to use the 2 required methods:\r\n\r\n> TypeError: Can't instantiate abstract class Distribution with abstract methods locate_file, read_text\r\n\r\nThose projects aren't very big in the python ecosystem and I'm the process of fixing them (by creating a subclass with the required methods) but since the changelog is asking for a report here it is.\r\n\r\nCheers and thx for your work :heart: ","author":{"url":"https://github.com/Psycojoker","@type":"Person","name":"Psycojoker"},"datePublished":"2023-01-04T21:48:40Z","url":"https://github.com/python/importlib_metadata/issues/422"}

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:099c606d-acea-b6db-9449-81d1b883c1b2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD348:2A02D3:DB0CF:12F907:6B0080CC
html-safe-nonceaa4e8e7162c34e8b4269c56d5f71e635ff87c2a44545c0e0706666061a7d5949
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzQ4OjJBMDJEMzpEQjBDRjoxMkY5MDc6NkIwMDgwQ0MiLCJ2aXNpdG9yX2lkIjoiNjIyMjI0OTg4Mzc4OTcyMTgwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccbc6f0a73e7e3e525382b4e944e858669eb5c6cbe0c2f35f0d60a9730a441b99
hovercard-subject-tagissue:1519621547
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/importlib_metadata/422/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a582fad9a4fa0744742c1f2525a1fe81cefc6a4567e4e072eddd8bacea11fa2a/python/importlib_metadata/issues/422
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a582fad9a4fa0744742c1f2525a1fe81cefc6a4567e4e072eddd8bacea11fa2a/python/importlib_metadata/issues/422
og:image:altHello, As stated in the changelog: #419: Declared Distribution as an abstract class, enforcing definition of abstract methods in instantiated subclasses. It's no longer possible to instantiate a Di...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePsycojoker
hostnamegithub.com
expected-hostnamegithub.com
None82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83
turbo-cache-controlno-preview
go-importgithub.com/python/importlib_metadata git https://github.com/python/importlib_metadata.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id306448340
octolytics-dimension-repository_nwopython/importlib_metadata
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id306448340
octolytics-dimension-repository_network_root_nwopython/importlib_metadata
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
released1bc2aa1939001689f5ce935982c10a6138f745c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/importlib_metadata/issues/422#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fimportlib_metadata%2Fissues%2F422
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%2Fimportlib_metadata%2Fissues%2F422
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%2Fimportlib_metadata
Reloadhttps://github.com/python/importlib_metadata/issues/422
Reloadhttps://github.com/python/importlib_metadata/issues/422
Reloadhttps://github.com/python/importlib_metadata/issues/422
pythonhttps://github.com/python
importlib_metadatahttps://github.com/python/importlib_metadata
Codehttps://github.com/python/importlib_metadata
Issues8 (8)https://github.com/python/importlib_metadata/issues
Pull requests6 (6)https://github.com/python/importlib_metadata/pulls
Actionshttps://github.com/python/importlib_metadata/actions
Projectshttps://github.com/python/importlib_metadata/projects
Wikihttps://github.com/python/importlib_metadata/wiki
Security and qualityhttps://github.com/python/importlib_metadata/security
Insightshttps://github.com/python/importlib_metadata/insights
https://github.com/python/importlib_metadata
New issuehttps://github.com/login?return_to=https://github.com/python/importlib_metadata/issues/422
New issuehttps://github.com/login?return_to=https://github.com/python/importlib_metadata/issues/422
version 6.0.0 change of making Distribution an abstract class breaks some projectshttps://github.com/python/importlib_metadata/issues/422#top
https://github.com/jaraco
https://github.com/Psycojoker
Psycojokerhttps://github.com/Psycojoker
on Jan 4, 2023https://github.com/python/importlib_metadata/issues/422#issue-1519621547
#419https://github.com/python/importlib_metadata/issues/419
https://github.com/brechtm
brechtmhttps://github.com/brechtm
on Jan 6, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1373824863
brechtm/rinohtype#389https://github.com/brechtm/rinohtype/issues/389
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Apr 13, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1506465770
jaracohttps://github.com/jaraco
on Apr 13, 2023https://github.com/python/importlib_metadata/issues/422#event-8996795909
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Apr 13, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1506980265
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Apr 13, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1506987281
logilab-common on PyPIhttps://pypi.org/project/logilab-common/
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Apr 13, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1506998793
@brechtmhttps://github.com/brechtm
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Apr 14, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1508465727
jaracohttps://github.com/jaraco
on Apr 14, 2023https://github.com/python/importlib_metadata/issues/422#event-9007775978
Remove the ABC from Distribution. Fixes #422.https://github.com/python/importlib_metadata/commit/36eb89d1249bd4fa0b682a1b71611a63994e4a5c
#422https://github.com/python/importlib_metadata/issues/422
https://docs.github.com/articles/closing-issues-via-commit-messages
36eb89dhttps://github.com/python/importlib_metadata/commit/36eb89d1249bd4fa0b682a1b71611a63994e4a5c
Remove the ABC from Distribution. Fixes #422.https://github.com/python/importlib_metadata/commit/1a2c6ee09d19e7cbd2915bd2470016b6c82d7f3f
#422https://github.com/python/importlib_metadata/issues/422
https://docs.github.com/articles/closing-issues-via-commit-messages
1a2c6eehttps://github.com/python/importlib_metadata/commit/1a2c6ee09d19e7cbd2915bd2470016b6c82d7f3f
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Apr 14, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1508503626
#448https://github.com/python/importlib_metadata/pull/448
jaracohttps://github.com/jaraco
completedhttps://github.com/python/importlib_metadata/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 14, 2023https://github.com/python/importlib_metadata/issues/422#event-9007936847
https://github.com/brechtm
brechtmhttps://github.com/brechtm
on Apr 15, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1509888379
jaracohttps://github.com/jaraco
on Apr 17, 2023https://github.com/python/importlib_metadata/issues/422#event-9025510491
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Apr 17, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1511505563
python/cpython#103584 (comment)https://github.com/python/cpython/pull/103584#issuecomment-1511502410
jaracohttps://github.com/jaraco
on Apr 17, 2023https://github.com/python/importlib_metadata/issues/422#event-9030027027
Deprecate construction of Distribution and subclasses without impleme…https://github.com/python/importlib_metadata/commit/95654e0b584d5aa63fa67693b6774b6b4adeec43
https://docs.github.com/articles/closing-issues-via-commit-messages
95654e0https://github.com/python/importlib_metadata/commit/95654e0b584d5aa63fa67693b6774b6b4adeec43
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Apr 17, 2023https://github.com/python/importlib_metadata/issues/422#issuecomment-1512247611
#451https://github.com/python/importlib_metadata/pull/451
jaracohttps://github.com/jaraco
completedhttps://github.com/python/importlib_metadata/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
95654e0https://github.com/python/importlib_metadata/commit/95654e0b584d5aa63fa67693b6774b6b4adeec43
on Apr 18, 2023https://github.com/python/importlib_metadata/issues/422#event-9035543510
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/importlib_metadata/issues/422
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/importlib_metadata/issues/422
jaracohttps://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.