Revisions of python-asgiref

Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 8)
  use _get_running_loop instead then:
  ../../BUILDROOT/python-asgiref-3.5.2-150400.20.1.x86_64/usr/lib/python3.6/site-packages/asgiref/sync.py:137: in __init__
      self.main_event_loop = asyncio.get_running_loop()
  E   AttributeError: module 'asyncio' has no attribute 'get_running_loop'
Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 7)
Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 6)
Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 5)
Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 4)
- Fix non existing get_running_loop in asyncio in python 3.7 and earlier
  use _get_running_loop instead then
Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 3)
Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 2)
- Add python-contextvars BuildRequires/Dependency to build on
  15.4 again. Fixes e.g.:
  tests/test_local.py:7: in <module>
      from asgiref.sync import async_to_sync, sync_to_async
  ../../BUILDROOT/python-asgiref-3.5.2-150400.15.1.x86_64/usr/lib/python3.6/site-packages/asgiref/sync.py:3: in <module>
      import contextvars
  E   ModuleNotFoundError: No module named 'contextvars'
Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 1)
Displaying all 8 revisions
openSUSE Build Service is sponsored by