ref: Drop 3.6 in new major - #6904
Conversation
Codecov Results 📊✅ 89557 passed | ❌ 1 failed | ⏭️ 5464 skipped | Total: 95022 | Pass Rate: 94.25% | Execution Time: 326m 60s 📊 Comparison with Base Branch
➕ New Tests (1)View new tests
❌ Failed Tests
|
| File | Patch % | Lines |
|---|---|---|
| sentry_sdk/integrations/aws_lambda.py | 0.00% |
Coverage diff
@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.92% 90.00% +0.08%
==========================================
Files 193 186 -7
Lines 24825 23703 -1122
Branches 8912 8558 -354
==========================================
+ Hits 22321 21332 -989
- Misses 2504 2371 -133
- Partials 1414 1376 -38Generated by Codecov Action
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e4667d4. Configure here.
### Description Drop the contextvars compatibility layer that supported Python 3.6 (aiocontextvars), old gevent (<20.9.0), and old greenlet (<0.5). Warn if using an older version of either during setup. This allows us to remove the whole machinery around checking whether contextvars are safe to use and replacing them if not. Note: 3.6 tests are expected to fail on this. They'll be dropped in #6904 #### Issues Closes #5037

Description
Drop 3.6 from tests, utils, etc.
CI failures should be unrelated (coming from toxgen update, once fixed on master they'll resolve here as well).
Ignore the diff size; it's mostly tox.ini and friends.
Issues
Closes #5040
Reminders
uv run ruff.feat:,fix:,ref:,meta:)