Closed Jkrox closed 1 week ago
I was able to solve the issue, just update uv, now uv 0.4.20
, and use the following command:
uv export --only-dev --no-hashes | awk '{print $1}' FS=' ;' > requirements-dev.txt
.
or if you want to export with no dev dependencies, use this command:
uv export --no-dev --no-hashes | awk '{print $1}' FS=' ;' > requirements.txt
.
References:
the option --only-dev
was added exactly in the version 0.4.11.
uv version: 0.4.9
command executed:
uv export --extra dev --no-hashes -o requirements-dev.txt
. I got the following thing:requirements-dev.txt
I'm trying to do
uv pip freeze > requirements-dev.txt
but with the dev stuff.pyproject.toml