From 184fa3e038e611e3169fed6a43fc454f8b22bb9f Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Fri, 21 Mar 2025 15:33:43 -0700 Subject: [PATCH] hatch: fix build on darwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Failing since e4b6440d7ca1649bb95bd59f39b2279db959e498, previously succeeding at 00769b0532199db4e1bda59865f00f3a86232c75. Possibly related to dependency versions: ``` $ nix-diff /nix/store/74dgxcwrwq83xrnk6fa76l293na95qz3-hatch-1.14.0.drv /nix/store/v659sh5rj1aqsl17nhqbmfsffw2f4rdv-hatch-1.14.0.drv - /nix/store/74dgxcwrwq83xrnk6fa76l293na95qz3-hatch-1.14.0.drv:{out} + /nix/store/v659sh5rj1aqsl17nhqbmfsffw2f4rdv-hatch-1.14.0.drv:{out} • The builders do not match - /nix/store/iv1k5wr7hbxm51qmdn6l2inq7rd2vfhk-bash-5.2p37/bin/bash + /nix/store/x7m765hh1m4yikg9spw18lxldddvdnd0-bash-5.2p37/bin/bash • The set of input derivation names do not match: - cargo-1.83.0 - git-2.47.1 - python3.12-binary-1.0.0 - python3.12-httpx-0.27.2 - python3.12-keyring-25.4.1 - python3.12-setuptools-75.3.0 - python3.12-virtualenv-20.26.6 + cargo-1.84.0 + git-2.47.2 + python3.12-binary-1.0.1 + python3.12-httpx-0.28.1 + python3.12-keyring-25.6.0 + python3.12-setuptools-75.8.0 + python3.12-virtualenv-20.29.1 ... ``` See: https://github.com/pypa/hatch/issues/1942 --- pkgs/by-name/ha/hatch/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ha/hatch/package.nix b/pkgs/by-name/ha/hatch/package.nix index 215d6a45f1d0..f862f8d4a095 100644 --- a/pkgs/by-name/ha/hatch/package.nix +++ b/pkgs/by-name/ha/hatch/package.nix @@ -140,6 +140,10 @@ python3Packages.buildPythonApplication rec { # '...2-macosx_14_0_arm64.whl' "test_macos_archflags" "test_macos_max_compat" + + # https://github.com/pypa/hatch/issues/1942 + "test_features" + "test_sync_dynamic_dependencies" ] ++ lib.optionals stdenv.hostPlatform.isAarch64 [ "test_resolve" ];