Repository navigation
Use stdlib compression.zstd, drop zstandard for cp315 wheels (+flare2) - #11
Open
fredericmorin-flare wants to merge 2 commits into
Open
fredericmorin-flare wants to merge 2 commits into
fredericmorin-flare wants to merge 2 commits into
Conversation
* Use compression.zstd (PEP-784) * [autofix.ci] apply automated fixes * Fix coverage issue * pin upper bound --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Maximilian Hils <git@maximilianhils.com> (cherry picked from commit 72995ca)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unblocks pyro's Python 3.15 upgrade for the
python-reloginresolve:zstandardhas no cp315 wheel in any release.72995cab1c), authorship kept.mitmproxy/net/encoding.pyapplied cleanly. Conflicts inpyproject.tomlandCHANGELOG.mdresolved toward the fork: fork pins kept (e.g.asgiref<=3.11.0), upstream'sbackports.zstd>=1.7.0,<=1.7.0 ; python_version<'3.14'added as-is,zstandardremoved; only the Use compression.zstd (PEP-784) mitmproxy/mitmproxy#8397 changelog entry added.13.0.0-dev1+flare1→13.0.0-dev1+flare2.uv.lockregenerated with CI's uv 0.9.2 (lock revision unchanged):backports-zstd 1.7.0added,zstandard 0.25.0removed, nothing else moved.On Python 3.14+ (pyro runs 3.14.9) the stdlib
compression.zstdis used andbackports.zstdis not installed.Tests (CPython 3.14.8, neither zstandard nor backports.zstd installed):
pytest test/mitmproxy/contentviews test/mitmproxy/tools/console/test_flowview.py test/mitmproxy/net test/mitmproxy/test_http.py test/mitmproxy/test_version.py, 398 passed (includestest/mitmproxy/net/test_encoding.py, the only test file touching zstd).🤖 Generated with Claude Code