Skip to content

Commit ae382f4

Browse files
authored
Merge branch 'potel-base' into byk/breaking/enableg-cache-spans-default
2 parents 42c3d41 + 32369cb commit ae382f4

File tree

284 files changed

+13299
-13594
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+13299
-13594
lines changed

.coveragerc36

Lines changed: 0 additions & 14 deletions
This file was deleted.

.flake8

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @getsentry/team-web-sdk-backend

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
Thank you for contributing to `sentry-python`! Please add tests to validate your changes, and lint your code using `tox -e linters`.
66

7-
Running the test suite on your PR might require maintainer approval. The AWS Lambda tests additionally require a maintainer to add a special label, and they will fail until this label is added.
7+
Running the test suite on your PR might require maintainer approval.

.github/workflows/release-comment-issues.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
steps:
1818
- name: Get version
1919
id: get_version
20-
run: echo "version=${{ github.event.inputs.version || github.event.release.tag_name }}" >> $GITHUB_OUTPUT
20+
env:
21+
INPUTS_VERSION: ${{ github.event.inputs.version }}
22+
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
23+
run: echo "version=${$INPUTS_VERSION:-$RELEASE_TAG_NAME}" >> "$GITHUB_OUTPUT"
2124

2225
- name: Comment on linked issues that are mentioned in release
2326
if: |
@@ -28,4 +31,4 @@ jobs:
2831
uses: getsentry/release-comment-issues-gh-action@v1
2932
with:
3033
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
version: ${{ steps.get_version.outputs.version }}
34+
version: ${{ steps.get_version.outputs.version }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- name: Get auth token
2222
id: token
23-
uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
23+
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
2424
with:
2525
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2626
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

.github/workflows/scripts/trigger_tests_on_label.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

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

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
python-version: ["3.7","3.9","3.11","3.12"]
33-
# python3.6 reached EOL and is no longer being supported on
34-
# new versions of hosted runners on Github Actions
35-
# ubuntu-20.04 is the last version that supported python3.6
36-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
37-
os: [ubuntu-20.04]
33+
os: [ubuntu-22.04]
3834
steps:
3935
- uses: actions/[email protected]
4036
- uses: actions/setup-python@v5
@@ -67,20 +63,14 @@ jobs:
6763
run: |
6864
set -x # print commands that are executed
6965
./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub-latest"
70-
- name: Generate coverage XML (Python 3.6)
71-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
72-
run: |
73-
export COVERAGE_RCFILE=.coveragerc36
74-
coverage combine .coverage-sentry-*
75-
coverage xml --ignore-errors
7666
- name: Generate coverage XML
77-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
67+
if: ${{ !cancelled() }}
7868
run: |
7969
coverage combine .coverage-sentry-*
8070
coverage xml
8171
- name: Upload coverage to Codecov
8272
if: ${{ !cancelled() }}
83-
uses: codecov/codecov-action@v5.3.1
73+
uses: codecov/codecov-action@v5.4.0
8474
with:
8575
token: ${{ secrets.CODECOV_TOKEN }}
8676
files: coverage.xml
@@ -102,11 +92,7 @@ jobs:
10292
fail-fast: false
10393
matrix:
10494
python-version: ["3.8","3.9","3.11","3.12"]
105-
# python3.6 reached EOL and is no longer being supported on
106-
# new versions of hosted runners on Github Actions
107-
# ubuntu-20.04 is the last version that supported python3.6
108-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
109-
os: [ubuntu-20.04]
95+
os: [ubuntu-22.04]
11096
steps:
11197
- uses: actions/[email protected]
11298
- uses: actions/setup-python@v5
@@ -139,20 +125,14 @@ jobs:
139125
run: |
140126
set -x # print commands that are executed
141127
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-huggingface_hub"
142-
- name: Generate coverage XML (Python 3.6)
143-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
144-
run: |
145-
export COVERAGE_RCFILE=.coveragerc36
146-
coverage combine .coverage-sentry-*
147-
coverage xml --ignore-errors
148128
- name: Generate coverage XML
149-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
129+
if: ${{ !cancelled() }}
150130
run: |
151131
coverage combine .coverage-sentry-*
152132
coverage xml
153133
- name: Upload coverage to Codecov
154134
if: ${{ !cancelled() }}
155-
uses: codecov/codecov-action@v5.3.1
135+
uses: codecov/codecov-action@v5.4.0
156136
with:
157137
token: ${{ secrets.CODECOV_TOKEN }}
158138
files: coverage.xml
@@ -171,7 +151,7 @@ jobs:
171151
needs: test-ai-pinned
172152
# Always run this, even if a dependent job failed
173153
if: always()
174-
runs-on: ubuntu-20.04
154+
runs-on: ubuntu-22.04
175155
steps:
176156
- name: Check for failures
177157
if: contains(needs.test-ai-pinned.result, 'failure') || contains(needs.test-ai-pinned.result, 'skipped')

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

Lines changed: 0 additions & 126 deletions
This file was deleted.

0 commit comments

Comments
 (0)