Skip to content

Commit 005d129

Browse files
committed
use 3.13 to run tox
1 parent 757ecf4 commit 005d129

18 files changed

Lines changed: 70 additions & 279 deletions

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,13 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.10","3.11","3.12","3.13","3.14","3.14t"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
41-
# Use Docker container only for Python 3.6
42-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4337
steps:
4438
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
46-
if: ${{ matrix.python-version != '3.6' }}
39+
- name: Setup Python (host for tox + tox-uv)
40+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4741
with:
48-
python-version: ${{ matrix.python-version }}
49-
allow-prereleases: true
42+
python-version: "3.13"
5043
- name: Setup Test Env
5144
run: |
5245
python -m pip install "coverage[toml]" tox tox-uv
@@ -61,14 +54,8 @@ jobs:
6154
run: |
6255
set -x # print commands that are executed
6356
./scripts/runtox.sh "py${{ matrix.python-version }}-pydantic_ai"
64-
- name: Generate coverage XML (Python 3.6)
65-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
66-
run: |
67-
export COVERAGE_RCFILE=.coveragerc36
68-
coverage combine .coverage-sentry-*
69-
coverage xml --ignore-errors
7057
- name: Generate coverage XML
71-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
58+
if: ${{ !cancelled() }}
7259
run: |
7360
coverage combine .coverage-sentry-*
7461
coverage xml

