Skip to content

chore: build with uv, stop shipping tests in wheels, and clean up CI warnings - #1301

Open
marandaneto wants to merge 8 commits into
mainfrom
chore/ci-warnings-cleanup
Open

marandaneto wants to merge 8 commits into
mainfrom
chore/ci-warnings-cleanup

Conversation

@marandaneto

@marandaneto marandaneto commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

💡 Motivation and Context

The latest CI and release logs passed, but they carried warnings worth fixing:

  • The release build ran python setup.py sdist bdist_wheel. setuptools prints setup.py install is deprecated ... This deprecation is overdue on every release, so a future setuptools version could break publishing.
  • setup.py and setup_analytics.py passed license="MIT License" while pyproject.toml sets license = "MIT". Every build and install job printed `license` overwritten by `pyproject.toml`.
  • The public API snapshot job ran pytest without pytest-asyncio, so pytest warned about the unknown asyncio_mode and asyncio_default_fixture_loop_scope options.
  • Each Python test job printed about 250-280 warnings. Most came from tests that call the deprecated single-flag getters on purpose. That noise hides new, real deprecations.
  • On Python 3.14, the Django middleware fallback used asyncio.iscoroutinefunction, which is deprecated and removed in 3.16. Some tests also triggered expected event loop policy and fork() warnings.

The published posthog and posthoganalytics wheels also shipped the whole SDK test suite as posthog.test (148 files, about 2.9 MB of a 5.2 MB unpacked wheel). This was not a deliberate choice. It goes back to the initial commit in 2020, which copied Segment's analytics-python setup (packages=['analytics', 'analytics.test']). Later commits kept adding test packages to the list. Nothing outside the test suite imports these modules, including the PostHog app's use of posthoganalytics.

💚 How did you test it?

  • Built both packages with make build_release and make build_release_analytics, then compared them with the v8.2.0 build from main.
    • Both wheels contain the same files as before, minus posthog/test (or posthoganalytics/test). No other file was added or removed.
    • The source archives no longer contain setup.py. A build from a clean checkout includes no test files in the source archive or the wheel.
    • Package metadata keeps the same Author, Author-email, Maintainer, Maintainer-email and Project-URL values as 8.2.1. pyproject.toml now sets the Author and Maintainer names that used to come from setup.py.
    • The only metadata field that is gone is Home-page. It duplicated Project-URL: Homepage, which has the same URL and is the field newer packaging standards use.
    • twine check passes. The working tree is clean after build_release_analytics.
  • Installed the new wheel on Python 3.10 and imported posthog with warnings turned into errors.
  • Built the compliance adapter Docker image and imported posthog inside it.
  • Ran make prep_local against a scratch copy of the repo and installed the resulting posthoganalytics package.
  • Ran the full posthog/test suite on Python 3.13 with 0 warnings, down from 249. Three fork tests in test_metrics_autocapture.py fail on macOS, and they fail the same way on main.
  • Ran the compliance adapter tests and benchmark controls with no warnings. Ruff, mypy baseline and the public API snapshot check pass.
  • Added tests for the Django fallback. They block the asgiref import and check that async functions and callables marked by older asgiref are both detected as async without deprecation warnings. They pass on Python 3.10, 3.13 and 3.14. The marked-callable test fails against an intermediate version of the fallback that only used inspect.iscoroutinefunction.

📝 Checklist

  • All commits are signed (see Commit signing)
  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

If releasing new changes

  • Ran sampo add to generate a changeset file

