Skip to content

[Python][Packaging][CI] Musllinux wheels for Python 3.10 try to build pandas from source and fail #49638

@raulcd

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

The following wheel jobs:

Are failing to build the docker image because they are trying to build pandas from source:

 #11 12.53   Downloading pandas-2.0.3.tar.gz (5.3 MB)
  #11 12.57      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 125.8 MB/s eta 0:00:00
  #11 13.50   Installing build dependencies: started
  #11 80.03   Installing build dependencies: still running...
  #11 153.3   Installing build dependencies: still running...
  #11 220.5   Installing build dependencies: still running...
  #11 282.2   Installing build dependencies: still running...
  #11 312.7   Installing build dependencies: finished with status 'done'
  #11 312.7   Getting requirements to build wheel: started
  #11 313.0   Getting requirements to build wheel: finished with status 'error'
  #11 313.0   error: subprocess-exited-with-error
  #11 313.0   
  #11 313.0   × Getting requirements to build wheel did not run successfully.
  #11 313.0   │ exit code: 1
  #11 313.0   ╰─> [17 lines of output]
  #11 313.0       Traceback (most recent call last):
  #11 313.0         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  #11 313.0           main()
  #11 313.0         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  #11 313.0           json_out['return_val'] = hook(**hook_input['kwargs'])
  #11 313.0         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
  #11 313.0           return hook(config_settings)
  #11 313.0         File "/tmp/pip-build-env-irdleup2/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
  #11 313.0           return self._get_build_requires(config_settings, requirements=[])
  #11 313.0         File "/tmp/pip-build-env-irdleup2/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
  #11 313.0           self.run_setup()
  #11 313.0         File "/tmp/pip-build-env-irdleup2/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 520, in run_setup
  #11 313.0           super().run_setup(setup_script=setup_script)
  #11 313.0         File "/tmp/pip-build-env-irdleup2/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
  #11 313.0           exec(code, locals())
  #11 313.0         File "<string>", line 19, in <module>
  #11 313.0       ModuleNotFoundError: No module named 'pkg_resources'
  #11 313.0       [end of output]
  #11 313.0   
  #11 313.0   note: This error originates from a subprocess, and is likely not a pro

Component(s)

Continuous Integration, Packaging, Python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions