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

Structured Metadata Identity #471

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Sep 19, 2023

  1. Structure for importlib metadata idents

    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 committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    ec91685 View commit details
    Browse the repository at this point in the history
  2. Hypothesis test to validate metadata

    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 committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    f0a8b73 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Finalize the interface and add documentation

    * Document `PackageMetadata.authors` and `PackageMetadata.maintainers`
      in the usage guide.
    * Export `Ident` so it can be documented but also used to build custom
      parsing strategies.
    orbisvicis committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    918572e View commit details
    Browse the repository at this point in the history
  2. Compatibility with Python >= 3.8

    Run the `vermin` tool to identify and fix code incompatible with Python
    >= 3.8.
    orbisvicis committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    a2200d4 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Preserve the order of identities.

    Properties `PackageMetadata.authors` and `PackageMetadata.maintainers`
    are now lists with repeated elements removed, rather than sets.
    orbisvicis committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    96d8527 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    d9be99b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37f71ca View commit details
    Browse the repository at this point in the history