Package Details: python-swagger-ui-py 23.9.23-1

Git Clone URL: https://aur.archlinux.org/python-swagger-ui-py.git (read-only, click to copy)
Package Base: python-swagger-ui-py
Description: Swagger UI for Python web framework, such Tornado, Flask and Sanic
Upstream URL: https://pwzer.github.io/swagger-ui-py/
Licenses: Apache2
Submitter: AlphaJack
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 0
Popularity: 0.000000
First Submitted: 2023-06-16 22:51 (UTC)
Last Updated: 2024-02-15 18:30 (UTC)

Latest Comments

SpotlightKid commented on 2024-12-18 11:36 (UTC) (edited on 2024-12-18 11:38 (UTC) by SpotlightKid)

This package installs some files under /usr/lib/python3.12/site-packages/test. These will easily conflict with other packages, which - also wrongly - install files there, particularly the __init__.py file there.

This is due to an upstream issue, because the package's setup.py uses packages=find_packages() without excluding the test package. But you can easily remove the the test directory in the package() function in your PKGBUILD after installation:

rm -rf "$pkgdir"/usr/lib/python?.??/site-packages/test

https://github.com/PWZER/swagger-ui-py/blob/21c62701c12d7a5b47f340c1631500cdaa5ef00f/setup.py#L17