Skip to content

Add support for pylock.toml (PEP 751) #2176

Closed

Description

@Mayank447

Description

PEP 751 was accepted last year. It introduced pylock.toml, a versioned lock file format for python projects. Allowing hatch to export or install from pylock.toml (if feasible) for the python project would allow for interoperability between different project managers.

Edit: PEP 751 allows for multiple pylock.*.toml files which I believe should be in line with hatch allowing to support different environments.

Use case/motivation

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. cjames23 commented on Feb 12, 2026

    @cjames23
    SponsorMember

    This is already being worked on #2174 :)

  2. funkyfuture commented on Feb 26, 2026

    @funkyfuture
    Contributor

    #749 already tracks the proposal (starting before pylock.toml was specified).

  3. cjames23 commented on Mar 27, 2026

    @cjames23
    SponsorMember

    Updated PR link - #2216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions