Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structure for importlib metadata identities #108580

Open
orbisvicis opened this issue Aug 28, 2023 · 3 comments
Open

Structure for importlib metadata identities #108580

orbisvicis opened this issue Aug 28, 2023 · 3 comments
Labels
topic-importlib type-feature A feature request or enhancement

Comments

@orbisvicis
Copy link

orbisvicis commented Aug 28, 2023

Feature or enhancement

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

Structure for importlib metadata identities

Proposal:

See the linked discussion for the proposal, justification, conflicts, and examples.

Linked PRs

@orbisvicis orbisvicis added the type-feature A feature request or enhancement label Aug 28, 2023
orbisvicis pushed a commit to orbisvicis/cpython that referenced this issue Aug 28, 2023
Add `PackageMetadata.authors` and `PackageMetadata.maintainers` to the
`importlib.metadata` module. These unify and provide minimal parsing for
the respective core metadata fields ("Author", "Author-email"), and
("Maintainer", "Maintainer-email").
orbisvicis pushed a commit to orbisvicis/cpython that referenced this issue Aug 28, 2023
Correct the parsing of name/email entries in the 'Author-email' and
'Maintainer-email' fields of the core metadata specification.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Aug 28, 2023
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Aug 28, 2023
Add `PackageMetadata.authors` and `PackageMetadata.maintainers` to the
`importlib.metadata` module. These unify and provide minimal parsing for
the respective core metadata fields ("Author", "Author-email"), and
("Maintainer", "Maintainer-email").
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Aug 28, 2023
Correct the parsing of name/email entries in the 'Author-email' and
'Maintainer-email' fields of the core metadata specification.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Aug 28, 2023
@jaraco jaraco self-assigned this Aug 29, 2023
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 6, 2023
A hypothesis strategy for generating structured core metadata and
equivalent unstructured text. Ensures that parsing the text using
PackageMetadata results in the same structure - a roundtrip test.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 9, 2023
A hypothesis strategy for generating structured core metadata and
equivalent unstructured text. Ensures that parsing the text using
PackageMetadata results in the same structure - a roundtrip test.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 9, 2023
A `note` stub which does nothing.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 9, 2023
Correct the generation of identity entries in the core metadata
specification.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 9, 2023
Correct the parsing of name/email entries using feedback from the
hypothesis test.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 9, 2023
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 18, 2023
Add `PackageMetadata.authors` and `PackageMetadata.maintainers` to the
`importlib.metadata` module. These unify and provide minimal parsing for
the respective core metadata fields ("Author", "Author-email"), and
("Maintainer", "Maintainer-email").
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 18, 2023
Correct the parsing of name/email entries in the 'Author-email' and
'Maintainer-email' fields of the core metadata specification.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 18, 2023
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 18, 2023
A hypothesis strategy for generating structured core metadata and
equivalent unstructured text. Ensures that parsing the text using
PackageMetadata results in the same structure - a roundtrip test.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 18, 2023
A `note` stub which does nothing.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 18, 2023
Correct the generation of identity entries in the core metadata
specification.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 18, 2023
Correct the parsing of name/email entries using feedback from the
hypothesis test.
orbisvicis added a commit to orbisvicis/cpython that referenced this issue Sep 18, 2023
@pradyunsg
Copy link
Member

(for posterity, at the time of writing, the discuss.python.org post has received no responses from anyone other than OP)

@jaraco
Copy link
Member

jaraco commented Aug 20, 2024

Status update, the PRs in #108585 and python/importlib_metadata#471 have stalled out after hitting some crucial issues. I personally am using some rudimentary routines in jaraco.packaging.metadata for similar purposes (and others are welcome to do so as well) until something more robust is accepted into importlib metadata.

@jaraco jaraco removed their assignment Sep 12, 2024
@jaraco
Copy link
Member

jaraco commented Sep 12, 2024

I'd still like to see something on this, though I'm unlikely to get to an implementation any time soon. If anyone else is interested in this issue, please see the linked PRs and the challenges with those proposed changes and consider proposing a refinement that addresses the identified concerns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-importlib type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants