← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2088355] Re: Ubuntu Noble: Failed to build installable wheels for Pillow

 

** Also affects: barbican
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/2088355

Title:
  Ubuntu Noble: Failed to build installable wheels for Pillow

Status in Barbican:
  New
Status in OpenStack Identity (keystone):
  In Progress

Bug description:
  As per OpenStack 2025.1 testing runtime[1], we need to migrate all
  project testing on Ubuntu Noble.

  But doc job on Noble fail with the below error:
  - https://zuul.opendev.org/t/openstack/build/6e49ff2ca47a46879799332431591b0a

  
        Traceback (most recent call last):
          File "/home/zuul/src/opendev.org/openstack/keystone/.tox/docs/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
            main()
          File "/home/zuul/src/opendev.org/openstack/keystone/.tox/docs/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
            json_out['return_val'] = hook(**hook_input['kwargs'])
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/zuul/src/opendev.org/openstack/keystone/.tox/docs/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
            return _build_backend().build_wheel(wheel_directory, config_settings,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/tmp/pip-build-env-32_f1tdj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 434, in build_wheel
            return _build(['bdist_wheel', '--dist-info-dir', metadata_directory])
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/tmp/pip-build-env-32_f1tdj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 422, in _build
            return self._build_with_temp_dir(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/tmp/pip-build-env-32_f1tdj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 403, in _build_with_temp_dir
            self.run_setup()
          File "/tmp/pip-build-env-32_f1tdj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 516, in run_setup
            super().run_setup(setup_script=setup_script)
          File "/tmp/pip-build-env-32_f1tdj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
            exec(code, locals())
          File "<string>", line 1010, in <module>
        RequiredDependencyException:
        
        The headers or library files could not be found for jpeg,
        a required dependency when compiling Pillow from source.
        
        Please see the install instructions at:
           https://pillow.readthedocs.io/en/latest/installation.html
        
        
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for Pillow
  ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (Pillow)

To manage notifications about this bug go to:
https://bugs.launchpad.net/barbican/+bug/2088355/+subscriptions



References