image build fail in issue pallets__flask-4045
tangken333 opened this issue · 0 comments
tangken333 commented
Describe the bug
Face a image build crash while evaluation of pallets__flask-4045 issue.
Steps/Code to Reproduce
python -m swebench.harness.run_evaluation --dataset_name princeton-nlp/SWE-bench_Lite --predictions_path predictions_for_swebench.json --max_workers 10 --run_id 173 --instance_ids pallets__flask-4045
Expected Results
A build success for the image build.
Actual Results
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
running egg_info
creating /tmp/pip-pip-egg-info-3eowkfu3/Flask.egg-info
writing /tmp/pip-pip-egg-info-3eowkfu3/Flask.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-3eowkfu3/Flask.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-3eowkfu3/Flask.egg-info/entry_points.txt
writing requirements to /tmp/pip-pip-egg-info-3eowkfu3/Flask.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-3eowkfu3/Flask.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-3eowkfu3/Flask.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-3eowkfu3/Flask.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE.rst'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/testbed/setup.py", line 4, in <module>
setup(
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 184, in setup
return run_commands(dist)
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
dist.run_commands()
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 970, in run_commands
self.run_command(cmd)
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
cmd_obj.run()
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run
self.find_sources()
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 318, in find_sources
mm.run()
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 544, in run
self.prune_file_list()
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 610, in prune_file_list
base_dir = self.distribution.get_fullname()
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 266, in get_fullname
return _distribution_fullname(self.get_name(), self.get_version())
File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 284, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
[end of output]
System Information
No response