Closed
Description
Nixpkgs version
- Unstable (25.11)
Steps to reproduce
From master
: nix-build -A python312Packages.aider-chat
Observe a cascading list of AttributeError
s 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
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
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.