Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pypa/hatch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: hatchling-v1.32.4
Choose a base ref
...
head repository: pypa/hatch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: hatchling-v1.33.0
Choose a head ref
  • 9 commits
  • 28 files changed
  • 6 contributors

Commits on Sep 20, 2026

  1. Fix hatch.cli.application.Application.ensure_plugin_dependencies Py…

    …App Compatibility (#2390)
    
    * Fix `hatch.cli.application.Application.ensure_plugin_dependencies`
    
    * *
    
    * cleanup formatting
    
    * cleanup formatting
    davebelais authored Sep 20, 2026
    Configuration menu
    Copy the full SHA
    7c26ebe View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2026

  1. Add 3.15 support (#2468)

    cjames23 authored Oct 13, 2026
    Configuration menu
    Copy the full SHA
    ac9c0c9 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2026

  1. 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.
    filbranden authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    7bbe763 View commit details
    Browse the repository at this point in the history
  2. match exclude key exactly when detecting injection (#2444)

    match extend key exactly when injecting
    euclio authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    52de770 View commit details
    Browse the repository at this point in the history
  3. Fix hatch test crashing 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
    taekop authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    6744e60 View commit details
    Browse the repository at this point in the history
  4. 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
    yagruda authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    ad6d66e View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2026

  1. Configuration menu
    Copy the full SHA
    e7495de View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2026

  1. release Hatchling v1.33.0

    cjames23 authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    b69f97a View commit details
    Browse the repository at this point in the history
  2. release Hatch v1.18.2

    cjames23 authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    c93b542 View commit details
    Browse the repository at this point in the history
Loading