From 1575a240f6b1c46c7248d8ace492acc811fb2c59 Mon Sep 17 00:00:00 2001 From: Lalleh Rafeei <84813886+lrafeei@users.noreply.github.com> Date: Wed, 13 Dec 2023 10:56:16 -0800 Subject: [PATCH] Update flaskrestx testing (#1004) * Update flaskrestx testing * Update tastypie testing * Reformat tox * Fix tox typo --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- tox.ini | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 5ee9cbdb27..1892876fac 100644 --- a/tox.ini +++ b/tox.ini @@ -91,8 +91,9 @@ envlist = python-agent_unittests-{pypy27,pypy38}-without_extensions, python-application_celery-{py27,py37,py38,py39,py310,py311,py312,pypy27,pypy38}, python-component_djangorestframework-{py37,py38,py39,py310,py311,py312}-djangorestframeworklatest, + python-component_flask_rest-py37-flaskrestx110, + python-component_flask_rest-{py38,py39,py310,py311,py312,pypy38}-flaskrestxlatest, python-component_flask_rest-{py27,pypy27}-flaskrestx051, - python-component_flask_rest-{py37,py38,py39,pypy38}-flaskrestxlatest, python-component_graphqlserver-{py37,py38,py39,py310,py311,py312}, python-component_tastypie-{py37,py38,py39,py310,py311,py312,pypy38}-tastypielatest, python-coroutines_asyncio-{py37,py38,py39,py310,py311,py312,pypy38}, @@ -198,21 +199,21 @@ deps = mlmodel_sklearn-scikitlearn0101: scipy<1.11.0 component_djangorestframework-djangorestframeworklatest: Django component_djangorestframework-djangorestframeworklatest: djangorestframework - component_flask_rest: flask component_flask_rest: flask-restful component_flask_rest: jinja2 component_flask_rest: itsdangerous component_flask_rest-flaskrestxlatest: flask-restx - ; Pin Flask version until flask-restx is updated to support v3 - component_flask_rest-flaskrestxlatest: flask<3.0 + component_flask_rest-flaskrestxlatest: flask + ; flask-restx only supports Flask v3 after flask-restx v1.3.0 + component_flask_rest-flaskrestx110: Flask<3.0 + component_flask_rest-flaskrestx110: flask-restx<1.2 + component_flask_rest-flaskrestx051: Flask<3.0 component_flask_rest-flaskrestx051: flask-restx<1.0 component_graphqlserver: graphql-server[sanic,flask]==3.0.0b5 component_graphqlserver: sanic>20 component_graphqlserver: Flask component_graphqlserver: markupsafe<2.1 component_graphqlserver: jinja2<3.1 - component_tastypie-{py37,py38,py39,py310,py311,py312,pypy38}-tastypie0143: django<3.0.1 - component_tastypie-{py37,py38,py39,py310,py311,py312,pypy38}-tastypie0143: asgiref<3.7.1 # asgiref==3.7.1 only suppport Python 3.10+ component_tastypie-tastypielatest: django-tastypie component_tastypie-tastypielatest: django<4.1 component_tastypie-tastypielatest: asgiref<3.7.1 # asgiref==3.7.1 only suppport Python 3.10+