Skip to content

Commit 74e5fb8

Browse files
authored
aider-chat: 0.82.2 -> 0.83.0 (#405804)
2 parents ce8e2c9 + 0c6ffe2 commit 74e5fb8

File tree

4 files changed

+105
-5
lines changed

4 files changed

+105
-5
lines changed

pkgs/development/python-modules/aider-chat/default.nix

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
attrs,
2020
backoff,
2121
beautifulsoup4,
22+
cachetools,
2223
certifi,
2324
cffi,
2425
charset-normalizer,
@@ -33,8 +34,11 @@
3334
fsspec,
3435
gitdb,
3536
gitpython,
37+
google-ai-generativelanguage,
38+
google-generativeai,
3639
grep-ast,
3740
h11,
41+
hf-xet,
3842
httpcore,
3943
httpx,
4044
huggingface-hub,
@@ -54,6 +58,7 @@
5458
networkx,
5559
numpy,
5660
openai,
61+
oslex,
5762
packaging,
5863
pathspec,
5964
pexpect,
@@ -78,6 +83,7 @@
7883
rich,
7984
rpds-py,
8085
scipy,
86+
shtab,
8187
smmap,
8288
sniffio,
8389
sounddevice,
@@ -124,20 +130,20 @@ let
124130
];
125131
};
126132

127-
version = "0.82.2";
133+
version = "0.83.0";
128134
aider-chat = buildPythonPackage {
129135
pname = "aider-chat";
130136
inherit version;
131137
pyproject = true;
132138

133-
# needs exactly Python 3.12
134-
disabled = pythonOlder "3.12" || pythonAtLeast "3.13";
139+
# dont support python 3.13 (Aider-AI/aider#3037)
140+
disabled = pythonOlder "3.10" || pythonAtLeast "3.13";
135141

136142
src = fetchFromGitHub {
137143
owner = "Aider-AI";
138144
repo = "aider";
139145
tag = "v${version}";
140-
hash = "sha256-lV0d6/cT/B3zmn8/uEyAc3D0n6oFsLoWa/qYmGv3EiI=";
146+
hash = "sha256-hXKrjo/9Y3WLgluwEK2q123QcfBVA0ByEKaq8Rtd70E=";
141147
};
142148

143149
pythonRelaxDeps = true;
@@ -153,6 +159,7 @@ let
153159
attrs
154160
backoff
155161
beautifulsoup4
162+
cachetools
156163
certifi
157164
cffi
158165
charset-normalizer
@@ -167,8 +174,11 @@ let
167174
fsspec
168175
gitdb
169176
gitpython
177+
google-ai-generativelanguage
178+
google-generativeai
170179
grep-ast
171180
h11
181+
hf-xet
172182
httpcore
173183
httpx
174184
huggingface-hub
@@ -188,6 +198,7 @@ let
188198
networkx
189199
numpy
190200
openai
201+
oslex
191202
packaging
192203
pathspec
193204
pexpect
@@ -212,6 +223,7 @@ let
212223
rich
213224
rpds-py
214225
scipy
226+
shtab
215227
smmap
216228
sniffio
217229
sounddevice
@@ -273,6 +285,9 @@ let
273285
"test_main_exit_calls_version_check"
274286
# AssertionError: assert 2 == 1
275287
"test_simple_send_non_retryable_error"
288+
# Broken tests (Aider-AI/aider#3679)
289+
"test_language_ocaml"
290+
"test_language_ocaml_interface"
276291
]
277292
++ lib.optionals stdenv.hostPlatform.isDarwin [
278293
# Tests fails on darwin
@@ -378,7 +393,10 @@ let
378393
homepage = "https://github.com/paul-gauthier/aider";
379394
changelog = "https://github.com/paul-gauthier/aider/blob/v${version}/HISTORY.md";
380395
license = lib.licenses.asl20;
381-
maintainers = with lib.maintainers; [ happysalada ];
396+
maintainers = with lib.maintainers; [
397+
happysalada
398+
yzx9
399+
];
382400
mainProgram = "aider";
383401
};
384402
};
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
setuptools,
6+
pytest,
7+
}:
8+
9+
buildPythonPackage rec {
10+
pname = "mslex";
11+
version = "1.3.0";
12+
pyproject = true; # fallback to setup.py if pyproject.toml is not present
13+
14+
src = fetchFromGitHub {
15+
owner = "smoofra";
16+
repo = "mslex";
17+
tag = "v${version}";
18+
hash = "sha256-vr36OTCTJFZRXlkeGgN4UOlH+6uAkMvqTEO9qL8X98w=";
19+
};
20+
21+
build-system = [
22+
setuptools
23+
];
24+
25+
pythonImportsCheck = [
26+
"mslex"
27+
];
28+
29+
nativeCheckInputs = [
30+
pytest
31+
];
32+
33+
meta = {
34+
description = "Like shlex, but for windows";
35+
homepage = "https://github.com/smoofra/mslex";
36+
license = lib.licenses.asl20;
37+
maintainers = with lib.maintainers; [ yzx9 ];
38+
};
39+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
hatchling,
6+
mslex,
7+
}:
8+
9+
buildPythonPackage rec {
10+
pname = "oslex";
11+
version = "0.1.3";
12+
pyproject = true;
13+
14+
src = fetchFromGitHub {
15+
owner = "petamas";
16+
repo = "oslex";
17+
tag = "release/v${version}";
18+
hash = "sha256-OcmBtxGS1Cq2kEcxF0Il62LUGbAAcG4lieokr/nK2/4=";
19+
};
20+
21+
build-system = [
22+
hatchling
23+
];
24+
25+
dependencies = [
26+
mslex
27+
];
28+
29+
pythonImportsCheck = [
30+
"oslex"
31+
];
32+
33+
meta = {
34+
description = "OS-independent wrapper for shlex and mslex";
35+
homepage = "https://github.com/petamas/oslex";
36+
license = lib.licenses.mit;
37+
maintainers = with lib.maintainers; [ yzx9 ];
38+
};
39+
}

pkgs/top-level/python-packages.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9198,6 +9198,8 @@ self: super: with self; {
91989198

91999199
msldap = callPackage ../development/python-modules/msldap { };
92009200

9201+
mslex = callPackage ../development/python-modules/mslex { };
9202+
92019203
msmart-ng = callPackage ../development/python-modules/msmart-ng { };
92029204

92039205
msoffcrypto-tool = callPackage ../development/python-modules/msoffcrypto-tool { };
@@ -10620,6 +10622,8 @@ self: super: with self; {
1062010622

1062110623
oset = callPackage ../development/python-modules/oset { };
1062210624

10625+
oslex = callPackage ../development/python-modules/oslex { };
10626+
1062310627
oslo-concurrency = callPackage ../development/python-modules/oslo-concurrency { };
1062410628

1062510629
oslo-config = callPackage ../development/python-modules/oslo-config { };

0 commit comments

Comments
 (0)