Skip to content

fix: Added PylockTomlHandler in packagedcode/pypi.py to parse PEP 751#5241

Open
singlaamitesh wants to merge 1 commit into
aboutcode-org:developfrom
singlaamitesh:fix/4638-scancode-toolkit-4638
Open

fix: Added PylockTomlHandler in packagedcode/pypi.py to parse PEP 751#5241
singlaamitesh wants to merge 1 commit into
aboutcode-org:developfrom
singlaamitesh:fix/4638-scancode-toolkit-4638

Conversation

@singlaamitesh

Copy link
Copy Markdown

Fixes #4638

Fixes #0000

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁
  • Updated documentation pages (if applicable)
  • Updated CHANGELOG.rst (if applicable)

Added PylockTomlHandler in packagedcode/pypi.py to parse PEP 751 pylock.toml/pylock..toml lockfiles (packages, sdist/wheel hashes+URLs, dependency edges, requires-python/lock-version/created-by), registered it in APPLICATION_PACKAGE_DATAFILE_HANDLERS, and added tests with fixtures derived from the official PEP 751 example plus a synthetic sdist/VCS fixture; updated docs table and CHANGELOG.

How this was tested: X

Copilot AI review requested due to automatic review settings July 18, 2026 12:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support pylock.toml

2 participants