Skip to content

[WIP] Add support for PEP 751 pylock.toml files in backends#1808

Closed
Copilot wants to merge 1 commit into
mainfrom
copilot/support-pep-751-pylock-toml
Closed

[WIP] Add support for PEP 751 pylock.toml files in backends#1808
Copilot wants to merge 1 commit into
mainfrom
copilot/support-pep-751-pylock-toml

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 10, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>support PEP 751 pylock.toml files in backends</issue_title>
<issue_description>What's the problem this feature will solve?

Installing/running package in an isolated environment will be more reproducible (with exact dependencies versions as used when packaging), if the package source includes pylock.toml format.
I think this would be potentially desired in a case of an isolated environment for one tool.

PEP 578 introduced a new common dependency locking format, and it recently gets supported in other tools - pip (currently experimental), uv.

Describe the solution you'd like

If the package contains pylock.toml file, then some equivalent solution could be used for:
pip - use pip install -r pylock.toml first to install dependencies, then install the package
uv - similar uv pip sync pylock.toml

pip support is currently experimental, it may wait until it gets out of this stage.

I guess this is more for a discussion on potential implementation.</issue_description>

Comments on the Issue (you are @copilot in this section)

Copilot AI linked an issue May 10, 2026 that may be closed by this pull request
@dukecat0 dukecat0 closed this May 10, 2026
@dukecat0 dukecat0 deleted the copilot/support-pep-751-pylock-toml branch May 10, 2026 07:30
Copilot stopped work on behalf of dukecat0 due to an error May 10, 2026 07:30
Copilot AI requested a review from dukecat0 May 10, 2026 07:30
@dukecat0 dukecat0 removed their request for review May 10, 2026 07:32
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 PEP 751 pylock.toml files in backends

2 participants