Repository navigation
Comparing changes
Open a pull request
base repository: pypa/hatch
base: hatchling-v1.32.4
head repository: pypa/hatch
compare: hatchling-v1.33.0
- 9 commits
- 28 files changed
- 6 contributors
Commits on Sep 20, 2026
-
Fix
hatch.cli.application.Application.ensure_plugin_dependenciesPy……App Compatibility (#2390) * Fix `hatch.cli.application.Application.ensure_plugin_dependencies` * * * cleanup formatting * cleanup formatting
Configuration menu - View commit details
-
Copy full SHA for 7c26ebe - Browse repository at this point
Copy the full SHA 7c26ebeView commit details
Commits on Oct 13, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ac9c0c9 - Browse repository at this point
Copy the full SHA ac9c0c9View commit details
Commits on Oct 22, 2026
-
Fix require-runtime-dependencies being ignored for build hooks (#2257)
PR #2073 (workspace support) introduced a separate `additional_dependencies` list on `EnvironmentInterface` and changed `prepare_build_environment` to extend that list with the dynamic build-hook dependencies discovered by `get_required_build_deps` (e.g. project runtime deps when a build hook sets `require-runtime-dependencies = true`). Bug: by the time `prepare_build_environment` extends `additional_dependencies`, the cached property chain that consumes it: `dependencies_complex` -> `all_dependencies_complex` -> `missing_dependencies` has already been populated by the preceding `prepare_environment` call (via `dependency_hash()` and `dependencies_in_sync()`) with the *empty* `additional_dependencies` snapshot. The second `sync_dependencies()` call then early-returns because the cached `missing_dependencies` reflects the pre-mutation deps which have just been installed — so the runtime deps never get installed and the build hook fails with `ModuleNotFoundError`. Before PR #2073, this worked because the old code mutated the cached `dependencies` list in place and the old `sync_dependencies` reinstalled the entire list via pip — there was no cached `missing_dependencies` short-circuit. Fix: add `EnvironmentInterface.add_additional_dependencies()` which extends `additional_dependencies` and invalidates the dependent cached properties (`dependencies_complex`, `dependencies`, `all_dependencies_complex`, `all_dependencies`). `VirtualEnvironment` extends it to also invalidate its own `distributions` and `missing_dependencies` caches. Update `prepare_build_environment` to use it. Add a regression test that primes the caches before extending and asserts the new deps are visible and the virtual environment caches are cleared.
Configuration menu - View commit details
-
Copy full SHA for 7bbe763 - Browse repository at this point
Copy the full SHA 7bbe763View commit details -
match exclude key exactly when detecting injection (#2444)
match extend key exactly when injecting
Configuration menu - View commit details
-
Copy full SHA for 52de770 - Browse repository at this point
Copy the full SHA 52de770View commit details -
Fix
hatch testcrashing or silently doing nothing when filters matc……h no environments (#2460) Fix `hatch test` crashing or silently doing nothing when the filters match no environments
Configuration menu - View commit details
-
Copy full SHA for 6744e60 - Browse repository at this point
Copy the full SHA 6744e60View commit details -
Use --python instead of --python-version for uv commands (#2473)
uv's --python-version option only accepts strict Python versions (e.g. 3.14) and rejects build variant specifiers such as 3.14t (free-threaded CPython). In contrast, uv's --python option accepts both standard Python versions and build variants / interpreter requests. Passing --python-version caused hatch env lock and uv pip sync to fail with 'invalid value 3.14t for --python-version' when configuring a build variant. Switch to passing --python in UvLocker and VirtualEnvironment, and add regression tests. Fixes #2393
Configuration menu - View commit details
-
Copy full SHA for ad6d66e - Browse repository at this point
Copy the full SHA ad6d66eView commit details
Commits on Oct 23, 2026
-
Configuration menu - View commit details
-
Copy full SHA for e7495de - Browse repository at this point
Copy the full SHA e7495deView commit details
Commits on Oct 27, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b69f97a - Browse repository at this point
Copy the full SHA b69f97aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c93b542 - Browse repository at this point
Copy the full SHA c93b542View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff hatchling-v1.32.4...hatchling-v1.33.0