.github/workflows/test-integrations-ai-workflow.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,13 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.9","3.10","3.11","3.12","3.13","3.14"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
41-
# Use Docker container only for Python 3.6
42-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4337
steps:
4438
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
46-
if: ${{ matrix.python-version != '3.6' }}
39+
- name: Setup Python (host for tox + tox-uv)
40+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4741
with:
48-
python-version: ${{ matrix.python-version }}
49-
allow-prereleases: true
42+
python-version: "3.13"
5043
- name: Setup Test Env
5144
run: |
5245
python -m pip install "coverage[toml]" tox tox-uv
@@ -65,14 +58,8 @@ jobs:
6558
run: |
6659
set -x # print commands that are executed
6760
./scripts/runtox.sh "py${{ matrix.python-version }}-langgraph"
68-
- name: Generate coverage XML (Python 3.6)
69-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
70-
run: |
71-
export COVERAGE_RCFILE=.coveragerc36
72-
coverage combine .coverage-sentry-*
73-
coverage xml --ignore-errors
7461
- name: Generate coverage XML
75-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
62+
if: ${{ !cancelled() }}
7663
run: |
7764
coverage combine .coverage-sentry-*
7865
coverage xml

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,13 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
41-
# Use Docker container only for Python 3.6
42-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4337
steps:
4438
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
46-
if: ${{ matrix.python-version != '3.6' }}
39+
- name: Setup Python (host for tox + tox-uv)
40+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4741
with:
48-
python-version: ${{ matrix.python-version }}
49-
allow-prereleases: true
42+
python-version: "3.13"
5043
- name: Setup Test Env
5144
run: |
5245
python -m pip install "coverage[toml]" tox tox-uv
@@ -81,14 +74,8 @@ jobs:
8174
run: |
8275
set -x # print commands that are executed
8376
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-notiktoken"
84-
- name: Generate coverage XML (Python 3.6)
85-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
86-
run: |
87-
export COVERAGE_RCFILE=.coveragerc36
88-
coverage combine .coverage-sentry-*
89-
coverage xml --ignore-errors
9077
- name: Generate coverage XML
91-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
78+
if: ${{ !cancelled() }}
9279
run: |
9380
coverage combine .coverage-sentry-*
9481
coverage xml

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,17 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
4137
services:
4238
docker:
4339
image: docker:dind # Required for Docker network management
4440
options: --privileged # Required for Docker-in-Docker operations
45-
# Use Docker container only for Python 3.6
46-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4741
steps:
4842
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
49-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
50-
if: ${{ matrix.python-version != '3.6' }}
43+
- name: Setup Python (host for tox + tox-uv)
44+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
5145
with:
52-
python-version: ${{ matrix.python-version }}
53-
allow-prereleases: true
46+
python-version: "3.13"
5447
- name: Setup Test Env
5548
run: |
5649
python -m pip install "coverage[toml]" tox tox-uv
@@ -77,14 +70,8 @@ jobs:
7770
run: |
7871
set -x # print commands that are executed
7972
./scripts/runtox.sh "py${{ matrix.python-version }}-gcp"
80-
- name: Generate coverage XML (Python 3.6)
81-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
82-
run: |
83-
export COVERAGE_RCFILE=.coveragerc36
84-
coverage combine .coverage-sentry-*
85-
coverage xml --ignore-errors
8673
- name: Generate coverage XML
87-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
74+
if: ${{ !cancelled() }}
8875
run: |
8976
coverage combine .coverage-sentry-*
9077
coverage xml

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,13 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
41-
# Use Docker container only for Python 3.6
42-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4337
steps:
4438
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
46-
if: ${{ matrix.python-version != '3.6' }}
39+
- name: Setup Python (host for tox + tox-uv)
40+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4741
with:
48-
python-version: ${{ matrix.python-version }}
49-
allow-prereleases: true
42+
python-version: "3.13"
5043
- name: Setup Test Env
5144
run: |
5245
python -m pip install "coverage[toml]" tox tox-uv
@@ -57,14 +50,8 @@ jobs:
5750
run: |
5851
set -x # print commands that are executed
5952
./scripts/runtox.sh "py${{ matrix.python-version }}-common"
60-
- name: Generate coverage XML (Python 3.6)
61-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
62-
run: |
63-
export COVERAGE_RCFILE=.coveragerc36
64-
coverage combine .coverage-sentry-*
65-
coverage xml --ignore-errors
6653
- name: Generate coverage XML
67-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
54+
if: ${{ !cancelled() }}
6855
run: |
6956
coverage combine .coverage-sentry-*
7057
coverage xml

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
4137
services:
4238
postgres:
@@ -56,15 +52,12 @@ jobs:
5652
SENTRY_PYTHON_TEST_POSTGRES_HOST: ${{ matrix.python-version == '3.6' && 'postgres' || 'localhost' }}
5753
SENTRY_PYTHON_TEST_POSTGRES_USER: postgres
5854
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
59-
# Use Docker container only for Python 3.6
60-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
6155
steps:
6256
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
63-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
64-
if: ${{ matrix.python-version != '3.6' }}
57+
- name: Setup Python (host for tox + tox-uv)
58+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
6559
with:
66-
python-version: ${{ matrix.python-version }}
67-
allow-prereleases: true
60+
python-version: "3.13"
6861
- name: "Setup ClickHouse Server"
6962
uses: getsentry/action-clickhouse-in-ci@5dc8a6a50d689bd6051db0241f34849e5a36490b # v1.7
7063
- name: Setup Test Env
@@ -97,14 +90,8 @@ jobs:
9790
run: |
9891
set -x # print commands that are executed
9992
./scripts/runtox.sh "py${{ matrix.python-version }}-sqlalchemy"
100-
- name: Generate coverage XML (Python 3.6)
101-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
102-
run: |
103-
export COVERAGE_RCFILE=.coveragerc36
104-
coverage combine .coverage-sentry-*
105-
coverage xml --ignore-errors
10693
- name: Generate coverage XML
107-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
94+
if: ${{ !cancelled() }}
10895
run: |
10996
coverage combine .coverage-sentry-*
11097
coverage xml

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,13 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.7","3.8","3.10","3.12","3.13","3.14","3.14t"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
41-
# Use Docker container only for Python 3.6
42-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4337
steps:
4438
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
46-
if: ${{ matrix.python-version != '3.6' }}
39+
- name: Setup Python (host for tox + tox-uv)
40+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4741
with:
48-
python-version: ${{ matrix.python-version }}
49-
allow-prereleases: true
42+
python-version: "3.13"
5043
- name: Setup Test Env
5144
run: |
5245
python -m pip install "coverage[toml]" tox tox-uv
@@ -69,14 +62,8 @@ jobs:
6962
run: |
7063
set -x # print commands that are executed
7164
./scripts/runtox.sh "py${{ matrix.python-version }}-unleash"
72-
- name: Generate coverage XML (Python 3.6)
73-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
74-
run: |
75-
export COVERAGE_RCFILE=.coveragerc36
76-
coverage combine .coverage-sentry-*
77-
coverage xml --ignore-errors
7865
- name: Generate coverage XML
79-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
66+
if: ${{ !cancelled() }}
8067
run: |
8168
coverage combine .coverage-sentry-*
8269
coverage xml

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,13 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.6","3.8","3.10","3.11","3.12"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
41-
# Use Docker container only for Python 3.6
42-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4337
steps:
4438
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
46-
if: ${{ matrix.python-version != '3.6' }}
39+
- name: Setup Python (host for tox + tox-uv)
40+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4741
with:
48-
python-version: ${{ matrix.python-version }}
49-
allow-prereleases: true
42+
python-version: "3.13"
5043
- name: Setup Test Env
5144
run: |
5245
python -m pip install "coverage[toml]" tox tox-uv
@@ -57,14 +50,8 @@ jobs:
5750
run: |
5851
set -x # print commands that are executed
5952
./scripts/runtox.sh "py${{ matrix.python-version }}-gevent"
60-
- name: Generate coverage XML (Python 3.6)
61-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
62-
run: |
63-
export COVERAGE_RCFILE=.coveragerc36
64-
coverage combine .coverage-sentry-*
65-
coverage xml --ignore-errors
6653
- name: Generate coverage XML
67-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
54+
if: ${{ !cancelled() }}
6855
run: |
6956
coverage combine .coverage-sentry-*
7057
coverage xml

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,13 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version: ["3.6","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
36-
# python3.6 reached EOL and is no longer being supported on
37-
# new versions of hosted runners on Github Actions
38-
# ubuntu-20.04 is the last version that supported python3.6
39-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036
os: [ubuntu-22.04]
41-
# Use Docker container only for Python 3.6
42-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4337
steps:
4438
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
46-
if: ${{ matrix.python-version != '3.6' }}
39+
- name: Setup Python (host for tox + tox-uv)
40+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4741
with:
48-
python-version: ${{ matrix.python-version }}
49-
allow-prereleases: true
42+
python-version: "3.13"
5043
- name: Setup Test Env
5144
run: |
5245
python -m pip install "coverage[toml]" tox tox-uv
@@ -69,14 +62,8 @@ jobs:
6962
run: |
7063
set -x # print commands that are executed
7164
./scripts/runtox.sh "py${{ matrix.python-version }}-strawberry"
72-
- name: Generate coverage XML (Python 3.6)
73-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
74-
run: |
75-
export COVERAGE_RCFILE=.coveragerc36
76-
coverage combine .coverage-sentry-*
77-
coverage xml --ignore-errors
7865
- name: Generate coverage XML
79-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
66+
if: ${{ !cancelled() }}
8067
run: |
8168
coverage combine .coverage-sentry-*
8269
coverage xml

0 commit comments

Comments
 (0)