Nox is the ONLY package you'll EVER need

  Рет қаралды 3,012

Carberra

Carberra

Күн бұрын

Пікірлер: 9
@Klej0aka0Klej
@Klej0aka0Klej 2 күн бұрын
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?
@Carberra
@Carberra 2 күн бұрын
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-tomato
@squishy-tomato 2 күн бұрын
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
@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…
@gentlemanbirdlake
@gentlemanbirdlake 2 күн бұрын
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.
@yorailevi6747
@yorailevi6747 2 күн бұрын
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..
@yorailevi6747
@yorailevi6747 2 күн бұрын
I read the comments, i understand now, it makes me believe even stronger in uv now. i wish uv could install conda packages too
@bhaskarn6603
@bhaskarn6603 18 сағат бұрын
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.
@Heavy_Lvy
@Heavy_Lvy 2 күн бұрын
Yayay
5 SIMPLE Pytest tricks to improve your tests
14:15
Carberra
Рет қаралды 4 М.
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 1,5 МЛН
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Attention in transformers, visually explained | DL6
26:10
3Blue1Brown
Рет қаралды 2 МЛН
It's Really Just That Bad
57:49
ThePrimeTime
Рет қаралды 205 М.
System76 accidentally built the fastest Windows Arm PC
21:02
Jeff Geerling
Рет қаралды 438 М.
AOL Desktop Still Exists in 2025… Is It a Ripoff?
33:26
Michael MJD
Рет қаралды 328 М.
Comprehending Proc Macros
47:41
Logan Smith
Рет қаралды 27 М.
Python's decimals SOLVE the floating point problem!
17:00
Carberra
Рет қаралды 4,2 М.
Turn ANY Website into LLM Knowledge in SECONDS
18:44
Cole Medin
Рет қаралды 65 М.
An Engineering Fairy Tale: Cascade Failure at the Super Kamiokande
22:21
Alexander the ok
Рет қаралды 617 М.
BachGPT is back: Can AI Compose Like the Greatest Musician of All Time?
14:06
Nobody & The Computer
Рет қаралды 29 М.