faust-streaming / mode

Python AsyncIO Services
https://faust-streaming.github.io/mode/
Other
43 stars 16 forks source link

style(black): apply new format style from black #49

Closed manawasp closed 4 months ago

manawasp commented 4 months ago

Fix CI issue seen in the PR https://github.com/faust-streaming/mode/pull/48

(I preferred opened another PR to fix this)

manawasp commented 4 months ago

Thanks for the CI noticed some issue :

FAILED t/unit/test_services.py::test_Service::test_wait_first__propagates_exceptions - RuntimeError: Event loop is closed

I will take a look later, I believe there is a not pin dependency issue maybe related to pytest-asyncio if used.

manawasp commented 4 months ago

No pb !

I strongly believe fixing pytest-asyncio in test to 0.21.1 will fix the issue related to https://github.com/pytest-dev/pytest-asyncio/issues/706

EDIT:

I ran tests locally and got issue with the test test_secs_for_next_with_tz due to missing timezone "US/Pacific" but I'm not sure if the timezone source is Python internal or related to computer setup.