Skip to content

Add env var command resolver - #313

Open
basnijholt wants to merge 9 commits into
mainfrom
env-var-command-resolver
Open

basnijholt wants to merge 9 commits into
mainfrom
env-var-command-resolver

Conversation

@basnijholt

@basnijholt basnijholt commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add env_vars command resolvers for install flows behind --allow-env-commands
  • support refresh: missing and refresh: always while keeping installer command output redacted
  • document YAML/TOML usage and add focused tests

Tests

  • uv run --extra test pytest tests/test_env_vars.py tests/test_pip_indices.py tests/test_pip_index_redaction.py -q --no-cov
  • uv run --extra test ruff check unidep/_env_vars.py tests/test_env_vars.py
  • uv run --extra test ruff check --ignore UP036,PLC0415 unidep/_dependencies_parsing.py unidep/_cli.py
  • git diff --check
  • uv run --extra test python -m compileall -q unidep tests/test_env_vars.py

Full uv run --extra test pytest -q is blocked locally by the existing Conda-environment precondition in install-command tests.


📚 Documentation preview 📚: https://unidep--313.org.readthedocs.build/en/313/

@basnijholt
basnijholt force-pushed the env-var-command-resolver branch from 8721c5d to feaaaa4 Compare June 26, 2026 21:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant