Skip to content

Commit 495e4c5

Browse files
authored
Fix CI and test with python 3.13 (#368)
1 parent 61eecd7 commit 495e4c5

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99

1010
jobs:
1111
test:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
strategy:
1414
matrix:
1515
py:
@@ -19,6 +19,7 @@ jobs:
1919
- { version: "3.10", tox: "310" }
2020
- { version: "3.11", tox: "311" }
2121
- { version: "3.12", tox: "312" }
22+
- { version: "3.13", tox: "313" }
2223
env:
2324
run-matrix-combo: ${{ matrix.py.version }}
2425

@@ -44,7 +45,7 @@ jobs:
4445
-f py${{ matrix.py.tox }}-ci
4546
4647
lint:
47-
runs-on: ubuntu-latest
48+
runs-on: ubuntu-22.04
4849
strategy:
4950
matrix:
5051
target: [lint-ci, docs-ci, mypy-ci]

opentelemetry-exporter-gcp-monitoring/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers =
2020
Programming Language :: Python :: 3.10
2121
Programming Language :: Python :: 3.11
2222
Programming Language :: Python :: 3.12
23+
Programming Language :: Python :: 3.13
2324

2425
[options]
2526
python_requires = >=3.7

opentelemetry-exporter-gcp-trace/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers =
2020
Programming Language :: Python :: 3.10
2121
Programming Language :: Python :: 3.11
2222
Programming Language :: Python :: 3.12
23+
Programming Language :: Python :: 3.13
2324

2425
[options]
2526
python_requires = >=3.7

opentelemetry-propagator-gcp/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers =
2020
Programming Language :: Python :: 3.10
2121
Programming Language :: Python :: 3.11
2222
Programming Language :: Python :: 3.12
23+
Programming Language :: Python :: 3.13
2324

2425
[options]
2526
python_requires = >=3.7

opentelemetry-resourcedetector-gcp/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers =
2020
Programming Language :: Python :: 3.10
2121
Programming Language :: Python :: 3.11
2222
Programming Language :: Python :: 3.12
23+
Programming Language :: Python :: 3.13
2324

2425
[options]
2526
python_requires = >=3.7

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires =
55
tox>=4
66
envlist =
77
; Add the `ci` factor to any env that should be running during CI.
8-
py3{7,8,9,10,11,12}-ci-test-{cloudtrace,cloudmonitoring,propagator,resourcedetector}
8+
py3{7,8,9,10,11,12,13}-ci-test-{cloudtrace,cloudmonitoring,propagator,resourcedetector}
99
{lint,mypy}-ci-{cloudtrace,cloudmonitoring,propagator,resourcedetector}
1010
docs-ci
1111

@@ -58,7 +58,7 @@ setenv =
5858
propagator: PACKAGE_NAME = opentelemetry-propagator-gcp
5959
resourcedetector: PACKAGE_NAME = opentelemetry-resourcedetector-gcp
6060

61-
[testenv:py3{7,8,9,10,11,12}-ci-test-{cloudtrace,cloudmonitoring,propagator,resourcedetector}]
61+
[testenv:py3{7,8,9,10,11,12,13}-ci-test-{cloudtrace,cloudmonitoring,propagator,resourcedetector}]
6262
deps =
6363
; editable install the package itself
6464
-e {toxinidir}/{env:PACKAGE_NAME}

0 commit comments

Comments
 (0)