You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all many thanks for such awesome framework!
Just installed python 3.10.1 and Sanic updated to 21.9.3 in my project. The very first run of pytest was broken by deprication warning "The distutils package is deprecated and slated for removal in Python 3.12."
Full trace is
ImportError while loading conftest '/home/serge/my_api/tests/conftest.py'.
tests/conftest.py:13: in <module>
from app.api_server import create_app
app/api_server.py:7: in <module>
from sanic_openapi.openapi2 import openapi2_blueprint
venv3101/lib/python3.10/site-packages/sanic_openapi/__init__.py:1: in <module>
from .openapi2 import doc, openapi2_blueprint
venv3101/lib/python3.10/site-packages/sanic_openapi/openapi2/__init__.py:1: in <module>
from .blueprint import blueprint_factory
venv3101/lib/python3.10/site-packages/sanic_openapi/openapi2/blueprint.py:2: in <module>
from distutils.version import LooseVersion
../../.asdf/installs/python/3.10.1/lib/python3.10/distutils/__init__.py:19: in <module>
warnings.warn(_DEPRECATION_MESSAGE,
E DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
So for now I can not use Sanic-openapi with python 3.10, what makes my really sad.
Can it be updated asap?
The text was updated successfully, but these errors were encountered:
Hi there!
First of all many thanks for such awesome framework!
Just installed python 3.10.1 and Sanic updated to 21.9.3 in my project. The very first run of pytest was broken by deprication warning "The distutils package is deprecated and slated for removal in Python 3.12."
Full trace is
So for now I can not use Sanic-openapi with python 3.10, what makes my really sad.
Can it be updated asap?
The text was updated successfully, but these errors were encountered: