Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pillow requirement ~= 9.4.0 #23

Closed
j1nx opened this issue Oct 6, 2024 · 1 comment · Fixed by #24
Closed

Pillow requirement ~= 9.4.0 #23

j1nx opened this issue Oct 6, 2024 · 1 comment · Fixed by #24
Assignees

Comments

@j1nx
Copy link
Member

j1nx commented Oct 6, 2024

The ovos-phal container image is just pulling in the latest version of Pillow, which is 10.4.0 however when you want to install this plugin within the container because of the rather fixed requirement it will still try to pull in the 9.4.x version and will fail because of it needed to be compiled.

Oct 06 17:14:50 OpenVoiceOS ovos-phal[902]: Collecting pillow~=9.4.0 (from ovos-PHAL-plugin-oauth<1.0.0,>=0.0.1->-r /home/ovos/.config/mycroft/phal.list (line 3))
Oct 06 17:14:50 OpenVoiceOS ovos-phal[902]:   Downloading Pillow-9.4.0.tar.gz (50.4 MB)
Oct 06 17:14:54 OpenVoiceOS ovos-phal[902]:      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.4/50.4 MB 11.7 MB/s eta 0:00:00
Oct 06 17:15:01 OpenVoiceOS ovos-phal[902]:   Installing build dependencies: started
Oct 06 17:15:14 OpenVoiceOS ovos-phal[902]:   Installing build dependencies: finished with status 'done'
Oct 06 17:15:14 OpenVoiceOS ovos-phal[902]:   Getting requirements to build wheel: started
Oct 06 17:15:17 OpenVoiceOS ovos-phal[902]:   Getting requirements to build wheel: finished with status 'done'
Oct 06 17:15:17 OpenVoiceOS ovos-phal[902]:   Preparing metadata (pyproject.toml): started
Oct 06 17:15:19 OpenVoiceOS ovos-phal[902]:   Preparing metadata (pyproject.toml): finished with status 'done'
Oct 06 17:15:23 OpenVoiceOS ovos-phal[902]: Building wheels for collected packages: pillow, qrcode
Oct 06 17:15:23 OpenVoiceOS ovos-phal[902]:   Building wheel for pillow (pyproject.toml): started
Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:   Building wheel for pillow (pyproject.toml): finished with status 'error'
Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:   error: subprocess-exited-with-error
Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:
Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:   × Building wheel for pillow (pyproject.toml) did not run successfully.
Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:   │ exit code: 1
Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:   ╰─> [200 lines of output]

[...]

Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:   note: This error originates from a subprocess, and is likely not a problem with pip.
Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:   Building wheel for qrcode (pyproject.toml): started
Oct 06 17:15:25 OpenVoiceOS ovos-phal[902]:   ERROR: Failed building wheel for pillow
Oct 06 17:15:28 OpenVoiceOS ovos-phal[902]:   Building wheel for qrcode (pyproject.toml): finished with status 'done'
Oct 06 17:15:28 OpenVoiceOS ovos-phal[902]:   Created wheel for qrcode: filename=qrcode-7.3.1-py3-none-any.whl size=40385 sha256=01a735c1eab0729892f61554f9d6edce4838eca5222901ecefdf835a30a31a7e
Oct 06 17:15:28 OpenVoiceOS ovos-phal[902]:   Stored in directory: /tmp/pip-ephem-wheel-cache-i055w66z/wheels/23/13/8b/59ae3d8bf84ad9a4ce3b3f5a50932989bdc6264b361e1ba048
Oct 06 17:15:28 OpenVoiceOS ovos-phal[902]: Successfully built qrcode
Oct 06 17:15:28 OpenVoiceOS ovos-phal[902]: Failed to build pillow
Oct 06 17:15:28 OpenVoiceOS ovos-phal[902]: ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pillow)
@JarbasAl
Copy link
Member

JarbasAl commented Oct 6, 2024

only used for QR code generation

JarbasAl added a commit that referenced this issue Oct 6, 2024
JarbasAl added a commit that referenced this issue Oct 9, 2024
* Update requirements.txt

closes #23

* Update requirements.txt

* Update requirements.txt
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 a pull request may close this issue.

2 participants