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.35.2
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.36.0
Choose a head ref
  • 17 commits
  • 20 files changed
  • 4 contributors

Commits on Sep 1, 2025

  1. Merge branch 'release/2.35.2'

    getsentry-bot committed Sep 1, 2025
    Configuration menu
    Copy the full SHA
    d9b8f9d View commit details
    Browse the repository at this point in the history
  2. Update tox.ini (#4731)

    Regular update
    sentrivana authored Sep 1, 2025
    Configuration menu
    Copy the full SHA
    173df64 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2025

  1. toxgen: Add variants & move OpenAI under toxgen (#4730)

    Adds supports for variants, i.e., the same test suite running with a
    slightly different setup (for instance, a different set of dependencies,
    like `openai` and `openai_notiktoken`).
    
    To add a variant, simply add a new test suite to the config.
    
    The tricky part is naming. I had to rename `openai` to `openai_base`
    since otherwise the `openai_notiktoken` and `openai_agents` test suite
    would be run with `tox -e py<version>-openai` / `./scripts/runtox.sh
    py<version>-openai` due to how tox works. They should be treated as
    three different suites.
    
    Closes #4507
    sentrivana authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    1d473b6 View commit details
    Browse the repository at this point in the history
  2. tests: Move langchain under toxgen (#4734)

    - move the langchain test suites to be governed by toxgen
    - this indirectly results in removing the `-latest` tests in the AI
    group 🎉
    - `-latest` tests predate toxgen and langchain was the last non-toxgen
    test suite (the rest was just skipped) -- all AI tests are now pinned
    - updated the naming scheme to use dashes instead of underscores for
    variants so that it's clearer if something is part of the name of the
    integration or if it denotes a variant
    - for instance, `openai-base` means this is the `base` variant of the
    `openai` test suite, but `openai_agents` means this is the
    `openai_agents` test suite (no variant)
    
    I'm explicitly ignoring the two alpha versions of 1.0 since adapting the
    integration to work with those is out of scope: [dedicated
    issue](#4735)
      
    Part of #4506
    sentrivana authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    65755f9 View commit details
    Browse the repository at this point in the history
  3. fix(openai): Avoid double exit causing an unraisable exception (#4736)

    Add parameter to the method capturing exceptions in the OpenAI integration, to determine if the span context is closed with __exit__() or not. The option is used to prevent double exit scenarios when a span context is managed automatically.
    
    Related to: #4723
    alexander-alderman-webb authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    b1a8b63 View commit details
    Browse the repository at this point in the history
  4. tests: Trigger Pytest failure when an unraisable exception occurs (#4738

    )
    
    Set Pytest command-line argument to return non-zero exit code when an unraisable exception is encountered.
    
    Closes #4723.
    alexander-alderman-webb authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    9c4eb5e View commit details
    Browse the repository at this point in the history
  5. Remove old langchain test suites from ignore list (#4737)

    Forgot to remove these two from the toxgen ignore list. Shouldn't have
    any actual effect on tests since the test suites are now called
    differently.
    sentrivana authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    c213abf View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2025

  1. Fix openai_agents in CI (#4742)

    A new version of `openai`, which is a dependency of `openai_agents`,
    [came out an hour ago](https://pypi.org/project/openai/#history), which
    [broke](https://github.com/getsentry/sentry-python/actions/runs/17405958869/job/49410259073)
    our CI. Pinning for now.
    sentrivana authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    4456351 View commit details
    Browse the repository at this point in the history
  2. fix: Constrain types of ai_track decorator (#4745)

    I followed how other functions in the SDK are typed. For example, other
    wrappers have the signature `(F) -> F` for a type variable `F`, although
    here the function can be async as well.
    
    Closes #4663
    alexander-alderman-webb authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    f702ec9 View commit details
    Browse the repository at this point in the history
  3. Wrap span restoration in __exit__ in capture_internal_exceptions (#…

    …4719)
    
    Ref #4718
    
    Does not solve the underlying issue and might leave things in an
    inconsistent state, but it's still preferable to letting an error bubble
    up to the user.
    sentrivana authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    5f2adcf View commit details
    Browse the repository at this point in the history
  4. Don't fail if there is no _context_manager_state (#4698)

    This is not a fix -- it just makes the SDK not propagate an internal SDK exception upwards.
    sentrivana authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    6d6e8a2 View commit details
    Browse the repository at this point in the history
  5. feat(integrations): Add unraisable exception integration (#4733)

    Adds an uncaught exception integration, enabled by default. The
    integration forwards the exception to Sentry only if the exception value
    and stacktrace are set.
    
    Closes #374
    alexander-alderman-webb authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    a6e3b50 View commit details
    Browse the repository at this point in the history
  6. tests: Support dashes in test suite names (#4740)

    - actually support dashes in integration names in `tox.ini`/toxgen
    - make `split_tox_gh_actions.py` actually fail if it fails to parse
    `tox.ini`
    
    Context: `split_tox_gh_actions.py` was actually failing because it
    assumed there can't be dashes in test suite names, but since it was just
    printing the error instead of actually exiting with an error code, we
    didn't notice this in CI.
    sentrivana authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    4e845d5 View commit details
    Browse the repository at this point in the history
  7. tests: Move arq under toxgen (#4739)

    Remove hardcoded arq config, generate with toxgen instead.
    sentrivana authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    7bc91ed View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2025

  1. Configuration menu
    Copy the full SHA
    6f396f4 View commit details
    Browse the repository at this point in the history
  2. release: 2.36.0

    getsentry-bot committed Sep 4, 2025
    Configuration menu
    Copy the full SHA
    c7f3b39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea097ed View commit details
    Browse the repository at this point in the history
Loading