Skip to content

Commit 8c1d99a

Browse files
authored
chore(graphene,graphql): add Python 3.11 testing for graphene/graphql tests (#5037)
## Checklist Blocked by #4854. This change adds Python 3.11 testing to our graphql and graphene test suites. - [x] Change(s) are motivated and described in the PR description. - [x] Testing strategy is described if automated tests are not included in the PR. - [x] Risk is outlined (performance impact, potential for breakage, maintainability, etc). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] [Library release note guidelines](https://ddtrace.readthedocs.io/en/stable/contributing.html#Release-Note-Guidelines) are followed. - [x] Documentation is included (in-code, generated user docs, [public corp docs](https://github.com/DataDog/documentation/)). ## Reviewer Checklist - [x] Title is accurate. - [x] No unnecessary changes are introduced. - [x] Description motivates each change. - [x] Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes unless absolutely necessary. - [x] Testing strategy adequately addresses listed risk(s). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] Release note makes sense to a user of the library.
1 parent 8ece878 commit 8c1d99a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
features:
3+
- |
4+
graphene: Adds support for Python 3.11.
5+
- |
6+
graphql: Adds support for Python 3.11.

riotfile.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,8 +1790,7 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
17901790
},
17911791
),
17921792
Venv(
1793-
pys=select_pys(min_version="3.6", max_version="3.10"),
1794-
# FIXME[bytecode-3.11]: depends on bytecode module which doesn't yet support Python 3.11
1793+
pys=select_pys(min_version="3.6"),
17951794
pkgs={
17961795
"graphene": ["~=2.1.9", "~=3.0.0", latest],
17971796
},
@@ -1811,8 +1810,7 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
18111810
},
18121811
),
18131812
Venv(
1814-
pys=select_pys(min_version="3.6", max_version="3.10"),
1815-
# FIXME[bytecode-3.11]: depends on bytecode module which doesn't yet support Python 3.11
1813+
pys=select_pys(min_version="3.6"),
18161814
pkgs={
18171815
"graphql-core": ["~=2.2.0", "~=2.3.0", "~=3.0.0", "~=3.1.0", "~=3.2.0", latest],
18181816
},

0 commit comments

Comments
 (0)