Open
Description
hatch
tests fail on macOS in Nixpkgs at hatch-v1.14
:
> assert len(requirements) == 4
E AssertionError: assert 3 == 4
E + where 3 = len(['-e file:///private/tmp/nix-build-hatch-1.14.0.drv-0/tmpe4hfwroa/my-app', 'my-app0 @ file:///private/tmp/nix-build-hatch-1.14.0.drv-0/tmpe4hfwroa/my-app0', 'my-app1 @ file:///private/tmp/nix-build-hatch-1.14.0.drv-0/tmpe4hfwroa/my-app1'])
/private/tmp/nix-build-hatch-1.14.0.drv-0/source/tests/cli/env/test_create.py:1572: AssertionError
------------------------------ Captured log call -------------------------------
INFO virtualenv.discovery.builtin:builtin.py:76 find interpreter for spec PythonSpec()
INFO virtualenv.discovery.builtin:builtin.py:83 proposed PythonInfo(spec=CPython3.12.9.final.0-64, exe=/nix/store/ibnllhp7pc88kgcrxa2gddxcbyl0vngk-python3-3.12.9/bin/python3.12, platform=darwin, version='3.12.9 (main, Feb 4 2025, 14:38:38) [Clang 19.1.7 ]', encoding_fs_io=utf-8-utf-8)
DEBUG virtualenv.discovery.builtin:builtin.py:85 accepted PythonInfo(spec=CPython3.12.9.final.0-64, exe=/nix/store/ibnllhp7pc88kgcrxa2gddxcbyl0vngk-python3-3.12.9/bin/python3.12, platform=darwin, version='3.12.9 (main, Feb 4 2025, 14:38:38) [Clang 19.1.7 ]', encoding_fs_io=utf-8-utf-8)
INFO virtualenv.discovery.builtin:builtin.py:76 find interpreter for spec PythonSpec(major=3, minor=12, free_threaded=False)
INFO virtualenv.discovery.builtin:builtin.py:83 proposed PythonInfo(spec=CPython3.12.9.final.0-64, exe=/nix/store/ibnllhp7pc88kgcrxa2gddxcbyl0vngk-python3-3.12.9/bin/python3.12, platform=darwin, version='3.12.9 (main, Feb 4 2025, 14:38:38) [Clang 19.1.7 ]', encoding_fs_io=utf-8-utf-8)
DEBUG virtualenv.discovery.builtin:builtin.py:85 accepted PythonInfo(spec=CPython3.12.9.final.0-64, exe=/nix/store/ibnllhp7pc88kgcrxa2gddxcbyl0vngk-python3-3.12.9/bin/python3.12, platform=darwin, version='3.12.9 (main, Feb 4 2025, 14:38:38) [Clang 19.1.7 ]', encoding_fs_io=utf-8-utf-8)
=========================== short test summary info ============================
FAILED tests/cli/env/test_create.py::test_features - AssertionError: assert 1 == 2
FAILED tests/cli/env/test_create.py::test_sync_dynamic_dependencies - AssertionError: assert 3 == 4
================= 2 failed, 1455 passed, 53 skipped in 28.57s ==================
Build logs upstream: https://hydra.nixos.org/build/292934410
The build started failing when some dependencies changed, maybe that's related?
• 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
I'm not sure what the failure means here; it looks like an element starting with binary==
is missing from the list of requirements. If it's an issue with our packaging feel free to close this.
Metadata
Metadata
Assignees
Labels
No labels