Skip to content

Build failure: python3Packages.aider-chat #425560

Closed
@sarahec

Description

@sarahec

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

From master: nix-build -A python312Packages.aider-chat

Observe a cascading list of AttributeErrors from the check phase.

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/eval/1816863?filter=aider-chat&compare=1816860&full=

Relevant log output

aider/repomap.py:289: AttributeError
----------------------------- Captured stdout call -----------------------------
HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /BerriAI/litellm/main/model_prices_and_context_window.json (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ffddb3b8ec0>: Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)"))
HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /BerriAI/litellm/main/model_prices_and_context_window.json (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ffddb3bb320>: Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)"))
=========================== short test summary info ============================
FAILED tests/basic/test_commands.py::TestCommands::test_cmd_tokens_output - AttributeError: 'tree_sitter.Query' object has no attribute 'captures'
FAILED tests/basic/test_repomap.py::TestRepoMap::test_get_repo_map_excludes_added_files - AttributeError: 'tree_sitter.Query' object has no attribute 'captures'
FAILED tests/basic/test_repomap.py::TestRepoMap::test_get_repo_map_with_identifiers - AttributeError: 'tree_sitter.Query' object has no attribute 'captures'
FAILED tests/basic/test_repomap.py::TestRepoMap::test_repo_map_refresh_auto - AttributeError: 'tree_sitter.Query' object has no attribute 'captures'
FAILED tests/basic/test_repomap.py::TestRepoMap::test_repo_map_refresh_files - AttributeError: 'tree_sitter.Query' object has no attribute 'captures'

Additional context

Fails on linux and darwin, x86_64 and aarch64.
Worked in #423122 on 7-July, broke sometime after.
Filed Aider-AI/aider#4354 upstream

It's likely due to the removal of https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json

System metadata

x86_64-linux and aarch64-darwin building on current master

Notify maintainers

@yzx9
@happysalada


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: pythonPython is a high-level, general-purpose programming language.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions