Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getsentry/sentry-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.26.1
Choose a base ref
...
head repository: getsentry/sentry-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.27.0
Choose a head ref
  • 17 commits
  • 42 files changed
  • 9 contributors

Commits on Apr 15, 2025

  1. Merge branch 'release/2.26.1'

    getsentry-bot committed Apr 15, 2025
    Configuration menu
    Copy the full SHA
    b2238ca View commit details
    Browse the repository at this point in the history
  2. tests: Update tox.ini (#4297)

    Regular update
    sentrivana authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    12b3414 View commit details
    Browse the repository at this point in the history
  3. toxgen: Add huey (#4298)

    sentrivana authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    fbf43bd View commit details
    Browse the repository at this point in the history
  4. toxgen: Add huggingface_hub (#4299)

    Also fixes
    ```
    Repository Not Found for url: https://huggingface.co/api/models/some-model.
    Please make sure you specified the correct `repo_id` and `repo_type`.
    If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
    Invalid username or password.
    FAILED tests/integrations/huggingface_hub/test_huggingface_hub.py::test_span_origin - huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-67fe4547-10b0ce8f541a41c37ead3b2a;afe45d5d-3af1-45cd-a39a-c8ef4a5211c3)
    ```
    which started popping up on huggingface_hub 0.30.
    sentrivana authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    0851458 View commit details
    Browse the repository at this point in the history
  5. toxgen: Migrate fastapi (#4302)

    With this we've migrated the whole Web 1 group, yay! So the whole
    `-latest` category is gone for Web 1, too.
    
    Also removed some `pytest.mark.asyncio`s on sync tests.
    sentrivana authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    e6c8798 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2025

  1. Configuration menu
    Copy the full SHA
    8632281 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2025

  1. toxgen: Remove unused code and rerun (#4313)

    Noticed some unused code in toxgen, probably the result of a bad merge?
    sentrivana authored Apr 17, 2025
    Configuration menu
    Copy the full SHA
    815de9f View commit details
    Browse the repository at this point in the history
  2. feat(spans): Record flag evaluations as span attributes (#4280)

    Flags evaluated within a span are appended to the span as attributes.
    
    ---------
    
    Co-authored-by: Daniel Szoke <[email protected]>
    cmanallen and szokeasaurusrex authored Apr 17, 2025
    Configuration menu
    Copy the full SHA
    f3687fc View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2025

  1. test(logs): Avoid failure when running with integrations enabled (#4316)

    When (at least) one of integrations is enabled (because some
    dependencies are installed in the environment), `sentry.sdk.name` is
    changed from `sentry.python` to
    `sentry.python.[FIRST_ENABLED_INTEGRATION]` which makes
    `test_logs_attributes` fail. Prevent failure by relaxing the check.
    
    This change is beneficial not only for packaging (this patch was
    required for packaging for Fedora), but also for running tests with
    `pytest` directly.
    
    <!-- Describe your PR here -->
    
    ---
    
    Thank you for contributing to `sentry-python`! Please add tests to
    validate your changes, and lint your code using `tox -e linters`.
    
    Running the test suite on your PR might require maintainer approval.
    rominf authored Apr 22, 2025
    Configuration menu
    Copy the full SHA
    c361337 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 (#4318)

    Bumps
    [codecov/codecov-action](https://github.com/codecov/codecov-action) from
    5.4.0 to 5.4.2.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/codecov/codecov-action/releases">codecov/codecov-action's
    releases</a>.</em></p>
    <blockquote>
    <h2>v5.4.2</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>fix: hotfix oidc by <a
    href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
    in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1813">codecov/codecov-action#1813</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/codecov/codecov-action/compare/v5.4.1...v5.4.2">https://github.com/codecov/codecov-action/compare/v5.4.1...v5.4.2</a></p>
    <h2>v5.4.1</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>build(deps): bump github/codeql-action from 3.28.10 to 3.28.11 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1786">codecov/codecov-action#1786</a></li>
    <li>chore(release): wrapper -0.2.1 by <a
    href="https://github.com/codecov-releaser-app"><code>@​codecov-releaser-app</code></a>
    in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1788">codecov/codecov-action#1788</a></li>
    <li>build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1798">codecov/codecov-action#1798</a></li>
    <li>build(deps): bump github/codeql-action from 3.28.11 to 3.28.12 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1797">codecov/codecov-action#1797</a></li>
    <li>build(deps): bump github/codeql-action from 3.28.12 to 3.28.13 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1803">codecov/codecov-action#1803</a></li>
    <li>fix: use the github core methods by <a
    href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
    in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1807">codecov/codecov-action#1807</a></li>
    <li>chore(release): 5.4.1 by <a
    href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
    in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1810">codecov/codecov-action#1810</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/codecov/codecov-action/compare/v5.4.0...v5.4.1">https://github.com/codecov/codecov-action/compare/v5.4.0...v5.4.1</a></p>
    <h2>v5.4.1-beta</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>build(deps): bump github/codeql-action from 3.28.10 to 3.28.11 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1786">codecov/codecov-action#1786</a></li>
    <li>chore(release): wrapper -0.2.1 by <a
    href="https://github.com/codecov-releaser-app"><code>@​codecov-releaser-app</code></a>
    in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1788">codecov/codecov-action#1788</a></li>
    <li>build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1798">codecov/codecov-action#1798</a></li>
    <li>build(deps): bump github/codeql-action from 3.28.11 to 3.28.12 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1797">codecov/codecov-action#1797</a></li>
    <li>build(deps): bump github/codeql-action from 3.28.12 to 3.28.13 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1803">codecov/codecov-action#1803</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/codecov/codecov-action/compare/v5.4.0...v5.4.1-beta">https://github.com/codecov/codecov-action/compare/v5.4.0...v5.4.1-beta</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md">codecov/codecov-action's
    changelog</a>.</em></p>
    <blockquote>
    <h2>v5.4.2</h2>
    <h3>What's Changed</h3>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/codecov/codecov-action/compare/v5.4.1..v5.4.2">https://github.com/codecov/codecov-action/compare/v5.4.1..v5.4.2</a></p>
    <h2>v5.4.1</h2>
    <h3>What's Changed</h3>
    <ul>
    <li>fix: use the github core methods by <a
    href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
    in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1807">codecov/codecov-action#1807</a></li>
    <li>build(deps): bump github/codeql-action from 3.28.12 to 3.28.13 by
    <code>@​app/dependabot</code> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1803">codecov/codecov-action#1803</a></li>
    <li>build(deps): bump github/codeql-action from 3.28.11 to 3.28.12 by
    <code>@​app/dependabot</code> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1797">codecov/codecov-action#1797</a></li>
    <li>build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 by
    <code>@​app/dependabot</code> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1798">codecov/codecov-action#1798</a></li>
    <li>chore(release): wrapper -0.2.1 by
    <code>@​app/codecov-releaser-app</code> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1788">codecov/codecov-action#1788</a></li>
    <li>build(deps): bump github/codeql-action from 3.28.10 to 3.28.11 by
    <code>@​app/dependabot</code> in <a
    href="https://redirect.github.com/codecov/codecov-action/pull/1786">codecov/codecov-action#1786</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/codecov/codecov-action/compare/v5.4.0..v5.4.1">https://github.com/codecov/codecov-action/compare/v5.4.0..v5.4.1</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/codecov/codecov-action/commit/ad3126e916f78f00edff4ed0317cf185271ccc2d"><code>ad3126e</code></a>
    fix: hotfix oidc (<a
    href="https://redirect.github.com/codecov/codecov-action/issues/1813">#1813</a>)</li>
    <li><a
    href="https://github.com/codecov/codecov-action/commit/cf3f51a67d2820f7a7cefa0831889fbbef41ca57"><code>cf3f51a</code></a>
    chore(release): 5.4.1 (<a
    href="https://redirect.github.com/codecov/codecov-action/issues/1810">#1810</a>)</li>
    <li><a
    href="https://github.com/codecov/codecov-action/commit/e4cdaba82f2510a623b98430c48d84b0d8764a4f"><code>e4cdaba</code></a>
    fix: use the github core methods (<a
    href="https://redirect.github.com/codecov/codecov-action/issues/1807">#1807</a>)</li>
    <li><a
    href="https://github.com/codecov/codecov-action/commit/f95a404f9265da16dee374e6e9dcb76d3eee88b1"><code>f95a404</code></a>
    build(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (<a
    href="https://redirect.github.com/codecov/codecov-action/issues/1803">#1803</a>)</li>
    <li><a
    href="https://github.com/codecov/codecov-action/commit/ea99328d1c4d5f39fda7cbffe104afd6906c50b0"><code>ea99328</code></a>
    build(deps): bump github/codeql-action from 3.28.11 to 3.28.12 (<a
    href="https://redirect.github.com/codecov/codecov-action/issues/1797">#1797</a>)</li>
    <li><a
    href="https://github.com/codecov/codecov-action/commit/13d0469d01f6a59fcfbc75f685ac31aa0cae3aef"><code>13d0469</code></a>
    build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 (<a
    href="https://redirect.github.com/codecov/codecov-action/issues/1798">#1798</a>)</li>
    <li><a
    href="https://github.com/codecov/codecov-action/commit/3440e5ef70c638a9f44602a80ab017feee1309fe"><code>3440e5e</code></a>
    chore(release): wrapper -0.2.1 (<a
    href="https://redirect.github.com/codecov/codecov-action/issues/1788">#1788</a>)</li>
    <li><a
    href="https://github.com/codecov/codecov-action/commit/cd4e7cf31ae2a4bcefb694e31a62869ebbd161af"><code>cd4e7cf</code></a>
    build(deps): bump github/codeql-action from 3.28.10 to 3.28.11 (<a
    href="https://redirect.github.com/codecov/codecov-action/issues/1786">#1786</a>)</li>
    <li>See full diff in <a
    href="https://github.com/codecov/codecov-action/compare/v5.4.0...v5.4.2">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=codecov/codecov-action&package-manager=github_actions&previous-version=5.4.0&new-version=5.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Anton Pirker <[email protected]>
    dependabot[bot] and antonpirker authored Apr 22, 2025
    Configuration menu
    Copy the full SHA
    11e2648 View commit details
    Browse the repository at this point in the history
  3. Make all relevant types public (#4315)

    Make types that users can use when configuring the SDK public. 
    
    Accompaniyng docs update:
    getsentry/sentry-docs#13437
    
    Fixes #4127
    antonpirker authored Apr 22, 2025
    Configuration menu
    Copy the full SHA
    d1819c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b96e2b6 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2025

  1. tests: Fix version picking in toxgen (#4323)

    Toxgen should only consider the highest patch release of each
    `major.minor` version. For the most part this was working fine as long
    as the releases were ordered as expected in PyPI, but in cases where a
    lower patch version succeeded a higher patch version in the release list
    from PyPI, we would incorrectly consider the lower patch version as
    well, instead of ignoring it in favor of the higher patch.
    
    Example:
    - we pull releases `[1.2.3, 1.2.4, 1.2.5, 1.2.2]` from PyPI (in that
    order)
    - we consolidate `1.2.3, 1.2.4, 1.2.5` into one version, `1.2.5`, as
    expected
    - `1.2.2` will not disappear into `1.2.5` because of a faulty check in
    toxgen and will instead be considered as a new version
    - our resulting list of releases eligible for testing will be `[1.2.5,
    1.2.2]` instead of just `[1.2.5]`, which then results in picking
    versions that are not nicely spaced apart
    sentrivana authored Apr 23, 2025
    Configuration menu
    Copy the full SHA
    434e8af View commit details
    Browse the repository at this point in the history
  2. tests: Move aiohttp under toxgen (#4319)

    Depends on #4323
    sentrivana authored Apr 23, 2025
    Configuration menu
    Copy the full SHA
    2c3776c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbb41a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2025

  1. release: 2.27.0

    getsentry-bot committed Apr 24, 2025
    Configuration menu
    Copy the full SHA
    049f2a0 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    sentrivana authored Apr 24, 2025
    Configuration menu
    Copy the full SHA
    919bdea View commit details
    Browse the repository at this point in the history
Loading