lepture / authlib

The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
https://authlib.org/
BSD 3-Clause "New" or "Revised" License
4.45k stars 445 forks source link

tests: move pytest-asyncio dependency in tests/requirements-base.txt #575

Closed azmeuk closed 12 months ago

azmeuk commented 12 months ago

This prevents this warnings on some tox test environments:

.tox/py311-django/lib/python3.11/site-packages/_pytest/config/__init__.py:1373
  /home/eloi/dev/authlib/.tox/py311-django/lib/python3.11/site-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: asyncio_mode

    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

These warnings appears because this configuration is shared across all the tox environments:

https://github.com/lepture/authlib/blob/eaa51a8d65f21eff98ed0eb1b86b07801d68c98d/tox.ini#L27-L28