-
Notifications
You must be signed in to change notification settings - Fork 606
Comparing changes
Open a pull request
base repository: getsentry/sentry-python
base: 2.35.2
head repository: getsentry/sentry-python
compare: 2.36.0
- 17 commits
- 20 files changed
- 4 contributors
Commits on Sep 1, 2025
-
getsentry-bot committed
Sep 1, 2025 Configuration menu - View commit details
-
Copy full SHA for d9b8f9d - Browse repository at this point
Copy the full SHA d9b8f9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 173df64 - Browse repository at this point
Copy the full SHA 173df64View commit details
Commits on Sep 2, 2025
-
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
Configuration menu - View commit details
-
Copy full SHA for 1d473b6 - Browse repository at this point
Copy the full SHA 1d473b6View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 65755f9 - Browse repository at this point
Copy the full SHA 65755f9View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b1a8b63 - Browse repository at this point
Copy the full SHA b1a8b63View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 9c4eb5e - Browse repository at this point
Copy the full SHA 9c4eb5eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for c213abf - Browse repository at this point
Copy the full SHA c213abfView commit details
Commits on Sep 3, 2025
-
Fix
openai_agentsin 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.
Configuration menu - View commit details
-
Copy full SHA for 4456351 - Browse repository at this point
Copy the full SHA 4456351View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f702ec9 - Browse repository at this point
Copy the full SHA f702ec9View commit details -
Wrap span restoration in
__exit__incapture_internal_exceptions(#…Configuration menu - View commit details
-
Copy full SHA for 5f2adcf - Browse repository at this point
Copy the full SHA 5f2adcfView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 6d6e8a2 - Browse repository at this point
Copy the full SHA 6d6e8a2View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a6e3b50 - Browse repository at this point
Copy the full SHA a6e3b50View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4e845d5 - Browse repository at this point
Copy the full SHA 4e845d5View commit details -
tests: Move arq under toxgen (#4739)
Remove hardcoded arq config, generate with toxgen instead.
Configuration menu - View commit details
-
Copy full SHA for 7bc91ed - Browse repository at this point
Copy the full SHA 7bc91edView commit details
Commits on Sep 4, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 6f396f4 - Browse repository at this point
Copy the full SHA 6f396f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7f3b39 - Browse repository at this point
Copy the full SHA c7f3b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea097ed - Browse repository at this point
Copy the full SHA ea097edView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.35.2...2.36.0