I kinda I am lost what's the use case of that: running tests without installing tests dependencies locally? Based on the short real-world example I can see: you still have pyproject where you need to have requirements and then separate files for nox? Why not just take something like "just" have a command test that do the same with pyproject file?
@Carberra2 күн бұрын
I don't have any requirements in the pyproject.toml for that project -- you could probably streamline this using dependency groups, but I don't like Poetry and I wrote all this years before UV was a thing lmao. You could do it with `just` but you'd still need things installed and you'd need to make sure you updated them. It's nice to have a solution that also takes care of the environment for you and isolates everything which is why I like Nox specifically.
@squishy-tomato2 күн бұрын
uv can install everything and run your tests too. Even run them against multiple python versions and against the oldest dependencies. I don't see much of a point in using nox either.
@eduferreyraokКүн бұрын
Having already learned about UV, it wouldn’t have too much impact to the development… but i could tell nox is a plus when testing and doing CI for clean code integration…
@gentlemanbirdlake2 күн бұрын
Could Nox be adapted to cross-compile into single-file executables for multiple target platforms? Because that is the problem I actually need to solve better with Python apps - build and distribution.
@yorailevi67472 күн бұрын
I don’t understand what to use this for and the last project example you demonstrated scares me, it feels like a “batteries not included” toolkit..
@yorailevi67472 күн бұрын
I read the comments, i understand now, it makes me believe even stronger in uv now. i wish uv could install conda packages too
@bhaskarn660318 сағат бұрын
Tox is just enough for most of the use cases. Nox can be intimidating in the beginning and end up with bloated py file. But, flip side is you get away with the limitations tox has today. I'm not really a fan of py files used for configurations. It's flexible but can get complicated over a period of time.