FS#75659 - [python-openapi-spec-validator] missing dependency on python-setuptools

Attached to Project: Community Packages
Opened by Qontinuum (qontinuum) - Sunday, 21 August 2022, 06:58 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 27 August 2022, 17:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The python-openapi-spec-validator packages lacks dependency on python-setuptools

$ openapi-spec-validator
Traceback (most recent call last):
File "/usr/bin/openapi-spec-validator", line 5, in <module>
from openapi_spec_validator.__main__ import main
File "/usr/lib/python3.10/site-packages/openapi_spec_validator/__init__.py", line 6, in <module>
from openapi_spec_validator.schemas import get_openapi_schema
File "/usr/lib/python3.10/site-packages/openapi_spec_validator/schemas.py", line 4, in <module>
from pkg_resources import resource_filename
ModuleNotFoundError: No module named 'pkg_resources'

This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 27 August 2022, 17:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-openapi-spec-validator 0.4.0-2
Comment by Toolybird (Toolybird) - Sunday, 21 August 2022, 22:14 GMT
Orphaned. @arojas gratefully touched this last time so thank you!

Loading...