RESOLVED FIXED Bug 262154
[Win] failing to install rapidfuzz-2.11.1
https://bugs.webkit.org/show_bug.cgi?id=262154
Summary [Win] failing to install rapidfuzz-2.11.1
Fujii Hironori
Reported 2023-09-26 17:20:33 PDT
After WinCairo-64-bit-Release-Build switched to clang, show-identifier step was failing. https://build.webkit.org/#/builders/731/builds/8670 Downloading rapidfuzz-2.11.1... Installing rapidfuzz-2.11.1... ========================================================================== WARNING: The C extension could not be compiled, speedups are not enabled. Failure information, if any, is above. Retrying the build without the C extension now. ========================================================================== Traceback (most recent call last): File "C:\Users\ContainerAdministrator\AppData\Local\Temp\rapidfuzz-5160\rapidfuzz-2.11.1\setup.py", line 72, in <module> run_setup(True) File "C:\Users\ContainerAdministrator\AppData\Local\Temp\rapidfuzz-5160\rapidfuzz-2.11.1\setup.py", line 49, in run_setup import rapidfuzz_capi ModuleNotFoundError: No module named 'rapidfuzz_capi' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\ContainerAdministrator\AppData\Local\Temp\rapidfuzz-5160\rapidfuzz-2.11.1\setup.py", line 80, in <module> run_setup(False) File "C:\Users\ContainerAdministrator\AppData\Local\Temp\rapidfuzz-5160\rapidfuzz-2.11.1\setup.py", line 59, in run_setup setup(**setup_args) File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\setuptools\__init__.py", line 153, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\setuptools\_distutils\core.py", line 108, in setup _setup_distribution = dist = klass(attrs) ^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\setuptools\dist.py", line 434, in __init__ _Distribution.__init__(self, { File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\setuptools\_distutils\dist.py", line 293, in __init__ self.finalize_options() File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\setuptools\dist.py", line 742, in finalize_options for ep in sorted(eps, key=by_order): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\setuptools\dist.py", line 741, in <lambda> eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group)) ^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\pkg_resources\__init__.py", line 2449, in load self.require(*args, **kwargs) File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\pkg_resources\__init__.py", line 2472, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\autoinstalled\python-3-AMD64\pkg_resources\__init__.py", line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pyparsing!=3.0.5,>=2.0.2' distribution was not found and is required by packaging Failed to install rapidfuzz-2.11.1! Traceback (most recent call last): File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\git-webkit", line 87, in <module> classifier=is_webkit_filter(classifier()), ^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\git-webkit", line 78, in classifier return CommitClassifier.load(file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitscmpy\webkitscmpy\commit_classifier.py", line 104, in load result.classes.append(cls.CommitClass(**commit_class)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitscmpy\webkitscmpy\commit_classifier.py", line 73, in __init__ self.headers = [CommitClassifier.LineFilter(header) for header in headers or []] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitscmpy\webkitscmpy\commit_classifier.py", line 73, in <listcomp> self.headers = [CommitClassifier.LineFilter(header) for header in headers or []] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitscmpy\webkitscmpy\commit_classifier.py", line 53, in __init__ self.do = self.fuzzy(value['value'], ratio=value.get('ratio')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitscmpy\webkitscmpy\commit_classifier.py", line 40, in fuzzy from rapidfuzz import fuzz File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1078, in _find_spec File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitcorepy\webkitcorepy\autoinstall.py", line 650, in find_spec loader = cls.find_module(fullname, path=path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitcorepy\webkitcorepy\autoinstall.py", line 664, in find_module cls.install(name) File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitcorepy\webkitcorepy\autoinstall.py", line 637, in install return all([to_install.install() for to_install in packages]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitcorepy\webkitcorepy\autoinstall.py", line 637, in <listcomp> return all([to_install.install() for to_install in packages]) ^^^^^^^^^^^^^^^^^^^^ File "C:\BW\WinCairo-64-bit-Release-Build\build\Tools\Scripts\libraries\webkitcorepy\webkitcorepy\autoinstall.py", line 341, in install subprocess.check_call( File "C:\tools\python3\Lib\subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:\\tools\\python3\\python3.exe', 'C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\rapidfuzz-5160\\rapidfuzz-2.11.1\\setup.py', 'install', '--home=C:\\BW\\WinCairo-64-bit-Release-Build\\build\\Tools\\Scripts\\libraries\\autoinstalled\\python-3-AMD64', '--root=C:/', '--prefix=', '--install-lib=C:\\BW\\WinCairo-64-bit-Release-Build\\build\\Tools\\Scripts\\libraries\\autoinstalled\\python-3-AMD64', '--install-scripts=C:\\BW\\WinCairo-64-bit-Release-Build\\build\\Tools\\Scripts\\libraries\\autoinstalled\\python-3-AMD64\\bin', '--install-data=C:\\BW\\WinCairo-64-bit-Release-Build\\build\\Tools\\Scripts\\libraries\\autoinstalled\\python-3-AMD64\\data', '--install-headers=C:\\BW\\WinCairo-64-bit-Release-Build\\build\\Tools\\Scripts\\libraries\\autoinstalled\\python-3-AMD64\\headers']' returned non-zero exit status 1. program finished with exit code 1 elapsedTime=7.772044
Attachments
Fujii Hironori
Comment 1 2023-09-26 17:57:51 PDT
Still failing even after switching back to MSVC. This iss a clean build issue.
Fujii Hironori
Comment 2 2023-09-26 19:25:58 PDT
EWS
Comment 3 2023-09-26 20:26:53 PDT
Committed 268494@main (ca3f26ebbb57): <https://commits.webkit.org/268494@main> Reviewed commits have been landed. Closing PR #18259 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2023-09-26 20:27:12 PDT
Note You need to log in before you can comment on or make changes to this bug.