Skip to content

Commit f89d292

Browse files
committed
Document mxenv refactoring in CHANGES.md
Add comprehensive changelog entry for mxenv domain refactoring: - Breaking changes: MXENV_UV_GLOBAL removal - New features: UV_PYTHON, auto-detection, non-interactive flags, update checks - Code improvements: simplified logic and better maintainability Addresses #43
1 parent bf8f821 commit f89d292

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CHANGES.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,35 @@
77
- Feature: Add support for Python 3.14.
88
- Feature: Add `docs-linkcheck` to check for broken links in the sphinx documentation.
99

10+
### Breaking Changes - mxenv domain refactoring
11+
12+
- **Removed**: `MXENV_UV_GLOBAL` setting in favor of automatic UV detection.
13+
When `PYTHON_PACKAGE_INSTALLER=uv`, mxmake now automatically detects and uses
14+
a globally installed `uv` if available. To force local installation of uv,
15+
simply don't install it globally or remove it from PATH.
16+
17+
### New Features - mxenv domain
18+
19+
- **Added**: `UV_PYTHON` setting to specify Python version for UV-managed virtual
20+
environments. Defaults to `PRIMARY_PYTHON` for backward compatibility. This
21+
provides semantic clarity: `PRIMARY_PYTHON` is the system interpreter path
22+
(e.g., `python3.11`), while `UV_PYTHON` is the version spec for UV
23+
(e.g., `3.14`, `[email protected]`).
24+
25+
- **Added**: Automatic detection of global UV installation using simple shell check.
26+
No manual configuration required.
27+
28+
- **Added**: All UV commands now run with `--quiet --no-progress` flags for better
29+
CI/CD compatibility and cleaner log output.
30+
31+
- **Added**: When using global UV, mxmake checks if updates are available using
32+
`uv self update --dry-run` and displays a helpful non-blocking warning if a
33+
newer version is available.
34+
35+
- **Improved**: Simplified mxenv.mk logic from 3+ nesting levels to 1-2 levels
36+
using computed intermediate variables (`USE_GLOBAL_UV`, `USE_LOCAL_UV`).
37+
Code is now more maintainable and easier to extend.
38+
1039
## 1.3.0 (2025-09-03)
1140

1241
- Introduce testargs for pytest to have more control over the test and pass it args.

0 commit comments

Comments
 (0)