Changes

  • Makefile builds both packages with uv build --out-dir dist. setup.py is removed.
  • pyproject.toml lists name-only author and maintainer entries, so the published metadata keeps the Author: Posthog and Maintainer: PostHog fields that setup.py used to set.
  • setup_analytics.py only rewrites pyproject.toml for the posthoganalytics mirror. It no longer calls setup(). make prep_local uses the same script instead of sed edits to setup.py.
  • pyproject.toml drops the posthog.test* packages and excludes test/** from package data. Without the exclusion, setuptools still copies the test files into the wheel as data files of the posthog package. setup_analytics.py applies the same exclusion to posthoganalytics.
  • The compliance adapter Dockerfile no longer copies setup.py.
  • The public API snapshot job installs pytest-asyncio.
  • Test modules that cover the deprecated single-flag getters filter those specific warnings. This follows the existing pattern in test_client.py and test_feature_flags.py. Warning emission is still asserted in test_evaluate_flags.py.
  • The compliance adapter tests and benchmark controls filter the same expected warnings. The benchmark workload uses secret_key instead of the deprecated personal_api_key.
  • Tests that exercise event loop policies or fork() filter those specific warnings.
  • Every filter matches one exact warning message and is scoped to one test or module. There is no global filter, so new warnings and other deprecations still appear in CI. This was checked by emitting new warnings, including another asyncio deprecation and another flag getter deprecation, from the filtered tests.
  • The Django middleware fallback, used only when asgiref is not installed, now uses inspect.iscoroutinefunction. It also accepts callables marked with the _is_coroutine attribute that older asgiref versions set. This keeps the old detection on every Python version without calling the deprecated function.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

  • Written with Pi. It reviewed the latest CI and release logs and investigated why tests ship in the wheel, then made the fixes the maintainer chose.
  • An isolated autoreview flagged that a plain inspect.iscoroutinefunction fallback would stop detecting callables marked by older asgiref versions. The fallback now checks that marker explicitly, and a regression test covers it. The final autoreview reported no findings.
  • The PostHog upgrade workflow uses gh api --paginate --slurp --jq, which gh rejects, so its merge queue check never works. That is left for a separate PR.

@marandaneto marandaneto self-assigned this Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

SDK performance: posthog-python

Benchmarks completed. No changes flagged for review.

Flags require at least a 5% change in the median and all six pairs agreeing on direction. This is a noise filter, not proof of a performance change or a CI gate.

View all results
Test Measurement Before PR With PR Change Assessment
Capture and deliver events (32-byte payload, burst)
Shard: capture
Managed heap after settling — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​; head:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Managed heap after settling — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​; head:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​
Capture and deliver events (32-byte payload, steady)
Shard: capture
Managed heap after settling — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​; head:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Managed heap after settling — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​; head:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​
Queue an event (32-byte payload)
Shard: capture
Allocated memory per operation — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ Background preparation has no public completion boundary before flush; see capture.​drain for full-pipeline allocations.​; head:​ Background preparation has no public completion boundary before flush; see capture.​drain for full-pipeline allocations.​
Queue an event (32-byte payload)
Shard: capture
Allocations per operation — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ Background preparation has no public completion boundary before flush; see capture.​drain for full-pipeline allocations.​; head:​ Background preparation has no public completion boundary before flush; see capture.​drain for full-pipeline allocations.​
Queue an event (4,096-byte payload)
Shard: capture
Allocated memory per operation — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ Background preparation has no public completion boundary before flush; see capture.​drain for full-pipeline allocations.​; head:​ Background preparation has no public completion boundary before flush; see capture.​drain for full-pipeline allocations.​
Queue an event (4,096-byte payload)
Shard: capture
Allocations per operation — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ Background preparation has no public completion boundary before flush; see capture.​drain for full-pipeline allocations.​; head:​ Background preparation has no public completion boundary before flush; see capture.​drain for full-pipeline allocations.​
Evaluate 1,000 flags under concurrent load
Shard: flags-memory
Managed heap after settling — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​; head:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​
Refresh 1,000 flag definitions
Shard: flags-memory
Managed heap after settling — — — unavailable; base:​ unsupported; head:​ unsupported; base:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​; head:​ CPython has no uninstrumented total managed-heap byte counter; tracing would distort this RSS pass.​
Capture and deliver events (32-byte payload, burst)
Shard: capture
Allocated memory per operation 133.67 KiB/op 133.67 KiB/op No observed change Not flagged
Capture and deliver events (32-byte payload, burst)
Shard: capture
Allocations per operation 1,345.51 count/op 1,345.51 count/op No observed change Not flagged
Capture and deliver events (32-byte payload, burst)
Shard: capture
Time per operation 75.92 µs/op 75.7 µs/op 0.3% less time Not flagged
Capture and deliver events (32-byte payload, burst)
Shard: capture
Idle process memory (RSS) 37.54 MiB 37.66 MiB 0.3% more memory Not flagged
Capture and deliver events (32-byte payload, burst)
Shard: capture
Observed peak process memory (RSS) 39.99 MiB 40.11 MiB 0.3% more memory Not flagged
Capture and deliver events (32-byte payload, burst)
Shard: capture
Process memory after settling (RSS) 39.99 MiB 40.11 MiB 0.3% more memory Not flagged
Capture and deliver events (32-byte payload, burst)
Shard: capture
Process CPU time per operation 79.93 µs/op 79.75 µs/op 0.2% less time Not flagged
Capture and deliver events (32-byte payload, burst)
Shard: capture
Lifetime peak process memory (RSS) 40.25 MiB 40.31 MiB 0.1% more memory Not flagged
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Allocated memory per operation 185.75 KiB/op 185.75 KiB/op No observed change Not flagged
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Allocations per operation 1,337.51 count/op 1,337.51 count/op No observed change Not flagged
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Time per operation 96.82 µs/op 97.08 µs/op 0.3% more time Not flagged
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Idle process memory (RSS) 41.25 MiB 41.23 MiB <0.1% less memory Not flagged
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Observed peak process memory (RSS) 47.04 MiB 47.02 MiB <0.1% less memory Not flagged
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Process memory after settling (RSS) 47.04 MiB 47.02 MiB <0.1% less memory Not flagged
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Process CPU time per operation 95.2 µs/op 94.57 µs/op 0.7% less time Not flagged
Capture and deliver events (4,096-byte payload, burst)
Shard: capture
Lifetime peak process memory (RSS) 51.45 MiB 51.4 MiB <0.1% less memory Not flagged
Capture and deliver events (32-byte payload, steady)
Shard: capture
Allocated memory per operation 138.73 KiB/op 138.73 KiB/op No observed change Not flagged
Capture and deliver events (32-byte payload, steady)
Shard: capture
Allocations per operation 1,390.29 count/op 1,390.29 count/op No observed change Not flagged
Capture and deliver events (32-byte payload, steady)
Shard: capture
Time per operation 88.01 µs/op 87.92 µs/op <0.1% less time Not flagged
Capture and deliver events (32-byte payload, steady)
Shard: capture
Idle process memory (RSS) 37.54 MiB 37.5 MiB <0.1% less memory Not flagged
Capture and deliver events (32-byte payload, steady)
Shard: capture
Observed peak process memory (RSS) 37.71 MiB 37.66 MiB 0.1% less memory Not flagged
Capture and deliver events (32-byte payload, steady)
Shard: capture
Process memory after settling (RSS) 37.71 MiB 37.66 MiB 0.1% less memory Not flagged
Capture and deliver events (32-byte payload, steady)
Shard: capture
Process CPU time per operation 90.01 µs/op 90.1 µs/op <0.1% more time Not flagged
Capture and deliver events (32-byte payload, steady)
Shard: capture
Lifetime peak process memory (RSS) 40.25 MiB 40.25 MiB No observed change Not flagged
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Allocated memory per operation 190.9 KiB/op 190.9 KiB/op <0.1% more memory Not flagged
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Allocations per operation 1,382.19 count/op 1,382.2 count/op <0.1% more Not flagged
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Time per operation 105.27 µs/op 105.18 µs/op <0.1% less time Not flagged
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Idle process memory (RSS) 41.03 MiB 41.12 MiB 0.2% more memory Not flagged
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Observed peak process memory (RSS) 41.49 MiB 41.56 MiB 0.2% more memory Not flagged
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Process memory after settling (RSS) 41.09 MiB 41.16 MiB 0.2% more memory Not flagged
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Process CPU time per operation 102.72 µs/op 103.04 µs/op 0.3% more time Not flagged
Capture and deliver events (4,096-byte payload, steady)
Shard: capture
Lifetime peak process memory (RSS) 41.45 MiB 41.52 MiB 0.2% more memory Not flagged
Queue an event (32-byte payload)
Shard: capture
Caller-thread CPU time per operation 57.1 µs/op 56.8 µs/op 0.5% less time Not flagged
Queue an event (32-byte payload)
Shard: capture
Time per operation 57.1 µs/op 56.84 µs/op 0.5% less time Not flagged
Queue an event (4,096-byte payload)
Shard: capture
Caller-thread CPU time per operation 56.97 µs/op 57.42 µs/op 0.8% more time Not flagged
Queue an event (4,096-byte payload)
Shard: capture
Time per operation 56.97 µs/op 57.42 µs/op 0.8% more time Not flagged
Evaluate all 10 flags
Shard: flags-scaling
Allocated memory per operation 225.43 KiB/op 225.43 KiB/op No observed change Not flagged
Evaluate all 10 flags
Shard: flags-scaling
Allocations per operation 2,279.42 count/op 2,279.42 count/op No observed change Not flagged
Evaluate all 10 flags
Shard: flags-scaling
Time per operation 92.7 µs/op 93.4 µs/op 0.8% more time Not flagged
Evaluate all 10 flags
Shard: flags-scaling
Process CPU time per operation 92.7 µs/op 93.4 µs/op 0.8% more time Not flagged
Evaluate all 100 flags
Shard: flags-scaling
Allocated memory per operation 2.17 MiB/op 2.17 MiB/op No observed change Not flagged
Evaluate all 100 flags
Shard: flags-scaling
Allocations per operation 22,413.69 count/op 22,413.69 count/op No observed change Not flagged
Evaluate all 100 flags
Shard: flags-scaling
Time per operation 904.63 µs/op 903.39 µs/op 0.1% less time Not flagged
Evaluate all 100 flags
Shard: flags-scaling
Process CPU time per operation 904.72 µs/op 903.45 µs/op 0.1% less time Not flagged
Evaluate all 1,000 flags
Shard: flags-scaling
Allocated memory per operation 21.63 MiB/op 21.63 MiB/op No observed change Not flagged
Evaluate all 1,000 flags
Shard: flags-scaling
Allocations per operation 223,655.44 count/op 223,655.44 count/op No observed change Not flagged
Evaluate all 1,000 flags
Shard: flags-scaling
Time per operation 9.48 ms/op 9.67 ms/op 2% more time Not flagged
Evaluate all 1,000 flags
Shard: flags-scaling
Process CPU time per operation 9.47 ms/op 9.67 ms/op 2% more time Not flagged
Evaluate 1,000 flags under concurrent load
Shard: flags-memory
Idle process memory (RSS) 43.93 MiB 43.93 MiB No observed change Not flagged
Evaluate 1,000 flags under concurrent load
Shard: flags-memory
Observed peak process memory (RSS) 44.19 MiB 44.18 MiB <0.1% less memory Not flagged
Evaluate 1,000 flags under concurrent load
Shard: flags-memory
Process memory after settling (RSS) 44.19 MiB 44.18 MiB <0.1% less memory Not flagged
Evaluate 1,000 flags under concurrent load
Shard: flags-memory
Lifetime peak process memory (RSS) 43.94 MiB 44.01 MiB 0.2% more memory Not flagged
Refresh 1,000 flag definitions
Shard: flags-memory
Idle process memory (RSS) 43.15 MiB 43.08 MiB 0.2% less memory Not flagged
Refresh 1,000 flag definitions
Shard: flags-memory
Observed peak process memory (RSS) 43.15 MiB 43.09 MiB 0.1% less memory Not flagged
Refresh 1,000 flag definitions
Shard: flags-memory
Process memory after settling (RSS) 43.12 MiB 43.09 MiB <0.1% less memory Not flagged
Refresh 1,000 flag definitions
Shard: flags-memory
Lifetime peak process memory (RSS) 43.47 MiB 42.88 MiB 1.4% less memory Not flagged
Evaluate one boolean flag
Shard: flags-single
Allocated memory per operation 15.74 KiB/op 15.74 KiB/op No observed change Not flagged
Evaluate one boolean flag
Shard: flags-single
Allocations per operation 162.77 count/op 162.77 count/op No observed change Not flagged
Evaluate one boolean flag
Shard: flags-single
Time per operation 8.2 µs/op 8.27 µs/op 0.9% more time Not flagged
Evaluate one boolean flag
Shard: flags-single
Process CPU time per operation 8.2 µs/op 8.27 µs/op 0.9% more time Not flagged
Evaluate a cohort-filtered flag
Shard: flags-single
Allocated memory per operation 24.6 KiB/op 24.6 KiB/op No observed change Not flagged
Evaluate a cohort-filtered flag
Shard: flags-single
Allocations per operation 239.28 count/op 239.28 count/op No observed change Not flagged
Evaluate a cohort-filtered flag
Shard: flags-single
Time per operation 11.45 µs/op 11.41 µs/op 0.3% less time Not flagged
Evaluate a cohort-filtered flag
Shard: flags-single
Process CPU time per operation 11.45 µs/op 11.41 µs/op 0.3% less time Not flagged
Evaluate a flag (early match)
Shard: flags-single
Allocated memory per operation 39.81 KiB/op 39.81 KiB/op No observed change Not flagged
Evaluate a flag (early match)
Shard: flags-single
Allocations per operation 388.27 count/op 388.27 count/op No observed change Not flagged
Evaluate a flag (early match)
Shard: flags-single
Time per operation 16.47 µs/op 16.34 µs/op 0.8% less time Not flagged
Evaluate a flag (early match)
Shard: flags-single
Process CPU time per operation 16.47 µs/op 16.34 µs/op 0.8% less time Not flagged
Evaluate a flag (late match)
Shard: flags-single
Allocated memory per operation 60.59 KiB/op 60.59 KiB/op No observed change Not flagged
Evaluate a flag (late match)
Shard: flags-single
Allocations per operation 584.27 count/op 584.27 count/op No observed change Not flagged
Evaluate a flag (late match)
Shard: flags-single
Time per operation 23.45 µs/op 23.66 µs/op 0.9% more time Not flagged
Evaluate a flag (late match)
Shard: flags-single
Process CPU time per operation 23.45 µs/op 23.66 µs/op 0.9% more time Not flagged
Evaluate a flag (no match)
Shard: flags-single
Allocated memory per operation 59.22 KiB/op 59.22 KiB/op No observed change Not flagged
Evaluate a flag (no match)
Shard: flags-single
Allocations per operation 567.77 count/op 567.77 count/op No observed change Not flagged
Evaluate a flag (no match)
Shard: flags-single
Time per operation 22.19 µs/op 22.16 µs/op 0.1% less time Not flagged
Evaluate a flag (no match)
Shard: flags-single
Process CPU time per operation 22.19 µs/op 22.16 µs/op 0.1% less time Not flagged
Evaluate a property-filtered flag
Shard: flags-single
Allocated memory per operation 19.04 KiB/op 19.04 KiB/op No observed change Not flagged
Evaluate a property-filtered flag
Shard: flags-single
Allocations per operation 192.27 count/op 192.27 count/op No observed change Not flagged
Evaluate a property-filtered flag
Shard: flags-single
Time per operation 9.17 µs/op 9.24 µs/op 0.7% more time Not flagged
Evaluate a property-filtered flag
Shard: flags-single
Process CPU time per operation 9.18 µs/op 9.24 µs/op 0.7% more time Not flagged
Evaluate a regex-filtered flag
Shard: flags-single
Allocated memory per operation 20.66 KiB/op 20.66 KiB/op No observed change Not flagged
Evaluate a regex-filtered flag
Shard: flags-single
Allocations per operation 197.77 count/op 197.77 count/op No observed change Not flagged
Evaluate a regex-filtered flag
Shard: flags-single
Time per operation 9.76 µs/op 9.71 µs/op 0.6% less time Not flagged
Evaluate a regex-filtered flag
Shard: flags-single
Process CPU time per operation 9.76 µs/op 9.71 µs/op 0.6% less time Not flagged
Evaluate a rollout flag
Shard: flags-single
Allocated memory per operation 14.89 KiB/op 14.89 KiB/op No observed change Not flagged
Evaluate a rollout flag
Shard: flags-single
Allocations per operation 152.77 count/op 152.77 count/op No observed change Not flagged
Evaluate a rollout flag
Shard: flags-single
Time per operation 7.72 µs/op 7.7 µs/op 0.3% less time Not flagged
Evaluate a rollout flag
Shard: flags-single
Process CPU time per operation 7.72 µs/op 7.7 µs/op 0.2% less time Not flagged
Evaluate a multivariate flag
Shard: flags-single
Allocated memory per operation 15.9 KiB/op 15.9 KiB/op No observed change Not flagged
Evaluate a multivariate flag
Shard: flags-single
Allocations per operation 166.77 count/op 166.77 count/op No observed change Not flagged
Evaluate a multivariate flag
Shard: flags-single
Time per operation 8.55 µs/op 8.6 µs/op 0.6% more time Not flagged
Evaluate a multivariate flag
Shard: flags-single
Process CPU time per operation 8.55 µs/op 8.6 µs/op 0.6% more time Not flagged

Values are medians of paired measurements. Not flagged does not mean unchanged. Unavailable means a measurement could not be provided, not zero. Estimated allocation measurements retain their instrumentation uncertainty. RSS measures the whole process, not just SDK allocations; observed peaks are sampled checkpoints. Paired ranges in the diagnostics describe variability, not confidence intervals.

Each shard uses its own runner; compare Before PR against With PR within a row, not across shards.

Compared 46a88b5c3701f2c9070284e2bd398c06f037bcdc → be807e112d34de367a3954615575c7126de5b06e.

Full report and diagnostics

102 metric rows; 102 rows shown in all results. Omitted or shortened data remain in comparison.json, including per-runner environments, resource limits, measurement methods, samples and checkpoints.

@marandaneto marandaneto mentioned this pull request Nov 24, 2026
3 of 6 tasks
@marandaneto
marandaneto marked this pull request as ready for review November 24, 2026 13:55
@marandaneto
marandaneto requested a review from a team as a code owner November 24, 2026 13:55
@veria-ai

veria-ai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

PR overview

No security issues were found in this pull request.

Reviews

@dustinbyrne dustinbyrne left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The uv build migration, posthoganalytics mirror build/local-prep scripts (make build_release_analytics and make prep_local), wheel/sdist test exclusions (py.typed retained), warning filters, and the Django middleware asgiref-absent fallback implementation look solid.

Left one inline concern on the new TestCoroutineDetectionWithoutAsgiref test, where warnings.catch_warnings() exits before iscoroutinefunction(...) is invoked.

AI-assisted review.

@dustinbyrne
dustinbyrne requested a review from a team November 24, 2026 14:37

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants