Closed Stealthii closed 6 months ago
This doesn't make sense. This freeze is not used for install. Is only for user consumption.
This doesn't make sense. This freeze is not used for install. Is only for user consumption.
The freeze command is called when use_frozen_constraints
is passed, such as the following config:
[testenv:py38-mindeps]
deps =
anyio==4
asyncer==0.0.4
asyncssh==2.13.1
constrain_package_deps = true
use_frozen_constraints = true
When that option is passed, a freeze is ran against the existing packages in the environment, which are then appended to the constraints file.
self.installed()
is called)This sounds like an uv bug similar to astral-sh/uv/issues/2017
Issue
When tox calls the
freeze
routine, uv is placing color escape sequences in the output, resulting in the dependency list containing color escape sequences and breaking the constraints text file used in subsequent steps.Environment
Minimal example