Skip to content

Commit a472c54

Browse files
Re-enable flask master tests. (#447)
* Re-enable flask master tests. * Upgrade pypy3 to pypy3.7 * Reorder python install order * Reset graphql to pypy37 * Fix flaskmaster pypy version * Force all pypy3 tests to pypy36 Co-authored-by: Tim Pansino <[email protected]> Co-authored-by: Timothy Pansino <[email protected]>
1 parent 6c8e8a9 commit a472c54

File tree

2 files changed

+106
-43
lines changed

2 files changed

+106
-43
lines changed

.github/workflows/tests.yml

+65
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ jobs:
8989
python-version: "pypy-3.6"
9090
architecture: x64
9191

92+
- uses: actions/setup-python@v3
93+
with:
94+
python-version: "pypy-3.7"
95+
architecture: x64
96+
9297
- uses: actions/setup-python@v3
9398
with:
9499
python-version: "pypy-2.7"
@@ -164,6 +169,11 @@ jobs:
164169
python-version: "pypy-3.6"
165170
architecture: x64
166171

172+
- uses: actions/setup-python@v3
173+
with:
174+
python-version: "pypy-3.7"
175+
architecture: x64
176+
167177
- uses: actions/setup-python@v3
168178
with:
169179
python-version: "pypy-2.7"
@@ -239,6 +249,11 @@ jobs:
239249
python-version: "pypy-3.6"
240250
architecture: x64
241251

252+
- uses: actions/setup-python@v3
253+
with:
254+
python-version: "pypy-3.7"
255+
architecture: x64
256+
242257
- uses: actions/setup-python@v3
243258
with:
244259
python-version: "pypy-2.7"
@@ -335,6 +350,11 @@ jobs:
335350
python-version: "pypy-3.6"
336351
architecture: x64
337352

353+
- uses: actions/setup-python@v3
354+
with:
355+
python-version: "pypy-3.7"
356+
architecture: x64
357+
338358
- uses: actions/setup-python@v3
339359
with:
340360
python-version: "pypy-2.7"
@@ -428,6 +448,11 @@ jobs:
428448
python-version: "pypy-3.6"
429449
architecture: x64
430450

451+
- uses: actions/setup-python@v3
452+
with:
453+
python-version: "pypy-3.7"
454+
architecture: x64
455+
431456
- uses: actions/setup-python@v3
432457
with:
433458
python-version: "pypy-2.7"
@@ -516,6 +541,11 @@ jobs:
516541
python-version: "pypy-3.6"
517542
architecture: x64
518543

544+
- uses: actions/setup-python@v3
545+
with:
546+
python-version: "pypy-3.7"
547+
architecture: x64
548+
519549
- uses: actions/setup-python@v3
520550
with:
521551
python-version: "pypy-2.7"
@@ -606,6 +636,11 @@ jobs:
606636
python-version: "pypy-3.6"
607637
architecture: x64
608638

639+
- uses: actions/setup-python@v3
640+
with:
641+
python-version: "pypy-3.7"
642+
architecture: x64
643+
609644
- uses: actions/setup-python@v3
610645
with:
611646
python-version: "pypy-2.7"
@@ -694,6 +729,11 @@ jobs:
694729
python-version: "pypy-3.6"
695730
architecture: x64
696731

732+
- uses: actions/setup-python@v3
733+
with:
734+
python-version: "pypy-3.7"
735+
architecture: x64
736+
697737
- uses: actions/setup-python@v3
698738
with:
699739
python-version: "pypy-2.7"
@@ -783,6 +823,11 @@ jobs:
783823
python-version: "pypy-3.6"
784824
architecture: x64
785825

826+
- uses: actions/setup-python@v3
827+
with:
828+
python-version: "pypy-3.7"
829+
architecture: x64
830+
786831
- uses: actions/setup-python@v3
787832
with:
788833
python-version: "pypy-2.7"
@@ -871,6 +916,11 @@ jobs:
871916
python-version: "pypy-3.6"
872917
architecture: x64
873918

919+
- uses: actions/setup-python@v3
920+
with:
921+
python-version: "pypy-3.7"
922+
architecture: x64
923+
874924
- uses: actions/setup-python@v3
875925
with:
876926
python-version: "pypy-2.7"
@@ -961,6 +1011,11 @@ jobs:
9611011
python-version: "pypy-3.6"
9621012
architecture: x64
9631013

1014+
- uses: actions/setup-python@v3
1015+
with:
1016+
python-version: "pypy-3.7"
1017+
architecture: x64
1018+
9641019
- uses: actions/setup-python@v3
9651020
with:
9661021
python-version: "pypy-2.7"
@@ -1051,6 +1106,11 @@ jobs:
10511106
python-version: "pypy-3.6"
10521107
architecture: x64
10531108

1109+
- uses: actions/setup-python@v3
1110+
with:
1111+
python-version: "pypy-3.7"
1112+
architecture: x64
1113+
10541114
- uses: actions/setup-python@v3
10551115
with:
10561116
python-version: "pypy-2.7"
@@ -1138,6 +1198,11 @@ jobs:
11381198
python-version: "pypy-3.6"
11391199
architecture: x64
11401200

1201+
- uses: actions/setup-python@v3
1202+
with:
1203+
python-version: "pypy-3.7"
1204+
architecture: x64
1205+
11411206
- uses: actions/setup-python@v3
11421207
with:
11431208
python-version: "pypy-2.7"

tox.ini

+41-43
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
; framework_aiohttp-aiohttp01: aiohttp<2
1717
; framework_aiohttp-aiohttp0202: aiohttp<2.3
1818
; 3. Python version required. Uses the standard tox definitions. (https://tox.readthedocs.io/en/latest/config.html#tox-environments)
19-
; Examples: py27,py36,py37,py38,py39,pypy,pypy3
19+
; Examples: py27,py36,py37,py38,py39,pypy,pypy36
2020
; 4. Library and version (Optional). Used when testing multiple versions of the library, and may be omitted when only testing a single version.
2121
; Versions should be specified with 2 digits per version number, so <3 becomes 02 and <3.5 becomes 0304. latest and master are also acceptable versions.
2222
; Examples: uvicorn03, CherryPy0302, uvicornlatest
@@ -28,7 +28,7 @@
2828
; 5. With or without New Relic C extensions (Optional). Used for testing agent features.
2929
; Examples: with_extensions, without_extensions
3030
; envlist =
31-
; python-agent_features-pypy3-without_extensions,
31+
; python-agent_features-pypy36-without_extensions,
3232
; python-agent_streaming-py37-{with,without}_extensions,
3333
;
3434
; Full Format:
@@ -51,98 +51,96 @@ envlist =
5151
python-adapter_uvicorn-{py36}-uvicorn014
5252
python-adapter_uvicorn-{py37,py38,py39,py310}-uvicornlatest,
5353
python-agent_features-{py27,py36,py37,py38,py39,py310}-{with,without}_extensions,
54-
python-agent_features-{pypy,pypy3}-without_extensions,
54+
python-agent_features-{pypy,pypy36}-without_extensions,
5555
python-agent_streaming-py27-grpc0125-{with,without}_extensions,
5656
python-agent_streaming-{py36,py37,py38,py39,py310}-{with,without}_extensions,
5757
python-agent_unittests-{py27,py36,py37,py38,py39,py310}-{with,without}_extensions,
58-
python-agent_unittests-{pypy,pypy3}-without_extensions,
59-
python-application_celery-{py27,py36,py37,py38,py39,py310,pypy,pypy3},
58+
python-agent_unittests-{pypy,pypy36}-without_extensions,
59+
python-application_celery-{py27,py36,py37,py38,py39,py310,pypy,pypy36},
6060
gearman-application_gearman-{py27,pypy},
6161
python-component_djangorestframework-py27-djangorestframework0300,
6262
python-component_djangorestframework-{py36,py37,py38,py39,py310}-djangorestframeworklatest,
63-
python-component_flask_rest-{py27,py36,py37,py38,py39,pypy,pypy3},
63+
python-component_flask_rest-{py27,py36,py37,py38,py39,pypy,pypy36},
6464
python-component_graphqlserver-{py36,py37,py38,py39,py310},
6565
python-component_tastypie-{py27,pypy}-tastypie0143,
66-
python-component_tastypie-{py36,py37,py38,py39,pypy3}-tastypie{0143,latest},
67-
python-coroutines_asyncio-{py36,py37,py38,py39,py310,pypy3},
66+
python-component_tastypie-{py36,py37,py38,py39,pypy36}-tastypie{0143,latest},
67+
python-coroutines_asyncio-{py36,py37,py38,py39,py310,pypy36},
6868
python-cross_agent-{py27,py36,py37,py38,py39,py310}-{with,without}_extensions,
6969
python-cross_agent-pypy-without_extensions,
7070
postgres-datastore_asyncpg-{py36,py37,py38,py39,py310},
7171
memcached-datastore_bmemcached-{pypy,py27,py36,py37,py38,py39,py310}-memcached030,
7272
elasticsearchserver01-datastore_pyelasticsearch-{py27,py36,pypy},
7373
elasticsearchserver01-datastore_elasticsearch-py27-elasticsearch{00,01,02,05},
74-
elasticsearchserver07-datastore_elasticsearch-{py27,py36,py37,py38,py39,py310,pypy,pypy3}-elasticsearch{07},
75-
memcached-datastore_memcache-{py27,py36,py37,py38,py39,py310,pypy,pypy3}-memcached01,
74+
elasticsearchserver07-datastore_elasticsearch-{py27,py36,py37,py38,py39,py310,pypy,pypy36}-elasticsearch{07},
75+
memcached-datastore_memcache-{py27,py36,py37,py38,py39,py310,pypy,pypy36}-memcached01,
7676
mysql-datastore_mysql-mysql080023-py27,
7777
mysql-datastore_mysql-mysqllatest-{py36,py37,py38,py39,py310},
7878
postgres-datastore_postgresql-{py36,py37,py38,py39},
7979
postgres-datastore_psycopg2-{py27,py36,py37,py38,py39,py310}-psycopg20208,
8080
postgres-datastore_psycopg2cffi-{py27,py36,pypy}-psycopg2cffi{0207,0208},
8181
postgres-datastore_psycopg2cffi-{py37,py38,py39,py310}-psycopg2cffi0208,
8282
memcached-datastore_pylibmc-{py27,py36,py37},
83-
memcached-datastore_pymemcache-{py27,py36,py37,py38,py39,py310,pypy,pypy3},
83+
memcached-datastore_pymemcache-{py27,py36,py37,py38,py39,py310,pypy,pypy36},
8484
mongodb-datastore_pymongo-{py27,py36,py37,py38,py39,py310,pypy}-pymongo{03},
85-
mysql-datastore_pymysql-{py27,py36,py37,py38,py39,py310,pypy,pypy3},
86-
solr-datastore_pysolr-{py27,py36,py37,py38,py39,py310,pypy,pypy3},
87-
redis-datastore_redis-{py27,py36,py37,py38,pypy,pypy3}-redis03,
88-
redis-datastore_redis-{py36,py37,py38,py39,py310,pypy3}-redis{0400,latest},
89-
redis-datastore_aredis-{py36,py37,py38,py39,pypy3}-aredislatest,
85+
mysql-datastore_pymysql-{py27,py36,py37,py38,py39,py310,pypy,pypy36},
86+
solr-datastore_pysolr-{py27,py36,py37,py38,py39,py310,pypy,pypy36},
87+
redis-datastore_redis-{py27,py36,py37,py38,pypy,pypy36}-redis03,
88+
redis-datastore_redis-{py36,py37,py38,py39,py310,pypy36}-redis{0400,latest},
89+
redis-datastore_aredis-{py36,py37,py38,py39,pypy36}-aredislatest,
9090
solr-datastore_solrpy-{py27,pypy}-solrpy{00,01},
91-
python-datastore_sqlite-{py27,py36,py37,py38,py39,py310,pypy,pypy3},
91+
python-datastore_sqlite-{py27,py36,py37,py38,py39,py310,pypy,pypy36},
9292
memcached-datastore_umemcache-{py27,pypy},
9393
python-external_boto3-{py27,py36,py37,py38,py39,py310}-boto01,
9494
python-external_botocore-{py27,py36,py37,py38,py39,py310},
9595
python-external_feedparser-py27-feedparser{05,06},
9696
python-external_http-{py27,py36,py37,py38,py39,py310,pypy},
97-
python-external_httplib-{py27,py36,py37,py38,py39,py310,pypy,pypy3},
98-
python-external_httplib2-{py27,py36,py37,py38,py39,py310,pypy,pypy3},
97+
python-external_httplib-{py27,py36,py37,py38,py39,py310,pypy,pypy36},
98+
python-external_httplib2-{py27,py36,py37,py38,py39,py310,pypy,pypy36},
9999
python-external_httpx-{py36,py37,py38,py39,py310},
100-
python-external_requests-{py27,py36,py37,py38,py39,py310,pypy,pypy3},
100+
python-external_requests-{py27,py36,py37,py38,py39,py310,pypy,pypy36},
101101
python-external_urllib3-{py27,py37,pypy}-urllib3{0109},
102-
python-external_urllib3-{py27,py36,py37,py38,py39,py310,pypy,pypy3}-urllib3latest,
103-
python-framework_aiohttp-{py36,py37,py38,py39,py310,pypy3}-aiohttp03,
102+
python-external_urllib3-{py27,py36,py37,py38,py39,py310,pypy,pypy36}-urllib3latest,
103+
python-framework_aiohttp-{py36,py37,py38,py39,py310,pypy36}-aiohttp03,
104104
python-framework_ariadne-{py36,py37,py38,py39,py310}-ariadnelatest,
105105
python-framework_ariadne-py37-ariadne{0011,0012,0013},
106106
python-framework_bottle-py27-bottle{0008,0009,0010},
107-
python-framework_bottle-{py27,py36,py37,py38,py39,pypy3}-bottle{0011,0012},
107+
python-framework_bottle-{py27,py36,py37,py38,py39,pypy36}-bottle{0011,0012},
108108
python-framework_bottle-py310-bottle0012,
109109
python-framework_bottle-pypy-bottle{0008,0009,0010,0011,0012},
110-
python-framework_cherrypy-{py36,py37,py38,py39,py310,pypy3}-CherryPy18,
110+
python-framework_cherrypy-{py36,py37,py38,py39,py310,pypy36}-CherryPy18,
111111
python-framework_cherrypy-{py36,py37}-CherryPy0302,
112-
python-framework_cherrypy-pypy3-CherryPy0303,
112+
python-framework_cherrypy-pypy36-CherryPy0303,
113113
python-framework_django-{pypy,py27}-Django0103,
114114
python-framework_django-{pypy,py27,py37}-Django0108,
115115
python-framework_django-{py39}-Django{0200,0201,0202,0300,0301,latest},
116116
python-framework_django-{py36,py37,py38,py39,py310}-Django0302,
117-
python-framework_falcon-{py27,py36,py37,py38,py39,pypy,pypy3}-falcon0103,
118-
python-framework_falcon-{py36,py37,py38,py39,py310,pypy3}-falcon{0200,master},
117+
python-framework_falcon-{py27,py36,py37,py38,py39,pypy,pypy36}-falcon0103,
118+
python-framework_falcon-{py36,py37,py38,py39,py310,pypy36}-falcon{0200,master},
119119
python-framework_fastapi-{py36,py37,py38,py39,py310},
120120
python-framework_flask-{pypy,py27}-flask0012,
121-
python-framework_flask-{pypy,py27,py36,py37,py38,py39,py310,pypy3}-flask0101,
122-
;temporarily disabling tests on flask master
123-
;python-framework_flask-{py37,py38,py39,py310,pypy3}-flask{latest,master},
124-
python-framework_flask-{py37,py38,py39,py310,pypy3}-flask{latest},
121+
python-framework_flask-{pypy,py27,py36,py37,py38,py39,py310,pypy36}-flask0101,
122+
python-framework_flask-{py37,py38,py39,py310,pypy37}-flask{latest,master},
125123
python-framework_graphene-{py36,py37,py38,py39,py310}-graphenelatest,
126-
python-framework_graphene-{py27,py36,py37,py38,py39,pypy,pypy3}-graphene{0200,0201},
124+
python-framework_graphene-{py27,py36,py37,py38,py39,pypy,pypy36}-graphene{0200,0201},
127125
python-framework_graphene-py310-graphene0201,
128126
python-framework_graphql-{py27,py36,py37,py38,py39,py310,pypy,pypy36}-graphql02,
129127
python-framework_graphql-{py36,py37,py38,py39,py310,pypy36}-graphql03,
130128
python-framework_graphql-py37-graphql{0202,0203,0300,0301,0302,master},
131129
grpc-framework_grpc-{py27,py36}-grpc0125,
132130
grpc-framework_grpc-{py36,py37,py38,py39,py310}-grpclatest,
133131
python-framework_pyramid-{pypy,py27,py38}-Pyramid0104,
134-
python-framework_pyramid-{pypy,py27,pypy3,py36,py37,py38,py39,py310}-Pyramid0110-cornice,
135-
;temporarily disabling pypy3 on pyramid master
132+
python-framework_pyramid-{pypy,py27,pypy36,py36,py37,py38,py39,py310}-Pyramid0110-cornice,
133+
;temporarily disabling pypy36 on pyramid master
136134
python-framework_pyramid-{py37,py38,py39,py310}-Pyramidmaster,
137-
python-framework_sanic-{py38,pypy3}-sanic{190301,1906,1812,1912,200904,210300},
138-
python-framework_sanic-{py36,py37,py38,py310,pypy3}-saniclatest,
139-
python-framework_starlette-{py36,py310,pypy3}-starlette{0014,0015,0019},
140-
python-framework_starlette-{py36,py37,py38,py39,py310,pypy3}-starlette{latest},
135+
python-framework_sanic-{py38,pypy36}-sanic{190301,1906,1812,1912,200904,210300},
136+
python-framework_sanic-{py36,py37,py38,py310,pypy36}-saniclatest,
137+
python-framework_starlette-{py36,py310,pypy36}-starlette{0014,0015,0019},
138+
python-framework_starlette-{py36,py37,py38,py39,py310,pypy36}-starlette{latest},
141139
python-framework_strawberry-{py37,py38,py39,py310}-strawberrylatest,
142-
libcurl-framework_tornado-{py36,py37,py38,py39,py310,pypy3}-tornado0600,
140+
libcurl-framework_tornado-{py36,py37,py38,py39,py310,pypy36}-tornado0600,
143141
libcurl-framework_tornado-{py37,py38,py39,py310}-tornadomaster,
144-
rabbitmq-messagebroker_pika-{py27,py36,py37,py38,py39,pypy,pypy3}-pika0.13,
145-
rabbitmq-messagebroker_pika-{py27,py36,py37,py38,py39,py310,pypy,pypy3}-pikalatest,
142+
rabbitmq-messagebroker_pika-{py27,py36,py37,py38,py39,pypy,pypy36}-pika0.13,
143+
rabbitmq-messagebroker_pika-{py27,py36,py37,py38,py39,py310,pypy,pypy36}-pikalatest,
146144
python-template_mako-{py27,py36,py37,py38,py39,py310}
147145

148146
[pytest]
@@ -154,7 +152,7 @@ usefixtures =
154152
[testenv]
155153
deps =
156154
# Base Dependencies
157-
{py36,py37,py38,py39,py310,pypy3}: pytest==6.2.5
155+
{py36,py37,py38,py39,py310,pypy36}: pytest==6.2.5
158156
{py27,pypy}: pytest==4.6.11
159157
iniconfig
160158
pytest-cov
@@ -192,7 +190,7 @@ deps =
192190
component_graphqlserver: jinja2<3.1
193191
component_tastypie-tastypie0143: django-tastypie<0.14.4
194192
component_tastypie-{py27,pypy}-tastypie0143: django<1.12
195-
component_tastypie-{py36,py37,py38,py39,pypy3}-tastypie0143: django<3.0.1
193+
component_tastypie-{py36,py37,py38,py39,pypy36}-tastypie0143: django<3.0.1
196194
component_tastypie-tastypielatest: django-tastypie
197195
component_tastypie-tastypielatest: django
198196
coroutines_asyncio: uvloop

0 commit comments

Comments
 (0)