Skip to content

Fix logging error in md_eval.py - #131

Open
alexanderwerning wants to merge 1 commit into
fgnt:mainfrom
alexanderwerning:alexanderwerning-patch-1
Open

Fix logging error in md_eval.py#131
alexanderwerning wants to merge 1 commit into
fgnt:mainfrom
alexanderwerning:alexanderwerning-patch-1

Conversation

@alexanderwerning

Copy link
Copy Markdown
Member

Approved by @boeddeker, see alexanderwerning#1
(Pull request was opened on fork, not original repository)

@alexanderwerning

alexanderwerning commented Aug 7, 2026

Copy link
Copy Markdown
Member Author

Runner log:

  Cloning https://github.com/chimechallenge/chime-utils to /tmp/pip-install-69l3bgwc/chime-utils_3971631951054359a929f3fb28d08fda
  Running command git clone --filter=blob:none --quiet https://github.com/chimechallenge/chime-utils /tmp/pip-install-69l3bgwc/chime-utils_3971631951054359a929f3fb28d08fda
  Resolved https://github.com/chimechallenge/chime-utils to commit 1f937d5dae6c6ae7987aaa47b21c295ea746a141
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
        File "/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
        File "/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-d2bsi_8y/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-d2bsi_8y/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-d2bsi_8y/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 520, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-d2bsi_8y/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
        File "<string>", line 3, in <module>
      ModuleNotFoundError: No module named 'pkg_resources'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'chime-utils' when getting requirements to build wheel
Error: Process completed with exit code 1.

Should we just pin setuptools for the workflows?
https://stackoverflow.com/a/79888812

@boeddeker

Copy link
Copy Markdown
Member

When it fixes the build, yes. We can delay solving the root problem. (Looks like chime-utils has to be updated)

@boeddeker

Copy link
Copy Markdown
Member

@popcornell : Should we remove pkg_resources from https://github.com/chimechallenge/chime-utils/blob/main/setup.py ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants