Skip to content

Feature: Add support for the new pylock.toml lockfile format #126

@RaczeQ

Description

@RaczeQ

Before You Begin

Before proceeding, please make sure to follow these steps:

  • I have checked for similar feature requests in the project's issue tracker
    to avoid duplicates.
  • I have searched existing issues to see if this feature has been discussed
    before.

Feature Details

Currently this tool can read definition from pyproject.toml and requirements.txt files. Since march 2025, there is a new standard format for lock files called pylock.toml

https://peps.python.org/pep-0751/
https://packaging.python.org/en/latest/specifications/pylock-toml/

It's already supported by pip, uv and pdm.

Is your feature request related to a problem? Please describe

I would like to check the licenses of libraries from the pylock.toml file instead of having to export it to the requirements file (complicated in pre-commit hooks)

Describe the solution you'd like

Option to run flag --requirements-paths pylock.toml

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions