Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
e83239c
meta: Prepare initial migration guide
sentrivana Oct 24, 2025
ac3c02b
feat: Turn unraisable exception integration on by default (#5044)
alexander-alderman-webb Oct 30, 2025
18dbeae
fix: Do not raise from None (#5709)
alexander-alderman-webb Mar 19, 2026
30fef6f
Remove suppress_chained_exceptions
sentrivana Jul 28, 2026
52f44e7
Merge branch 'master' into major/3.0
sentrivana Jul 28, 2026
6f54839
Merge branch 'master' into major/3.0
sentrivana Jul 28, 2026
55852b9
docs: Add changes to migration guide (#6914)
sentrivana Jul 29, 2026
eb8a968
ref: Drop hub related code in new major (#6919)
sentrivana Jul 29, 2026
8043783
ref(strawberry): Take out of auto-enabling integrations (#6928)
sentrivana Jul 29, 2026
123c214
ref: Remove transaction profiler in new major (#6921)
sentrivana Jul 29, 2026
17094d7
ref: Remove experimental potel integration (#6931)
sentrivana Jul 29, 2026
4702caa
ref: Remove old OTel support code (#6935)
sentrivana Jul 29, 2026
0ead246
Merge branch 'master' into major/3.0
sentrivana Jul 30, 2026
6e737c9
ref: Remove deprecated `set_measurement` in new major (#6941)
sentrivana Jul 30, 2026
0125904
ref: Remove `push_scope`, `configure_scope` in new major (#6944)
sentrivana Jul 30, 2026
5ea58ef
ref: Remove `enable_tracing` in new major (#6943)
sentrivana Jul 30, 2026
f67953a
ref: Remove `propagate_traces` in new major (#6945)
sentrivana Jul 30, 2026
2a338a0
ref: Drop support for legacy `failed_request_status_codes` format in …
sentrivana Jul 30, 2026
4373f14
ref: Slim down extras in new major (#6942)
sentrivana Jul 30, 2026
79fef22
Merge branch 'master' into major/3.0
sentrivana Jul 31, 2026
cf5ec00
ref: Remove Spotlight Django integration in new major (#6968)
sentrivana Jul 31, 2026
5991a1d
Merge branch 'master' into major/3.0
sentrivana Aug 3, 2026
13c58b2
Merge branch 'master' into major/3.0
sentrivana Aug 3, 2026
49a2a7d
Merge branch 'master' into major/3.0
sentrivana Aug 3, 2026
87ec6e1
Merge branch 'master' into major/3.0
sentrivana Aug 4, 2026
f355378
ref: Drop 3.6 in new major (#6904)
sentrivana Aug 4, 2026
c93541c
ref: Remove contextvars compatibility code in new major (#6918)
sentrivana Aug 4, 2026
f16d440
ref: Drop support for Django <2.0 in new major (#6969)
sentrivana Aug 4, 2026
f885be9
ref: Drop Celery < 5.0 (#7001)
sentrivana Aug 4, 2026
de8652b
ref: Enforce minimum version in integrations (#7015)
sentrivana Aug 4, 2026
0656f38
ref: Drop SQLAlchemy < 1.4 (#7003)
sentrivana Aug 4, 2026
6b1e8a1
ref: Drop Flask < 2 (#7002)
sentrivana Aug 5, 2026
edbabcf
ref: Drop Falcon < 3.0 (#7004)
sentrivana Aug 5, 2026
d04c21c
Remove superfluous >=3.7 bounds from toxgen config
sentrivana Aug 5, 2026
8e128aa
ref: Drop aiohttp < 3.7 (#7007)
sentrivana Aug 5, 2026
d6827b0
ref(launchdarkly): Remove __init__ from integration (#7041)
sentrivana Aug 5, 2026
1692cad
Merge branch 'master' into major/3.0
sentrivana Aug 5, 2026
016adb6
ref: Drop Chalice < 1.22 (#7009)
sentrivana Aug 5, 2026
13d3009
ref: Drop trytond < 5.4 (#7042)
sentrivana Aug 5, 2026
dcb27f4
ref(tornado): Remove unused compat code (#7043)
sentrivana Aug 5, 2026
5b95258
ref: Drop Starlette < 0.20, fastapi < 0.85 (#7044)
sentrivana Aug 5, 2026
286f3fb
Merge branch 'master' into major/3.0
sentrivana Aug 5, 2026
221f372
ref(sanic): Drop < 22 (#7045)
sentrivana Aug 5, 2026
caccdff
chore(quart): Drop support for <0.19 (#7048)
sentrivana Aug 5, 2026
a43b144
ref(rq): Drop support for < 1.0 (#7047)
sentrivana Aug 5, 2026
7cb0db2
chore(pyramid): Drop < 2.0 (#7049)
sentrivana Aug 6, 2026
8064571
fix: Integration support fixes (#7055)
sentrivana Aug 6, 2026
feead7f
Merge branch 'master' into major/3.0
sentrivana Aug 6, 2026
7a21034
chore(strawberry): Remove guard (#7057)
sentrivana Aug 6, 2026
aa010c6
chore: Remove `ai_track` decorator (#7061)
sentrivana Aug 6, 2026
2bd56bc
chore: Drop eventlet from conftest (#7060)
sentrivana Aug 6, 2026
36a17e7
chore(redis): Drop support for < 4.2 (#7058)
sentrivana Aug 6, 2026
0dd95b9
Merge branch 'master' into major/3.0
sentrivana Aug 6, 2026
7fc50e9
chore: Clean up profiler interface (#7062)
sentrivana Aug 6, 2026
74bbd38
test: Clean up tests (#7063)
sentrivana Aug 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .coveragerc36

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/test-integrations-agents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
python-version: ["3.10","3.11","3.12","3.13","3.14","3.14t"]
os: [ubuntu-22.04]
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-integrations-ai-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
python-version: ["3.9","3.10","3.11","3.12","3.13","3.14"]
os: [ubuntu-22.04]
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-integrations-ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
python-version: ["3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
os: [ubuntu-22.04]
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-integrations-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
os: [ubuntu-22.04]
services:
docker:
image: docker:dind # Required for Docker network management
options: --privileged # Required for Docker-in-Docker operations
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-integrations-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
os: [ubuntu-22.04]
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/test-integrations-dbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
os: [ubuntu-22.04]
services:
postgres:
Expand Down Expand Up @@ -45,14 +45,14 @@ jobs:
ports:
- 3306:3306
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
SENTRY_PYTHON_TEST_POSTGRES_HOST: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'postgres' || 'localhost' }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
SENTRY_PYTHON_TEST_POSTGRES_HOST: ${{ (matrix.python-version == '3.7') && 'postgres' || 'localhost' }}
SENTRY_PYTHON_TEST_POSTGRES_USER: postgres
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
SENTRY_PYTHON_TEST_MYSQL_USER: root
SENTRY_PYTHON_TEST_MYSQL_PASSWORD: sentry
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
Expand All @@ -61,10 +61,10 @@ jobs:
enable-cache: false
- name: "Setup ClickHouse Server"
uses: getsentry/action-clickhouse-in-ci@5dc8a6a50d689bd6051db0241f34849e5a36490b # v1.7
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand All @@ -89,10 +89,6 @@ jobs:
run: |
set -x # print commands that are executed
./scripts/runtox.sh "py${{ matrix.python-version }}-redis"
- name: Test redis_py_cluster_legacy
run: |
set -x # print commands that are executed
./scripts/runtox.sh "py${{ matrix.python-version }}-redis_py_cluster_legacy"
- name: Test sqlalchemy
run: |
set -x # print commands that are executed
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-integrations-flags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
python-version: ["3.7","3.8","3.10","3.12","3.13","3.14","3.14t"]
os: [ubuntu-22.04]
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-integrations-gevent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6","3.8","3.10","3.11","3.12"]
python-version: ["3.7","3.8","3.10","3.11","3.12"]
os: [ubuntu-22.04]
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-integrations-graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
os: [ubuntu-22.04]
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-integrations-mcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
python-version: ["3.10","3.12","3.13","3.14","3.14t"]
os: [ubuntu-22.04]
env:
# 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
# 3.7 runs in the python:X.Y container; tell uv to use that system Python.
TOX_UV_PYTHON_PREFERENCE: ${{ (matrix.python-version == '3.7') && 'only-system' || 'managed' }}
container: ${{ (matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: false
- name: Mark workspace safe for git (3.6/3.7 container)
- name: Mark workspace safe for git (3.7 container)
# needed to make git rev-parse work in the containers
# subprocesses (e.g. sentry_sdk.utils.get_git_revision) can run git.
if: ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
if: ${{ matrix.python-version == '3.7' }}
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup Test Env
run: |
Expand Down
Loading
Loading