add Python 3.14 support and bump youtube-transcript-api for compatibility - #2077
Open
Ilya Sh (shatovilya) wants to merge 3 commits into
Open
add Python 3.14 support and bump youtube-transcript-api for compatibility#2077Ilya Sh (shatovilya) wants to merge 3 commits into
Ilya Sh (shatovilya) wants to merge 3 commits into
Conversation
Extend CI testing to Python 3.14, add PyPI classifiers across all packages, document 3.10–3.14 support in the README, and bump Docker images to python:3.14 while keeping requires-python >=3.10. Co-authored-by: Cursor <cursoragent@cursor.com>
…bility Updated youtube-transcript-api dependency from ~=1.0.0 to ~=1.2.3 to ensure compatibility with Python 3.14. Co-authored-by: Cursor <cursoragent@cursor.com>
Author
|
@microsoft-github-policy-service agree |
Resolved conflicts in: - .github/workflows/tests.yml: Added Python 3.14 to matrix strategy (both tests and ocr-tests jobs) - Dockerfile: Updated to python:3.14-slim-trixie (combining PR's 3.14 upgrade with upstream's trixie upgrade) - packages/markitdown-mcp/Dockerfile: Updated to python:3.14-slim-trixie All changes preserve the PR's Python 3.14 support intent while incorporating upstream's latest improvements. Co-authored-by: Ilya Sh <shatovilya@users.noreply.github.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.
Summary
According to the official Python release lifecycle, each feature release has a
limited bugfix window and then transitions to security-only support
(Python Developer Guide: Status of Python versions).
Python 3.13 is approaching that transition window, so this PR proactively adds
first-class Python 3.14 support across the monorepo while preserving backward
compatibility with Python 3.10.
Why now (official Python lifecycle context)
Python branch support phases are defined in the official docs:
References:
This change aligns MarkItDown with the current CPython release cadence and
reduces risk as 3.13 progresses through its support lifecycle.
Changes
packages/markitdownProgramming Language :: Python :: 3.14classifier inpyproject.tomlyoutube-transcript-apifrom~=1.0.0to~=1.2.3for Python 3.14 compatibilitypackages/markitdown-mcp,packages/markitdown-ocr,packages/markitdown-sample-pluginProgramming Language :: Python :: 3.14classifier in eachpyproject.tomlCI (
.github/workflows/tests.yml)3.14to thesetup-pythonmatrix (with 3.10, 3.11, 3.12)Docker
python:3.13-slim-bullseye->python:3.14-slim-bullseyeDockerfileandpackages/markitdown-mcp/DockerfileDocumentation (
README.md)uv venvandconda createexamples to use Python 3.14Test Results
Full suite (
hatch test) was validated locally in Docker across officialpython:X.Y-slim-bookwormimages:Observed result per run: 333 passed, 3 skipped.
Skipped tests (
test_module_misc,test_pdf_memory) are pre-existing andconsistent across all tested Python versions.
Backward Compatibility
requires-python = ">=3.10"remains unchangedChecklist