-
Notifications
You must be signed in to change notification settings - Fork 24
/
pylint-dev__pylint-7228.gpt-4-0125-preview.eval.log
151 lines (136 loc) · 12.1 KB
/
pylint-dev__pylint-7228.gpt-4-0125-preview.eval.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Task Metadata:
- Instance ID: pylint-dev__pylint-7228
- Testbed: pylint-dev__pylint__2.15
-
- Evaluation Model: gpt-4-0125-preview
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Command: git -c advice.detachedHead=false checkout d597f252915ddcaaa15ccdfcb35670152cb83587
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Subprocess args: {"cwd": "/home/swe-bench/pylint-dev__pylint", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Std. Output:
Previous HEAD position was e90702074 Fix `use-sequence-for-iteration` when unpacking a set with `*` (#7975) (#7988)
HEAD is now at d597f2529 Remove ``setup.py`` (#7249)
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Return Code: 0
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Running pre-test command: pip install -e .
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Command: conda run -n pylint-dev__pylint__2.15 pip install -e .
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Subprocess args: {"cwd": "/home/swe-bench/pylint-dev__pylint", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Std. Output:
Obtaining file:///home/swe-bench/pylint-dev__pylint
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: dill>=0.2 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (0.3.8)
Requirement already satisfied: platformdirs>=2.2.0 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (4.2.1)
Requirement already satisfied: astroid<=2.14.0-dev0,>=2.12.2 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (2.12.13)
Requirement already satisfied: isort<6,>=4.2.5 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (5.10.1)
Requirement already satisfied: mccabe<0.8,>=0.6 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (0.7.0)
Requirement already satisfied: tomlkit>=0.10.1 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (0.12.5)
Requirement already satisfied: typing-extensions>=3.10.0 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (4.11.0)
Requirement already satisfied: tomli>=1.1.0 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (2.0.1)
Requirement already satisfied: lazy-object-proxy>=1.4.0 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from astroid<=2.14.0-dev0,>=2.12.2->pylint==2.15.0a0) (1.10.0)
Requirement already satisfied: wrapt<2,>=1.11 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from astroid<=2.14.0-dev0,>=2.12.2->pylint==2.15.0a0) (1.16.0)
Installing collected packages: pylint
Attempting uninstall: pylint
Found existing installation: pylint 2.15.9
Uninstalling pylint-2.15.9:
Successfully uninstalled pylint-2.15.9
Running setup.py develop for pylint
Successfully installed pylint-2.15.0a0
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Return Code: 0
Pre-installation Command: conda run -n pylint-dev__pylint__2.15 pip install -e .
Std. Output: Obtaining file:///home/swe-bench/pylint-dev__pylint
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: dill>=0.2 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (0.3.8)
Requirement already satisfied: platformdirs>=2.2.0 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (4.2.1)
Requirement already satisfied: astroid<=2.14.0-dev0,>=2.12.2 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (2.12.13)
Requirement already satisfied: isort<6,>=4.2.5 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (5.10.1)
Requirement already satisfied: mccabe<0.8,>=0.6 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (0.7.0)
Requirement already satisfied: tomlkit>=0.10.1 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (0.12.5)
Requirement already satisfied: typing-extensions>=3.10.0 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (4.11.0)
Requirement already satisfied: tomli>=1.1.0 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from pylint==2.15.0a0) (2.0.1)
Requirement already satisfied: lazy-object-proxy>=1.4.0 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from astroid<=2.14.0-dev0,>=2.12.2->pylint==2.15.0a0) (1.10.0)
Requirement already satisfied: wrapt<2,>=1.11 in /home/swe-bench/miniconda3/envs/pylint-dev__pylint__2.15/lib/python3.9/site-packages (from astroid<=2.14.0-dev0,>=2.12.2->pylint==2.15.0a0) (1.16.0)
Installing collected packages: pylint
Attempting uninstall: pylint
Found existing installation: pylint 2.15.9
Uninstalling pylint-2.15.9:
Successfully uninstalled pylint-2.15.9
Running setup.py develop for pylint
Successfully installed pylint-2.15.0a0
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Command: git apply -v /home/swe-bench/temp_pylint-dev__pylint-7228_pred_try.patch
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Subprocess args: {"cwd": "/home/swe-bench/pylint-dev__pylint", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Std. Output:
Checking patch pylint/checkers/base/name_checker/naming_style.py...
Checking patch pylint/config/arguments_manager.py...
Applied patch pylint/checkers/base/name_checker/naming_style.py cleanly.
Applied patch pylint/config/arguments_manager.py cleanly.
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Return Code: 0
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Command: git apply -v -R /home/swe-bench/temp_pylint-dev__pylint-7228_pred_try.patch
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Subprocess args: {"cwd": "/home/swe-bench/pylint-dev__pylint", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Std. Output:
Checking patch pylint/config/arguments_manager.py...
Checking patch pylint/checkers/base/name_checker/naming_style.py...
Applied patch pylint/config/arguments_manager.py cleanly.
Applied patch pylint/checkers/base/name_checker/naming_style.py cleanly.
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Return Code: 0
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Command: git apply -v /home/swe-bench/temp_pylint-dev__pylint-7228_pred.patch
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Subprocess args: {"cwd": "/home/swe-bench/pylint-dev__pylint", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Std. Output:
Checking patch pylint/checkers/base/name_checker/naming_style.py...
Checking patch pylint/config/arguments_manager.py...
Applied patch pylint/checkers/base/name_checker/naming_style.py cleanly.
Applied patch pylint/config/arguments_manager.py cleanly.
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Return Code: 0
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Command: git restore tests/config/test_config.py
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Subprocess args: {"cwd": "/home/swe-bench/pylint-dev__pylint", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Std. Output:
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Return Code: 0
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Command: git apply -v /home/swe-bench/temp_pylint-dev__pylint-7228_test.patch
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Subprocess args: {"cwd": "/home/swe-bench/pylint-dev__pylint", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Std. Output:
Checking patch tests/config/test_config.py...
Applied patch tests/config/test_config.py cleanly.
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Return Code: 0
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n pylint-dev__pylint__2.15 pytest --no-header -rA --tb=no -p no:cacheprovider tests/config/test_config.py;
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Command: conda run -n pylint-dev__pylint__2.15 pytest --no-header -rA --tb=no -p no:cacheprovider tests/config/test_config.py
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Subprocess args: {"cwd": "/home/swe-bench/pylint-dev__pylint", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Std. Output:
ERROR conda.cli.main_run:execute(124): `conda run pytest --no-header -rA --tb=no -p no:cacheprovider tests/config/test_config.py` failed. (See above for error)
============================= test session starts ==============================
collected 12 items
tests/config/test_config.py ........FF.. [100%]
=========================== short test summary info ============================
PASSED tests/config/test_config.py::test_can_read_toml_env_variable
PASSED tests/config/test_config.py::test_unknown_message_id
PASSED tests/config/test_config.py::test_unknown_option_name
PASSED tests/config/test_config.py::test_unknown_short_option_name
PASSED tests/config/test_config.py::test_unknown_confidence
PASSED tests/config/test_config.py::test_empty_confidence
PASSED tests/config/test_config.py::test_unknown_yes_no
PASSED tests/config/test_config.py::test_unknown_py_version
PASSED tests/config/test_config.py::test_short_verbose
PASSED tests/config/test_config.py::test_argument_separator
FAILED tests/config/test_config.py::test_regex_error - re.error: bad escape \...
FAILED tests/config/test_config.py::test_csv_regex_error - re.error: missing ...
========================= 2 failed, 10 passed in 0.51s =========================
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Return Code: 1
>>>>> Some Tests Failed
[pylint-dev__pylint__2.15] [pylint-dev__pylint-7228] Test script run successful