-
Notifications
You must be signed in to change notification settings - Fork 54
Description
I tried to compile bug 3 of project black, but got several error messages. These are the outputs of compiling the buggy / fixed version of bug 3 in the provided docker container:
Many errors have the reason that gcc is missing. Therefore, I run apt-get install gcc in the container and tried the fixed version again. This changes a lot in the compile output. For example some C compilations now fail due to missing files. The whole output here: compile_with_gcc.log (On my local machine I have gcc installed and get similar error messages.)
It seems that some versions are not fixed and therefore newer versions are used, which changes the projects compile "behavior". For example dependency version conflicts like:
Collecting mypy-extensions==0.4.3
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl.metadata (1.2 kB)
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Installing collected packages: mypy-extensions
Attempting uninstall: mypy-extensions
Found existing installation: mypy_extensions 1.1.0
Uninstalling mypy_extensions-1.1.0:
Successfully uninstalled mypy_extensions-1.1.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mypy 1.18.2 requires mypy_extensions>=1.0.0, but you have mypy-extensions 0.4.3 which is incompatible.
Successfully installed mypy-extensions-0.4.3
Furthermore, the container uses Python 3.12 but the bugsinpy_bug.info says python_version="3.8.3" and the Pipefile contains this dataclasses = {version = ">=0.6",python_version = "< 3.7"}. I do not know if and how this is maybe already handled by BugsInPy. Without handling this version difference this maybe also one of the reasons for the compile problems.