Skip to content

Remove deprecated Python PDF scale parameter#278

Merged
jonmmease merged 4 commits into
mainfrom
jonmmease/remove-python-pdf-scale
May 12, 2026
Merged

Remove deprecated Python PDF scale parameter#278
jonmmease merged 4 commits into
mainfrom
jonmmease/remove-python-pdf-scale

Conversation

@jonmmease

@jonmmease jonmmease commented May 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remove the deprecated Python-only scale keyword from PDF conversion APIs. PDF output is vector output produced through the SVG-to-PDF path, so the old parameter was a compatibility shim that warned for non-1.0 values and did not affect the result.

The sync and asyncio Python bindings, vl_convert.pyi signatures, and tests now treat scale as an unexpected keyword for vega_to_pdf, vegalite_to_pdf, and svg_to_pdf. The CLI README examples no longer show PDF commands with --scale.

The converter test HTTP fixture now uses tiny_http instead of a hand-rolled TCP accept loop, which keeps the URL allowlist tests closer to normal HTTP behavior while staying test-only.

@jonmmease jonmmease changed the title Remove Python PDF scale parameter Remove deprecated Python PDF scale parameter May 12, 2026
@jonmmease jonmmease marked this pull request as ready for review May 12, 2026 14:15
@jonmmease jonmmease merged commit 0ad76bc into main May 12, 2026
12 checks passed
@jonmmease jonmmease deleted the jonmmease/remove-python-pdf-scale branch May 12, 2026 17:19
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.

1 participant