Henry Schreiner

Results 2507 comments of Henry Schreiner

What about `nox.toml.load` as the name? That would leave the namespace open for future helpers to get dependency groups (for example). You can support PEP 735 with the current toml...

I was assuming `build` would need to be a session method, since it needs the current Python to build with. It would need to be able to cache between sessions,...

I think #631 would be a good step for build, hopefully that can be revived in the future. I wasn't planning on doing much for build until that was worked...

I've been finding a helper like this to be very useful: ```python def install_and_run(session: nox.Session, script: str, *args: str, **kwargs: Any) -> str | None: deps = nox.project.load_toml(script)["dependencies"] session.install(*deps) return...

This will probably not work out of the box; https://github.com/ilammy/msvc-dev-cmd/issues/90 means this action will also have to pass in "arch: arm64" on Windows ARM when it calls that action.

I don't think we support pyenv's shims very well (I think most tools don't, at least last I checked). I expect nox is installed with 3.11 and so it's working...

Tangent: We don't really support plugins here - ideally, you nox would be able to install it's own plugins, rather than assuming people can inject an extra plugin into wherever...

Could you describe your ideas first? You can start with a PR if that's easier. I was sort of waiting until the dependency groups and standardize lock file PEPs get...

I think the environment feature will likely be pushed to the next release, but it still is the next major thing I want to work on. Recipes like the cookbook...