Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests, Upstream.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Since few days installing pillow fails for pypy3.8 and Python 3.14:
  
  
https://github.com/wikimedia/pywikibot/actions/runs/12331933904/job/34422840520
  
  pypy3.8
  -------
  
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/_distutils/cmd.py",
 line 316, in run_command
              self.distribution.run_command(command)
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/dist.py",
 line 999, in run_command
              super().run_command(command)
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/_distutils/dist.py",
 line 973, in run_command
              cmd_obj.run()
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/command/build_ext.py",
 line 98, in run
              _build_ext.run(self)
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/_distutils/command/build_ext.py",
 line 359, in run
              self.build_extensions()
            File "<string>", line 829, in build_extensions
          RequiredDependencyException: jpeg
          
          During handling of the above exception, another exception occurred:
          
          Traceback (most recent call last):
            File 
"/opt/hostedtoolcache/PyPy/3.8.16/x64/lib/pypy3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 353, in <module>
              main()
            File 
"/opt/hostedtoolcache/PyPy/3.8.16/x64/lib/pypy3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 335, in main
              json_out['return_val'] = hook(**hook_input['kwargs'])
            File 
"/opt/hostedtoolcache/PyPy/3.8.16/x64/lib/pypy3.8/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-install-rjrzov48/pillow_777652b32e4b43d0a1bbc9d1b9bb928d/_custom_build/backend.py",
 line 26, in build_wheel
              return super().build_wheel(wheel_directory, config_settings, 
metadata_directory)
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/build_meta.py",
 line 437, in build_wheel
              return _build(['bdist_wheel', '--dist-info-dir', 
str(metadata_directory)])
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/build_meta.py",
 line 425, in _build
              return self._build_with_temp_dir(
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/build_meta.py",
 line 406, in _build_with_temp_dir
              self.run_setup()
            File 
"/tmp/pip-install-rjrzov48/pillow_777652b32e4b43d0a1bbc9d1b9bb928d/_custom_build/backend.py",
 line 20, in run_setup
              return super().run_setup(setup_script)
            File 
"/tmp/pip-build-env-i3s0jm3y/overlay/lib/pypy3.8/site-packages/setuptools/build_meta.py",
 line 319, in run_setup
              exec(code, locals())
            File "<string>", line 1028, 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/basic-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
      Building wheel for sseclient (pyproject.toml): started
      Building wheel for sseclient (pyproject.toml): finished with status 'done'
      Created wheel for sseclient: filename=sseclient-0.0.22-py3-none-any.whl 
size=5213 
sha256=017001805f25a96ff164fc4f56e14ee8b4a4dc8a44a63bf53f6e97a937bb5b58
      Stored in directory: 
/home/runner/.cache/pip/wheels/a5/28/1c/47c31f0862570a9101e27c04f7413633f898098221af4752ab
      Building wheel for regex (pyproject.toml): started
      Building wheel for regex (pyproject.toml): finished with status 'done'
      Created wheel for regex: 
filename=regex-2024.11.6-pp38-pypy38_pp73-linux_x86_64.whl size=319160 
sha256=ecfc9d0b9915d280d7d7f8ab6b2da8de9bf745002728365f39da095f8d36950b
      Stored in directory: 
/home/runner/.cache/pip/wheels/53/b6/2f/b3b26c95eed0e31a85cac4560826d215a746b696fc7fd915e8
    Successfully built mwparserfromhell sseclient regex
    Failed to build Pillow
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml 
based projects (Pillow)
  
  
  
  Python 3.14
  -----------
  
    Building wheels for collected packages: mwparserfromhell, Pillow, 
sseclient, regex
      Building wheel for mwparserfromhell (setup.py): started
      Building wheel for mwparserfromhell (setup.py): finished with status 
'done'
      Created wheel for mwparserfromhell: 
filename=mwparserfromhell-0.6.6-cp314-cp314-linux_x86_64.whl size=198921 
sha256=ba7b0571c4878390d6b850b16d694444b98d9543ffd5db6345ac21aa1c4e7a64
      Stored in directory: 
/home/runner/.cache/pip/wheels/cb/ea/b6/f1043f864247293bcf60dab809555a76fac5374adc7e4e8fd0
      Building wheel for Pillow (pyproject.toml): started
          
          Traceback (most recent call last):
            File 
"/home/runner/venv-3.14/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 353, in <module>
              main()
              ~~~~^^
            File 
"/home/runner/venv-3.14/lib/python3.14/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/runner/venv-3.14/lib/python3.14/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,
                     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                  metadata_directory)
                                                  ^^^^^^^^^^^^^^^^^^^
            File 
"/tmp/pip-install-w7w1id4o/pillow_a5f7f5840f83444695a410d056652a88/_custom_build/backend.py",
 line 26, in build_wheel
              return super().build_wheel(wheel_directory, config_settings, 
metadata_directory)
                     
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            File 
"/tmp/pip-build-env-o5kkub4b/overlay/lib/python3.14/site-packages/setuptools/build_meta.py",
 line 438, in build_wheel
              return _build(['bdist_wheel', '--dist-info-dir', 
str(metadata_directory)])
            File 
"/tmp/pip-build-env-o5kkub4b/overlay/lib/python3.14/site-packages/setuptools/build_meta.py",
 line 426, in _build
              return self._build_with_temp_dir(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~^
                  cmd,
                  ^^^^
              ...<3 lines>...
                  self._arbitrary_args(config_settings),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              )
              ^
            File 
"/tmp/pip-build-env-o5kkub4b/overlay/lib/python3.14/site-packages/setuptools/build_meta.py",
 line 407, in _build_with_temp_dir
              self.run_setup()
              ~~~~~~~~~~~~~~^^
            File 
"/tmp/pip-install-w7w1id4o/pillow_a5f7f5840f83444695a410d056652a88/_custom_build/backend.py",
 line 20, in run_setup
              return super().run_setup(setup_script)
                     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
            File 
"/tmp/pip-build-env-o5kkub4b/overlay/lib/python3.14/site-packages/setuptools/build_meta.py",
 line 320, in run_setup
              exec(code, locals())
              ~~~~^^^^^^^^^^^^^^^^
            File "<string>", line 1042, 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/basic-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
      Building wheel for sseclient (setup.py): started
      Building wheel for sseclient (setup.py): finished with status 'done'
      Created wheel for sseclient: filename=sseclient-0.0.22-py3-none-any.whl 
size=5215 
sha256=5a5c8012f471b18e014938d26d1c2b6156c1e3713c9838c4382db66aab7868b8
      Stored in directory: 
/home/runner/.cache/pip/wheels/9b/18/80/5a0cc553ea119ed80593c180ddee3dcc52098a3160ad644730
      Building wheel for regex (pyproject.toml): started
      Building wheel for regex (pyproject.toml): finished with status 'done'
      Created wheel for regex: 
filename=regex-2024.11.6-cp314-cp314-linux_x86_64.whl size=762695 
sha256=56993176dbe08f95611f883534574bcb4c4ab70c2aeb70de4daa9605f6b04b80
      Stored in directory: 
/home/runner/.cache/pip/wheels/11/3f/1c/6f99bac5eff013077ae2c3d4cd5565349ac514e1b162b7b663
    Successfully built mwparserfromhell sseclient regex
    Failed to build Pillow
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml 
based projects (Pillow)
  
  See also
  
  - T184505 <https://phabricator.wikimedia.org/T184505>
  - T364840 <https://phabricator.wikimedia.org/T364840>

TASK DETAIL
  https://phabricator.wikimedia.org/T382214

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista, Krenair
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to