Python lock files have officially been standardized
discuss.python.org
Python lock files have officially been standardized
1–10 of 18 posts
Re: Python lock files have officially been standardized
#2Re: Python lock files have officially been standardized
#3Re: Python lock files have officially been standardized
#4It's still a draft, so not officially standardized yet.
Re: Python lock files have officially been standardized
#5Re: Python lock files have officially been standardized
#6What does this mean for pip-tools' requirements.in, Pipfile.lock, pip constraints.txt, Poetry.lock, pyroject.toml, and uv.lock?
The PEP has buy in from all the major tools.
Re: Python lock files have officially been standardized
#7Re: Python lock files have officially been standardized
#8Earlier quoted context omitted.
I think the plan is to replace all of those. The PEP has buy in from all the major tools.
It doesn't mention them in alphabetical order.
"github dependabot, meta.yaml, environment.yml, conda-lock.yaml, pixi.lock" https://github.com/regro/cf-scripts/issues/3920#issuecomment... https://github.com/dependabot/dependabot-core/issues/2227#is... incl. links to the source of dependabot
Re: Python lock files have officially been standardized
#9What does this mean for pip-tools' requirements.in, Pipfile.lock, pip constraints.txt, Poetry.lock, pyroject.toml, and uv.lock?
It may be this new lock file acts as an interchange format, that all tools can consume or produce, but not something they internally use.
Though, maybe we're lucky and tools will be able to use it directly, or we might have to wait for a new version of the standard once tools have been able to work with it long enough to know the deficiencies.
Non-lock files, like pyroject.toml and requirements.in remain unaffected.