Skip to content

Commit cdae489

Browse files
authored
Run python 3.12 in CI (#1701)
1 parent fb8ecc0 commit cdae489

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
token: ${{ steps.get_token.outputs.token }}
3838
- uses: actions/setup-python@v4
3939
with:
40-
python-version: '3.11'
40+
python-version: '3.12'
4141
- name: Install pre-commit
4242
run: python -m pip install pre-commit
4343
- name: set PY
@@ -74,7 +74,7 @@ jobs:
7474
test:
7575
strategy:
7676
matrix:
77-
python-version: ["3.7", "3.11"]
77+
python-version: ["3.7", "3.12"]
7878
platform: [ubuntu-latest, macos-latest] # windows-latest
7979
# test only latest version on macos and windows
8080
exclude:
@@ -112,7 +112,7 @@ jobs:
112112
- name: Install Python
113113
uses: actions/setup-python@v4
114114
with:
115-
python-version: "3.11"
115+
python-version: "3.12"
116116
cache: "pip"
117117
- name: Upgrade pip
118118
run: |

.github/workflows/test_integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
repo: datadog-api-spec
5757
status: pending
5858
context: integration
59-
- name: Set up Python 3.11
59+
- name: Set up Python 3.12
6060
uses: actions/setup-python@v4
6161
with:
62-
python-version: "3.11"
62+
python-version: "3.12"
6363
cache: "pip"
6464
- name: Upgrade pip
6565
run: |

examples/v2/incidents/SearchIncidents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
with ApiClient(configuration) as api_client:
1111
api_instance = IncidentsApi(api_client)
1212
response = api_instance.search_incidents(
13-
query="state:(active OR stable OR resolved)",
13+
query="state:(active OR stable OR resolved)&from_ts=1693233872794&to_ts=1695912272794",
1414
)
1515

1616
print(response)

0 commit comments

Comments
 (0)