python-uv icon indicating copy to clipboard operation
python-uv copied to clipboard

Quick Question [not an issue]

Open swirle13 opened this issue 9 months ago • 1 comments

I'm following your configurations for setting up a project for my work and I had a couple questions.

In your github actions files format.yml and lint.yml, you use your action setup-python-with-uv to set up the environment, which runs uv sync --frozen which only installs the core dependencies, not dev dependencies. I noticed ruff and ty are only in your dev dependencies, which are pulled in by uv via uv sync --dev --frozen.

Does nox somehow get around this? I'm trying to validate how this works for your repo and if I've missed something. I'll be looking through the github actions to see how it works in practice to see if that can help clarify how the tools are available for your github runner.

swirle13 avatar Mar 02 '26 23:03 swirle13

ah, I had misunderstood the uv sync command. It includes dev dependencies by default now, which is different from the behavior back in 2024 when I was using uv a lot. Apologies for opening this issue.

swirle13 avatar Mar 02 '26 23:03 swirle13