Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#74611 - [python-pylast] 5.0.0-1 lacks required dependencies
Attached to Project:
Community Packages
Opened by Alex Tharp (toastercup) - Monday, 02 May 2022, 03:16 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 18 August 2022, 13:49 GMT
Opened by Alex Tharp (toastercup) - Monday, 02 May 2022, 03:16 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 18 August 2022, 13:49 GMT
|
DetailsDescription:
Version 5.0.0 of python-pylast requires two new runtime dependencies: * python-importlib-metadata * python-httpx For example, without python-httpx, this error is produced by an application that depends on python-pylast: ``` from pylast import WSError, Tag File "/usr/lib/python3.10/site-packages/pylast/__init__.py", line 37, in <module> import httpx ModuleNotFoundError: No module named 'httpx' ``` (Note: this is a partial stack trace) Any use of this library is impossible without these dependencies. Additional info: You can see these dependencies declared here: https://github.com/pylast/pylast/blob/5.0.0/setup.cfg#L35-L36 Additionally, from what I can tell, it does not appear that this lib requires python-six as a runtime dependency. There are no references to python-six in the lib's sourcecode. I believe you should be able to remove this as a required runtime dependency. Steps to reproduce: As an example, try installing foobnix from the AUR, which depends on python-pylast. Ensure you do not have one or both of those dependencies installed (I haven't tested python-pylast without python-importlib-metadata installed, as other software I have installed depends on that library). It will fail to start with the above stack trace until you install python-httpx and python-importlib-metadata. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Thursday, 18 August 2022, 13:49 GMT
Reason for closing: Fixed
Additional comments about closing: 5.0.0-2
Thursday, 18 August 2022, 13:49 GMT
Reason for closing: Fixed
Additional comments about closing: 5.0.0-2
Traceback (most recent call last):
File "/opt/tauon-music-box/tauon.py", line 248, in <module>
exec(main)
File "/opt/tauon-music-box/t_modules/t_main.py", line 666, in <module>
import pylast
File "/usr/lib/python3.10/site-packages/pylast/__init__.py", line 37, in <module>
import httpx
ModuleNotFoundError: No module named 'httpx'
> * python-importlib-metadata
From what I can tell, this is only for Python versions < 3.8. See [the source](https://github.com/pylast/pylast/blob/5.0.0/src/pylast/__init__.py#L39-L44) for usage and [the configuration](https://github.com/pylast/pylast/blob/5.0.0/setup.cfg#L36) for what I mean. Since Arch is on 3.10 (at the time of this writing), I don't think we need that.
Otherwise, I verified that installing python-httpx solves the issue.