feat: add benchmarks, patch security vulns (lxml, pytest), and bump to v0.2.0#36
Merged
Conversation
…external URL and upgrade pylint for Python 3.14 compatibility
… CI failures due to test dependencies
Signed-off-by: avishaycohen <avishay.c@gmail.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.
Overview
This PR introduces performance benchmarking capabilities, addresses critical security vulnerabilities in our dependencies, and modernizes the build environment by officially dropping end-of-life Python versions. Because of the change in supported Python versions, this includes a bump to
v0.2.0.Key Changes
🚀 Features & Benchmarks
bench_mpd_parser.py,bench_mpegdash.py) to easily compare performance against thempegdashpackage.README.mdwith benchmark results demonstrating thatmpd-parseris significantly faster.🛡️ Security & Dependencies
6.1.0to address critical security flaws in4.9.2.9.0.3to resolve the insecure temporary directory handling vulnerability (CVE-2025-71176).4.0.5to fix compatibility issues and syntax deprecations when linting in modern Python versions (e.g., Python 3.14).⚙️ Build & CI Updates
pytestandpylintdependencies).setup.cfgandpyproject.tomlto specifypython_requires = >=3.10.pylint.yml,pytest.yml) to run against Python3.10,3.11,3.12, and3.13.0.2.0reflecting the breaking change in Python compatibility.🧪 Test Stability
test_parse_from_url_mpd_tagwhich was failing due to a403 Forbiddenerror on a dead external bitmovin URL.http.serverthread to serve a local manifest file and validates URL fetching over a real HTTP socket without requiring external network access.Testing
pylintlocally, scoring9.64/10(passing the--fail-under 9threshold).pytestlocally; all 80 tests pass successfully.