Skip to content

Commit ab105a7

Browse files
authored
Upgrade dependencies
1 parent 25e373e commit ab105a7

File tree

3 files changed

+435
-418
lines changed

3 files changed

+435
-418
lines changed

moatless/actions/list_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async def execute(
178178
if list_files_args.recursive:
179179
# Get all files and directories recursively using find
180180
# -xdev: don't cross filesystem boundaries
181-
dirs_command = f"find {target_dir} -xdev -type d | sort"
181+
dirs_command = f"find {target_dir} -xdev -type d | grep -v '^{escaped_target_dir}$' | sort"
182182
if ignore_pattern:
183183
dirs_command += ignore_pattern
184184
files_command = f"find {target_dir} -xdev -type f | sort"

pyproject.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ dependencies = [
1717
"tiktoken<2.0.0,>=0.11.0",
1818
"networkx<4.0,>=3.4",
1919
"tree-sitter==0.24.0",
20-
"tree-sitter-python==0.23.6",
21-
"tree-sitter-java==0.23.5",
20+
"tree-sitter-python<1.0.0,>=0.23.6",
21+
"tree-sitter-java<1.0.0,>=0.23.5",
2222
"rapidfuzz<4.0.0,>=3.13.0",
2323
"gitpython<4.0.0,>=3.1.45",
2424
"unidiff<1.0.0,>=0.7.5",
25-
"python-dotenv==1.0.1",
25+
"python-dotenv<2.0.0,>=1.0.1",
2626
"docstring-parser<1.0,>=0.17.0",
2727
"litellm<2.0.0,>=1.75.5.post1",
2828
"openai<2.0.0,>=1.99.9",
@@ -47,7 +47,6 @@ dependencies = [
4747
"opentelemetry-instrumentation-fastapi<1.0,>=0.57b0",
4848
"fastapi>=0.116.1",
4949
"uvicorn>=0.35.0",
50-
"dotenv>=0.9.9",
5150
"botocore<2.0.0,>=1.37.3",
5251
"boto3<2.0.0,>=1.37.3",
5352
"aioboto3<15.0.0,>=14.3.0",
@@ -59,11 +58,11 @@ dependencies = [
5958

6059
[dependency-groups]
6160
dev = [
62-
"pytest==8.3.2",
63-
"pytest-mock==3.14.0",
61+
"pytest<9.0.0,>=8.3.2",
62+
"pytest-mock<4.0.0,>=3.14.0",
6463
"pytest-asyncio<1.0.0,>=0.25.3",
65-
"mypy==1.15.0",
66-
"ruff==0.5.5",
64+
"mypy<2.0.0,>=1.15.0",
65+
"ruff<1.0.0,>=0.5.5",
6766
"pylint<4.0.0,>=3.2.6",
6867
"ipykernel<7.0.0,>=6.29.5",
6968
]

0 commit comments

Comments
 (0)