Skip to content

Commit 4e1b96c

Browse files
authored
chore: Slim down test matrix (#4856)
### Description Only test the lowest and highest supported version of some of our smaller integrations. #### Issues <!-- * resolves: #1234 * resolves: LIN-1234 --> #### Reminders - Please add tests to validate your changes, and lint your code using `tox -e linters`. - Add GH Issue ID _&_ Linear ID (if applicable) - PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`) - For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
1 parent d9811fe commit 4e1b96c

File tree

5 files changed

+24
-105
lines changed

5 files changed

+24
-105
lines changed

.github/workflows/test-integrations-graphql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
32+
python-version: ["3.6","3.8","3.9","3.10","3.11","3.12","3.13"]
3333
# python3.6 reached EOL and is no longer being supported on
3434
# new versions of hosted runners on Github Actions
3535
# ubuntu-20.04 is the last version that supported python3.6

scripts/populate_tox/config.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@
2828
"*": ["fastapi", "flask", "httpx"],
2929
},
3030
"python": ">=3.8",
31+
"num_versions": 2,
3132
},
3233
"arq": {
3334
"package": "arq",
3435
"deps": {
3536
"*": ["async-timeout", "pytest-asyncio", "fakeredis>=2.2.0,<2.8"],
3637
"<=0.23": ["pydantic<2"],
3738
},
39+
"num_versions": 2,
3840
},
3941
"asyncpg": {
4042
"package": "asyncpg",
@@ -46,6 +48,7 @@
4648
"beam": {
4749
"package": "apache-beam",
4850
"python": ">=3.7",
51+
"num_versions": 2,
4952
},
5053
"boto3": {
5154
"package": "boto3",
@@ -71,9 +74,11 @@
7174
"deps": {
7275
"*": ["pytest-chalice"],
7376
},
77+
"num_versions": 2,
7478
},
7579
"clickhouse_driver": {
7680
"package": "clickhouse-driver",
81+
"num_versions": 2,
7782
},
7883
"cohere": {
7984
"package": "cohere",
@@ -100,6 +105,7 @@
100105
},
101106
"dramatiq": {
102107
"package": "dramatiq",
108+
"num_versions": 2,
103109
},
104110
"falcon": {
105111
"package": "falcon",
@@ -135,6 +141,7 @@
135141
},
136142
"gql": {
137143
"package": "gql[all]",
144+
"num_versions": 2,
138145
},
139146
"graphene": {
140147
"package": "graphene",
@@ -171,6 +178,7 @@
171178
},
172179
"huey": {
173180
"package": "huey",
181+
"num_versions": 2,
174182
},
175183
"huggingface_hub": {
176184
"package": "huggingface_hub",
@@ -204,6 +212,7 @@
204212
},
205213
"launchdarkly": {
206214
"package": "launchdarkly-server-sdk",
215+
"num_versions": 2,
207216
},
208217
"litestar": {
209218
"package": "litestar",
@@ -214,6 +223,7 @@
214223
},
215224
"loguru": {
216225
"package": "loguru",
226+
"num_versions": 2,
217227
},
218228
"openai-base": {
219229
"package": "openai",
@@ -242,9 +252,11 @@
242252
},
243253
"openfeature": {
244254
"package": "openfeature-sdk",
255+
"num_versions": 2,
245256
},
246257
"pure_eval": {
247258
"package": "pure_eval",
259+
"num_versions": 2,
248260
},
249261
"pymongo": {
250262
"package": "pymongo",
@@ -271,6 +283,7 @@
271283
],
272284
"py3.8": ["taskgroup==0.0.0a4"],
273285
},
286+
"num_versions": 2,
274287
},
275288
"ray": {
276289
"package": "ray",
@@ -288,6 +301,7 @@
288301
},
289302
"redis_py_cluster_legacy": {
290303
"package": "redis-py-cluster",
304+
"num_versions": 2,
291305
},
292306
"requests": {
293307
"package": "requests",
@@ -352,19 +366,22 @@
352366
},
353367
"python": "<=3.11",
354368
"include": "!=2.0.0a1,!=2.0.0a2", # these are not relevant as there will never be a stable 2.0 release (starlite continues as litestar)
369+
"num_versions": 2,
355370
},
356371
"statsig": {
357372
"package": "statsig",
358373
"deps": {
359374
"*": ["typing_extensions"],
360375
},
376+
"num_versions": 2,
361377
},
362378
"strawberry": {
363379
"package": "strawberry-graphql[fastapi,flask]",
364380
"deps": {
365381
"*": ["httpx"],
366382
"<=0.262.5": ["pydantic<2.11"],
367383
},
384+
"num_versions": 2,
368385
},
369386
"tornado": {
370387
"package": "tornado",
@@ -375,6 +392,7 @@
375392
], # https://github.com/tornadoweb/tornado/pull/3382
376393
"py3.6": ["aiocontextvars"],
377394
},
395+
"num_versions": 2,
378396
},
379397
"trytond": {
380398
"package": "trytond",
@@ -385,8 +403,10 @@
385403
},
386404
"typer": {
387405
"package": "typer",
406+
"num_versions": 2,
388407
},
389408
"unleash": {
390409
"package": "UnleashClient",
410+
"num_versions": 2,
391411
},
392412
}

0 commit comments

Comments
 (0)