← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.opendev.org/c/openstack/barbican/+/932951
Committed: https://opendev.org/openstack/barbican/commit/ccaa10394dc47ee34caf30413dad3d2c59103472
Submitter: "Zuul (22348)"
Branch:    master

commit ccaa10394dc47ee34caf30413dad3d2c59103472
Author: Ghanshyam Mann <gmann@xxxxxxxxxxxxxxxxx>
Date:   Mon Oct 21 19:05:36 2024 -0700

    Update gate jobs as per the 2025.1 cycle testing runtime
    
    As per 2025.1 testing runtime[1], we need to test on Ubuntu
    Noble (which will be taken care by depends-on tempest and devstack
    patches to move base jobs to Noble) and at least single job to run on
    Ubuntu Jammy (for smooth upgrade from previous releases).
    
    This commit adds a new job to run on Jammy which can be removed
    in future cycle when testing runtime test next version of Ubuntu
    as default.
    
    Currently doc job running on Noble fail with the below error
    which is fixed by installing libjpeg-dev package
     - ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (Pillow)
    
    Closes-Bug: #2088355
    
    Depends-On: https://review.opendev.org/c/openstack/barbican-tempest-plugin/+/932946
    
    [1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html
    
    Change-Id: I1b6332763c02b08cf2d1e0be9f1ed46e73b963f0


** Changed in: barbican
       Status: In Progress => Fix Released

-- 
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:
  Fix Released
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