[Bug 257334] [NEW PORT] devel/py-asgi-lifespan: Programmatic startup/shutdown of ASGI apps

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Jan 2022 13:29:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257334

--- Comment #4 from Hiroki Tagato <tagattie@FreeBSD.org> ---
The build is fine.

I got the following message when I ran "make test" in a clean jail:

==================================== ERRORS
====================================
____________________ ERROR collecting tests/test_manager.py
____________________
ImportError while importing test module
'/wrkdirs/usr/ports/devel/py-asgi-lifespan/work-py38/asgi-lifespan-1.0.1/tests/test_manager.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_manager.py:5: in <module>
    from starlette.routing import Router
E   ModuleNotFoundError: No module named 'starlette'
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection
!!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.07 seconds
============================

Probably the "starlette" python module is missing.

Could you make it sure that all necessary modules are listed in TEST_DEPENDS?

-- 
You are receiving this mail because:
You are the assignee for the bug.