I've tried the proposed patch in the discussion which resolves a number
of the test failures, leaving the following outstanding in fastapi:

=========================== short test summary info ============================
FAILED tests/test_dependency_contextmanager.py::test_sync_raise_other - pytes...
FAILED tests/test_dependency_contextmanager.py::test_async_raise_server_error
FAILED tests/test_dependency_contextmanager.py::test_background_tasks - pytes...
FAILED tests/test_dependency_contextmanager.py::test_sync_raise_server_error
FAILED tests/test_dependency_contextmanager.py::test_sync_async_raise_raises
FAILED tests/test_dependency_contextmanager.py::test_sync_sync_raise_raises
FAILED tests/test_dependency_contextmanager.py::test_sync_context_b - pytest....
FAILED tests/test_dependency_contextmanager.py::test_sync_background_tasks - ...
========== 8 failed, 1845 passed, 75 skipped, 17 deselected in 13.52s ==========

As detailed in the discussions, there are some other areas that need
resolving in the starlette codebase to resolve fully.

** Tags added: ftbfs

** Also affects: starlette (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: python-anyio (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: fastapi (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Changed in: fastapi (Ubuntu Oracular)
       Status: New => Triaged

** Changed in: fastapi (Ubuntu Oracular)
   Importance: Undecided => High

** Changed in: python-anyio (Ubuntu Oracular)
       Status: New => Triaged

** Changed in: python-anyio (Ubuntu Oracular)
   Importance: Undecided => High

** Changed in: starlette (Ubuntu Oracular)
       Status: New => Triaged

** Changed in: starlette (Ubuntu Oracular)
   Importance: Undecided => High

** Summary changed:

- fastapi FTBFS on oracular due to failing tests
+ fastapi FTBFS on oracular due to failing tests - ResourceWarning: Unclosed 
<MemoryObjectReceiveStream>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2080016

Title:
  fastapi FTBFS on oracular due to failing tests - ResourceWarning:
  Unclosed <MemoryObjectReceiveStream>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fastapi/+bug/2080016/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to